public abstract class JspFlatSectionLayoutDecorator extends FlatSectionLayoutDecorator<javax.servlet.jsp.tagext.Tag,javax.servlet.jsp.tagext.BodyTag,MetawidgetTag>
Note: it is not clear it is possible to implement a JspNestedSectionLayoutDecorator
,
because the JSP component model does not allow adding children to tags.
FlatSectionLayoutDecorator.State
Modifier | Constructor and Description |
---|---|
protected |
JspFlatSectionLayoutDecorator(LayoutDecoratorConfig<javax.servlet.jsp.tagext.Tag,javax.servlet.jsp.tagext.BodyTag,MetawidgetTag> config) |
Modifier and Type | Method and Description |
---|---|
protected String[] |
getSections(Map<String,String> attributes) |
protected FlatSectionLayoutDecorator.State |
getState(javax.servlet.jsp.tagext.BodyTag containerTag,
MetawidgetTag metawidgetTag) |
protected boolean |
isIgnored(javax.servlet.jsp.tagext.Tag tag)
Returns
true if the given widget should be ignored, and no section heading
created for it. |
protected String |
stripSection(Map<String,String> attributes) |
addSectionWidget, layoutWidget, startContainerLayout
endContainerLayout, getDelegate, onEndBuild, onStartBuild
protected JspFlatSectionLayoutDecorator(LayoutDecoratorConfig<javax.servlet.jsp.tagext.Tag,javax.servlet.jsp.tagext.BodyTag,MetawidgetTag> config)
protected String stripSection(Map<String,String> attributes)
stripSection
in class FlatSectionLayoutDecorator<javax.servlet.jsp.tagext.Tag,javax.servlet.jsp.tagext.BodyTag,MetawidgetTag>
protected String[] getSections(Map<String,String> attributes)
getSections
in class FlatSectionLayoutDecorator<javax.servlet.jsp.tagext.Tag,javax.servlet.jsp.tagext.BodyTag,MetawidgetTag>
protected FlatSectionLayoutDecorator.State getState(javax.servlet.jsp.tagext.BodyTag containerTag, MetawidgetTag metawidgetTag)
getState
in class FlatSectionLayoutDecorator<javax.servlet.jsp.tagext.Tag,javax.servlet.jsp.tagext.BodyTag,MetawidgetTag>
protected boolean isIgnored(javax.servlet.jsp.tagext.Tag tag)
FlatSectionLayoutDecorator
true
if the given widget should be ignored, and no section heading
created for it. For example, the widget might be an empty Stub widget.
Subclasses should override this method and return true
if the widget is some
other kind of ignored component (eg. HtmlInputHidden
).
isIgnored
in class FlatSectionLayoutDecorator<javax.servlet.jsp.tagext.Tag,javax.servlet.jsp.tagext.BodyTag,MetawidgetTag>
Copyright © 2015. All Rights Reserved.