Re: Struts 2 - Conditional Validation

2008-12-13 Thread ManiKanta G
Hi, > Thanks for the reply. Checkbox always has a value of true/false. > Well this is not case with all the frameworks... Truly speaking browser will send only the field name and value to the server (along with some headers). But S2 deals in this way such that checkbox will have false if it was

RE: Struts 2 - Conditional Validation

2008-12-12 Thread Richa Pandharikar
7; Subject: RE: Struts 2 - Conditional Validation Hi ManiKanta, Thanks for the reply. Checkbox always has a value of true/false. Below is the validation entry which is working for me - Error Message. Regards, Richa -Origin

RE: Struts 2 - Conditional Validation

2008-12-12 Thread Richa Pandharikar
...@gmail.com] Sent: Thursday, December 11, 2008 10:28 PM To: Struts Users Mailing List Subject: Re: Struts 2 - Conditional Validation > > (checkbox == true) and (textbox).equals("") > Unless u wrote ur custom validator dealig the 'checkbox == true' compari

Re: Struts 2 - Conditional Validation

2008-12-11 Thread ManiKanta G
> > (checkbox == true) and (textbox).equals("") > Unless u wrote ur custom validator dealig the 'checkbox == true' comparison, by default these type of comparisons will not work. You have to specify the check box's value (check box based which you want to perform conditional v

Struts 2 - Conditional Validation

2008-12-11 Thread Richu
) and (textbox).equals("") Please enter Clock Number. Can anyone help me? I am using struts ver 2.0.14. -- View this message in context: http://www.nabble.com/Struts-2---Conditional-Validation-tp20964764p20964764.html Sent from the Struts - User ma