Methods Summary |
---|
public int | doEndTag()
component.end(pageContext.getOut(), getBody());
component = null;
return EVAL_PAGE;
|
public int | doStartTag()
component = getBean(getStack(), (HttpServletRequest) pageContext.getRequest(), (HttpServletResponse) pageContext.getResponse());
Container container = Dispatcher.getInstance().getContainer();
container.inject(component);
populateParams();
boolean evalBody = component.start(pageContext.getOut());
if (evalBody) {
return component.usesBody() ? EVAL_BODY_BUFFERED : EVAL_BODY_INCLUDE;
} else {
return SKIP_BODY;
}
|
public abstract org.apache.struts2.components.Component | getBean(com.opensymphony.xwork2.util.ValueStack stack, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
|
public org.apache.struts2.components.Component | getComponent()
return component;
|
protected void | populateParams()
component.setId(id);
|