FileDocCategorySizeDatePackage
ClosingUIBean.javaAPI DocExample2329Mon Jul 23 13:26:36 BST 2007org.apache.struts2.components

ClosingUIBean

public abstract class ClosingUIBean extends UIBean
ClosingUIBean is the standard superclass for UI components such as div etc.

Fields Summary
private static final Log
LOG
String
openTemplate
Constructors Summary
protected ClosingUIBean(com.opensymphony.xwork2.util.ValueStack stack, HttpServletRequest request, HttpServletResponse response)


           
        super(stack, request, response);
    
Methods Summary
public abstract java.lang.StringgetDefaultOpenTemplate()

public voidsetOpenTemplate(java.lang.String openTemplate)

        this.openTemplate = openTemplate;
    
public booleanstart(java.io.Writer writer)

        boolean result = super.start(writer);
        try {
            evaluateParams();

            mergeTemplate(writer, buildTemplateName(openTemplate, getDefaultOpenTemplate()));
        } catch (Exception e) {
            LOG.error("Could not open template", e);
            e.printStackTrace();
        }

        return result;