public final class EnclosureHandler extends AbstractMarkupFilter implements IComponentResolver
<wicket:enclosure child="xxx"> than more than just one wicket component inside
the enclosure tags are allowed and the child component which determines the visibility of the
enclosure is identified by the 'child' attribute value which must be equal to the relative child
id path.Enclosure,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static String |
CHILD_ATTRIBUTE
The child attribute
|
static String |
ENCLOSURE |
REQUEST_COUNTER_KEY| Constructor and Description |
|---|
EnclosureHandler()
Construct.
|
EnclosureHandler(MarkupResourceStream resourceStream) |
| Modifier and Type | Method and Description |
|---|---|
protected MarkupElement |
onComponentTag(ComponentTag tag)
Invoked when a ComponentTag was found.
|
Component |
resolve(MarkupContainer container,
MarkupStream markupStream,
ComponentTag tag)
Try to resolve a component.
|
getMarkupResourceStream, getNextFilter, getRequestUniqueId, getWicketNamespace, getWicketNamespace, nextElement, onSpecialTag, postProcess, setNextFilterpublic static final String ENCLOSURE
public static final String CHILD_ATTRIBUTE
public EnclosureHandler()
public EnclosureHandler(MarkupResourceStream resourceStream)
protected final MarkupElement onComponentTag(ComponentTag tag) throws ParseException
AbstractMarkupFilterBy default this method is also called for WicketTags.
onComponentTag in class AbstractMarkupFilterParseExceptionpublic Component resolve(MarkupContainer container, MarkupStream markupStream, ComponentTag tag)
IComponentResolverresolve in interface IComponentResolvercontainer - The container parsing its markupmarkupStream - The current markupStreamtag - The current component tag while parsing the markupnull if not foundCopyright © 2006–2021 Apache Software Foundation. All rights reserved.