| |
|
| org.apache.beehive.netui.tags.AbstractClassicTag org.apache.beehive.netui.tags.template.Section
Section | public class Section extends AbstractClassicTag implements TemplateConstants(Code) | | Used within a content page to provide content for a placeholder
section defined within a template. The body content of the tag
is passed to the IncludeSection tag in the template
providing the content for that section.
If the name attribute matches a
name attribute on a
IncludeSection tag in the template, the body
content of this tag will be rendered.
IncludeSectionTemplate |
Method Summary | |
public int | doEndTag() Stores the buffered body content into the TEMPLATE_SECTIONS
HashMap . | public int | doStartTag() Causes the content of the section to be rendered into a buffer. | public String | getTagName() Returns the name of the Tag. | protected void | localRelease() Resets all of the fields of the tag. | public void | setName(String name) Sets the name of the placeholder section defined in
the template that this tag is providing content for.
This name is matched against the IncludeSection
name. | public void | setVisible(boolean visible) Sets the visible state of the tag. |
doEndTag | public int doEndTag() throws JspException(Code) | | Stores the buffered body content into the TEMPLATE_SECTIONS
HashMap . The buffered body is
accessed by the template page to obtain
the content for IncludeSection tags.
EVAL_PAGE to continue evaluating the page. throws: JspException - on error. |
doStartTag | public int doStartTag() throws JspException(Code) | | Causes the content of the section to be rendered into a buffer.
SKIP_BODY if the visible state is false ,otherwise EVAL_BODY_BUFFERED to cause the body content to be buffered. throws: JspException - if there are errors. |
getTagName | public String getTagName()(Code) | | Returns the name of the Tag. This is used to
identify the type of tag reporting errors.
a constant string representing the name of the tag. |
localRelease | protected void localRelease()(Code) | | Resets all of the fields of the tag.
|
setName | public void setName(String name)(Code) | | Sets the name of the placeholder section defined in
the template that this tag is providing content for.
This name is matched against the IncludeSection
name. If the names match, the content of this tag will be
rendered within the template's section.
Parameters: name - The name of an IncludeSection thethis tag is providing content for. |
setVisible | public void setVisible(boolean visible)(Code) | | Sets the visible state of the tag.
Parameters: visible - Boolean value representing the visible state. |
|
|
|