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
public class BorderMarkupSourcingStrategy extends AssociatedMarkupSourcingStrategy
The Border component's markup sourcing strategy- Author:
- Juergen Donnerstag
-
-
Constructor Summary
Constructors Constructor Description BorderMarkupSourcingStrategy()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IMarkupFragment
getMarkup(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 Detail
-
BorderMarkupSourcingStrategy
public BorderMarkupSourcingStrategy()
Constructor.
-
-
Method Detail
-
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:
Component.onComponentTagBody(MarkupStream, ComponentTag)
-
getMarkup
public IMarkupFragment getMarkup(MarkupContainer container, Component child)
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:
MarkupContainer.getMarkup(Component)
-
-