You might want to check out Wicketopia.  It has logic for handling
this kind of stuff and it might even do some of it automatically for
you.

http://wicketopia.sourceforge.net/

Download it from SVN, build it, and run the example application.
There is an example in there that hides/shows the "SSN" field based
upon whether or not the logged in user is an "admin."

On Thu, Jun 9, 2011 at 4:10 AM, Madan Mohan <mmo...@educator.eu> wrote:
> Hi,
>        I am using <wicket:enclosure>to hide some rows in a table.
>
> Take for ex.,
>         <tr><td> Phone: <span wicket:id="phoneNumber"/></td>
> </tr>
>         <wicket:enclosure>
>                    <tr><td> Fax: <span wicket:id="faxNumber"td></tr>
>         </wicket:enclosure>
>
> Initially faxNumber is *not visible*. So the faxNumber row is not rendered.
> Later based on some user action, i want to make faxNumber to *visible*.
>
> How to do this?
>
>
> --
>
> regards,
> *Madan*
> *www.educator.eu*
>

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

Reply via email to