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 Form| Modifier 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.
|
| 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, getWicketNamespace, getWicketNamespace, nextElement, onSpecialTag, postProcess, setNextFilterpublic 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
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–2014 Apache Software Foundation. All rights reserved.