Re: [Wicket-user] enable/disable form controls

2006-02-26 Thread Johan Compagner
If you really want to do it client side. Why don't you it completely at the client side?If the rendered state always have to be calculated then you have to use attributemodifiers.Because if you do comp.setEnabled (false) and on the client side you just make it true in a scriptthen you still can't p

[Wicket-user] enable/disable form controls

2006-02-26 Thread Nili Adoram
Hi All, Suppose I have two check boxes , A and B, in a single page form. When the page is first rendered, A and B should be enabled/disabled according to some logic. When the user selects A I want B to be enabled as well, without round trip to the server, which means JavaScript code, of course.