add(new Component("id") {
    @override public boolean isVisible() { return someCondition; }
});


On 3/14/08, Mathias P.W Nilsson <[EMAIL PROTECTED]> wrote:
>
>  I have a question about conditional markup.
>
>  There are many scenarios where we put labels if some conditions are meet.
>  How do I do this the best way.
>
>  Example
>  If document is under update
>   show image that displays that a new version is under process
>
>
>  What is the wicket way of doing this?
>
> --
>  View this message in context: 
> http://www.nabble.com/Conditional-markup-tp16048105p16048105.html
>  Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Buy Wicket in Action: http://manning.com/dashorst
Apache Wicket 1.3.1 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.1

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to