public final class InlineEnclosureHandler extends AbstractMarkupFilter implements IComponentResolver
<tr
wicket:enclosure="controllingChildId">
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.InlineEnclosure
,
Serialized FormModifier and Type | Field and Description |
---|---|
static String |
INLINE_ENCLOSURE_ATTRIBUTE_NAME
Attribute to identify inline enclosures
|
static String |
INLINE_ENCLOSURE_ID_PREFIX
The Component id prefix.
|
REQUEST_COUNTER_KEY
Constructor and Description |
---|
InlineEnclosureHandler()
Construct.
|
InlineEnclosureHandler(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, setNextFilter
public static final String INLINE_ENCLOSURE_ID_PREFIX
public static final String INLINE_ENCLOSURE_ATTRIBUTE_NAME
public InlineEnclosureHandler()
public InlineEnclosureHandler(MarkupResourceStream resourceStream)
protected MarkupElement onComponentTag(ComponentTag tag) throws ParseException
AbstractMarkupFilter
By default this method is also called for WicketTags.
onComponentTag
in class AbstractMarkupFilter
ParseException
public Component resolve(MarkupContainer container, MarkupStream markupStream, ComponentTag tag)
IComponentResolver
resolve
in interface IComponentResolver
container
- The container parsing its markupmarkupStream
- The current markupStreamtag
- The current component tag while parsing the markupnull
if not foundCopyright © 2006–2022 Apache Software Foundation. All rights reserved.