RE: Dynamically set isRequired() field on a componentn

2009-07-24 Thread Joel Barciauskas
n1.getInput() != null && pin1.getInput().trim().length() >0; } }.setRequired(true); From: jpalmer1...@mchsi.com [mailto:jpalmer1...@mchsi.com] Sent: Friday, July 24, 2009 10:20 PM To: users@wicket.apache.org Su

Dynamically set isRequired() field on a componentn

2009-07-24 Thread jpalmer1026
I'm trying to dynamically set the isRequired() field for a component, but not sure how to do so. For example, in the following example, I'd like to set the streetAddress component to be required if the pin1 field has data entered for it. My first attempt (which doesn't work since it's binding