Override appendOptionHtml in a DropDownChoice with setRequired(true)
Hi, I am using Wicket 1.3 beta3. I want to have a mandatory DDC in a WizardStep so I have ddc.setRequired(true). I've overridden appendOptionHtml to handle the option rendering and I noticed that whenever I submit the step with a valid selection on the DDC, I get a feedback error message saying that the DDC field is mandatory. If I don't override the appendOptionHtml method the behavior is as expected. Is this a bug? florin -- View this message in context: http://www.nabble.com/Override-appendOptionHtml-in-a-DropDownChoice-with-setRequired%28true%29-tf4515329.html#a12878901 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Override appendOptionHtml in a DropDownChoice with setRequired(true)
sounds to me like you are not overriding it correctly. -igor On 9/25/07, bebetu [EMAIL PROTECTED] wrote: Hi, I am using Wicket 1.3 beta3. I want to have a mandatory DDC in a WizardStep so I have ddc.setRequired(true). I've overridden appendOptionHtml to handle the option rendering and I noticed that whenever I submit the step with a valid selection on the DDC, I get a feedback error message saying that the DDC field is mandatory. If I don't override the appendOptionHtml method the behavior is as expected. Is this a bug? florin -- View this message in context: http://www.nabble.com/Override-appendOptionHtml-in-a-DropDownChoice-with-setRequired%28true%29-tf4515329.html#a12878901 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]