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
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
...@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
>
>
(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
) 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
5 matches
Mail list logo