On 17-Apr-09, at 1:00 AM, Subramanian Murali wrote:
Hi,
I am a new wicket user.
How do we include / exclude content or components in pages based on
conditions.
What is the equivalent in Wicket to the if tag in the JSTL tag
library?
The reason i ask this question is because irrespective of whether i
add the
component in the page, i need to have the markup for the component
in the
HTML.
Thanks in advance for the answers.
Thanks,
Subbu.
Take a look at Component#setOutputMarkupPlaceholderTag(boolean) as
well, very useful in situations where you want to have something
invisible, then add a bunch of stuff to it through an ajax call and
have that stuff "show up".
Craig.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]