Hi,

Use panels, and instantiate either one type or another on the java side. Then your content will change.

Cheers,


Ista Pouss wrote:
Hi,

What is the best technique to do some "if" "else" and so on with wicket ?

I need a html with something like that (stupid and naïve approch) :

<wicket:if (something = toto)>
 <div> do this thing</div>
<wicket:else if (something = foo)>
 <p><a href="error.html">It's not good</a></p>
<wicket:else if (something = other)>
 <div>render other</div>

How to do that with wicket ?

Thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to