Class BorderMarkupSourcingStrategy
java.lang.Object
org.apache.wicket.markup.html.panel.AbstractMarkupSourcingStrategy
org.apache.wicket.markup.html.panel.AssociatedMarkupSourcingStrategy
org.apache.wicket.markup.html.panel.BorderMarkupSourcingStrategy
- All Implemented Interfaces:
IMarkupSourcingStrategy
The Border component's markup sourcing strategy
- Author:
- Juergen Donnerstag
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetMarkup
(MarkupContainer container, Component child) Return null and thus useBorder.getMarkup(child)
to provide the Markupvoid
onComponentTagBody
(Component component, MarkupStream markupStream, ComponentTag openTag) Skip the components body which is expected to be raw markup only (no wicket components).Methods inherited from class org.apache.wicket.markup.html.panel.AssociatedMarkupSourcingStrategy
findMarkupInAssociatedFileHeader, onComponentTag, renderAssociatedMarkup, renderHead, renderHeadFromAssociatedMarkupFile
Methods inherited from class org.apache.wicket.markup.html.panel.AbstractMarkupSourcingStrategy
searchInNestedTransparentResolvers, searchMarkupInTransparentResolvers
-
Constructor Details
-
BorderMarkupSourcingStrategy
public BorderMarkupSourcingStrategy()Constructor.
-
-
Method Details
-
onComponentTagBody
public void onComponentTagBody(Component component, MarkupStream markupStream, ComponentTag openTag) Description copied from class:AbstractMarkupSourcingStrategy
Skip the components body which is expected to be raw markup only (no wicket components). It will be replaced by the associated markup.- Specified by:
onComponentTagBody
in interfaceIMarkupSourcingStrategy
- Overrides:
onComponentTagBody
in classAbstractMarkupSourcingStrategy
- Parameters:
component
- The component calling the strategy- See Also:
-
getMarkup
Return null and thus useBorder.getMarkup(child)
to provide the Markup- Specified by:
getMarkup
in interfaceIMarkupSourcingStrategy
- Overrides:
getMarkup
in classAssociatedMarkupSourcingStrategy
- Parameters:
container
- The container expected to contain the markup for childchild
- The child component to find the markup for- Returns:
- The markup associated with the child
- See Also:
-