| Method from org.apache.tiles.jsp.taglib.RenderTagSupport Detail: |
public int doStartTag() throws JspException {
super.doStartTag();
return isAccessAllowed() ? EVAL_BODY_BUFFERED : SKIP_BODY;
}
|
protected void execute() throws IOException, JspException, TilesException {
if (preparer != null) {
container.prepare(preparer, pageContext);
}
render();
if (flush) {
pageContext.getOut().flush();
}
}
Execute the tag by invoking the preparer, if defined, and then
rendering. |
public String getPreparer() {
return preparer;
}
Returns the preparer name. |
public boolean isFlush() {
return flush;
}
Returns the flush flag. If true, current page out stream
is flushed before insertion. |
public boolean isIgnore() {
return ignore;
}
Returns the ignore flag. If it is set to true, and the attribute
specified by the name does not exist, simply return without writing
anything. The default value is false, which will cause a runtime
exception to be thrown. |
public void processNestedTag(PutAttributeTag nestedTag) {
Attribute attribute = new Attribute(
nestedTag.getValue(), nestedTag.getRole(),
AttributeType.getType(nestedTag.getType()));
attributeContext.putAttribute(
nestedTag.getName(),
attribute
);
}
Process nested ≶put> tag.
Places the value of the nested tag within the
org.apache.tiles.AttributeContext .It is the responsibility
of the descendent to check security. Tags extending
the ContainerTagSupport will automatically provide
the appropriate security.
|
public void release() {
preparer = null;
flush = false;
ignore = false;
super.release();
}
|
abstract protected void render() throws IOException, JspException, TilesException
Render the specified content. |
public void setFlush(boolean flush) {
this.flush = flush;
}
Sets the flush flag. If true, current page out stream
is flushed before insertion. |
public void setIgnore(boolean ignore) {
this.ignore = ignore;
}
Sets the ignore flag. If this attribute is set to true, and the attribute
specified by the name does not exist, simply return without writing
anything. The default value is false, which will cause a runtime
exception to be thrown. |
public void setPreparer(String preparer) {
this.preparer = preparer;
}
|