Then you do indeed have to work with the visibility.
Ista Pouss wrote:
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]
------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.278 / Virus Database: 270.11.16/2006 - Release Date: 03/17/09 07:23:00
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]