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 IMarkupFragmentgetMarkup(MarkupContainer container, Component child)Return null and thus useBorder.getMarkup(child)to provide the MarkupvoidonComponentTagBody(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
-
-
-
-
Method Detail
-
onComponentTagBody
public void onComponentTagBody(Component component, MarkupStream markupStream, ComponentTag openTag)
Description copied from class:AbstractMarkupSourcingStrategySkip the components body which is expected to be raw markup only (no wicket components). It will be replaced by the associated markup.- Specified by:
onComponentTagBodyin interfaceIMarkupSourcingStrategy- Overrides:
onComponentTagBodyin 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:
getMarkupin interfaceIMarkupSourcingStrategy- Overrides:
getMarkupin 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)
-
-