public class WicketContainerResolver extends Object implements IComponentResolver
...
...
Notice that we had to attach the repeater to a component tag - in this case a span
,
but a span is not a legal tag to nest under table
. So we can rewrite the example as
following:
...
...
The above is valid markup because wicket namespaced tags are allowed anywhereConstructor and Description |
---|
WicketContainerResolver() |
Modifier and Type | Method and Description |
---|---|
Component |
resolve(MarkupContainer container,
MarkupStream markupStream,
ComponentTag tag)
Try to resolve a component.
|
public static final String CONTAINER
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.