There’s no documentation for it https://cwiki.apache.org/WICKET/wickets-xhtml-tags.html#Wicket%2527sXHTMLtags-Attributewicket%253Ascope. Does it work only for components?
There’s no documentation for it https://cwiki.apache.org/WICKET/wickets-xhtml-tags.html#Wicket%2527sXHTMLtags-Attributewicket%253Ascope . Does it work only for components?
Share
What does wicket:scope attribute do?
The HtmlHeaderContainer class documents the wicket:scope attribute:
It is further documented in the HeaderPartContainer class simply stating that it is “A kind of namespace.”
Does it work only for components?
The wicket:scope attribute is used only for the tag. The tag should only be used in “Panels, Borders and inherited markup (of Panels, Borders and Pages)”, as documented in the HtmlHeaderContainer class level javadoc.
In short, the answer to your question is no, the attribute can be used within tags inside of Pages that inherit markup from a parent. The implication here is that a tag only makes sense where you wouldn’t just use a tag (meaning in the base page html file).