...
wicket:id="ID_HERE" - Used on any tag that we want Wicket to replaceelement to which you want to add a component.
Code Block | ||||
---|---|---|---|---|
| ||||
<span wicket:id="hellotext">Hello World</span>>Hello</span> |
The value of the attribute is duplicated in the java code:
Code Block | ||||
---|---|---|---|---|
| ||||
add(new Label("hellotext", "Hello World"));</code>
|
Attribute wicket:message
wicket:message="attribute:resource_identifier" - Used on any tag that we want Wicket to provide an attribute with a value that's the result of a resource lookup.
...
Code Block | ||||
---|---|---|---|---|
| ||||
<html xmlns:wicket="http://wicket.sourceforge.net/"> <body> <wicket:panel> PANEL CONTENT HERE </wicket:panel> </body> </html> |
...
Elements wicket:border and wicket:body
<wicket:border> and <wicket:body> - (I think this is the same as wicket:panel, except a border is drawn by default; verify).
...
<wicket:remove> - Wicket will remove this content in the final markup. This is useful for when you want your web designer to be able to show repeated content when they're working on it, but you want to generate at that content using a ListView (or other loop).
Element wicket:head
<wicket:head>* - Used for header contributions. Using this, panels can add header sections to the pages they are place on. For instance:
...