add(new textfield(..) { isvisible() { return
getsession.getstyle().equals("foo"); }});-igor On Thu, Jun 25, 2009 at 8:41 PM, Andrew Berman<[email protected]> wrote: > I am using Wicket 1.3 and was wondering if there is a way to hide components > in the HTML itself. Here's the issue, say I have two forms and two > different styles. In one style I want to display all the form fields, > however in the other one I want to display only a couple of them. I > currently have two HTML files, one for each style, but I can't seem to find > a way to hide the form fields aside from using CSS and adding display:none. > Is that the only way to do it? > > Thanks! > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
