Eelco,
Thanks. That helps a lot.
Gj
It is passed in the constructor. Look at this:
public WicketExampleHeader(String id, String exampleTitle, WebPage
page)
{
super(id);
add(new InspectorBug("inspector", page));
add(new Label("exampleTitle", exampleTitle));
Yo
It is passed in the constructor. Look at this:
public WicketExampleHeader(String id, String exampleTitle, WebPage page)
{
super(id);
add(new InspectorBug("inspector", page));
add(new Label("exampleTitle", exampleTitle));
You can see
It is a parameter to constructor of the examples header component.It is constructed in the base page of the examples by looking at the package name of the examples.See: WicketExamplePage's constructors
MartijnOn 5/9/06, Geertjan Wielenga <[EMAIL PROTECTED]> wrote:
Hi all,In the Wicket examples, the
Hi all,
In the Wicket examples, there's this Label component:
add(new Label("exampleTitle", exampleTitle));
And this is rendered like this:
Example Title Goes Here
However, I don't understand where the value comes from. In other words,
where is "exampleTitle" defined???
Gj
--