Hi all,
I have a DatePicker within a form which I want to disable when I press a 
certain radio,
but it seems impossible to disable this trigger button.
The DatePicker provides no getter to this button, and it is private and 
Since wicket specifically sets the id of this image I tried adding an 
AttributeModifier with a name:

endDatePicker.get("trigger").add(new AttributeModifier("name", true, new 

Next I called a javascript that  looks for this element by name and sets 
the disabled attribute to true.

However, clicking this image continues to open the calendar.
How can I prevent the calendar from opening ?


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
Wicket-user mailing list

Reply via email to