2009/3/17 Linda van der Pal <[email protected]>:
> It sounds like you want something like this:
>
> File.html:
>
> <div wicket:id="label">dadada</div>
>
>
> File.java:
> boolean again = false; // put your logic here
> if (again) {
>   add(new Label("label", "Very well!");
> } else {
>   add(new Label("label", "Very good!");
> }
>

I should prefer than "Very well" and "Very good" are in a html file,
or part of html file with some wicket mark inside.

For instance, something like :
add(new Panel("label", <a reference in a wicket html file>);

Thanks in advance.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to