Thanks for the answer.
I'm trying this, but it is not working properly
<field name="telefonos">
<field-validator type="fieldexpression">
<![CDATA[#paciente.telefonoMobil = 0 || #paciente.telefonoFixo
= 0 ]]>
<message>eeei</message>
</field-validator>
</field>
I have two numeric textfields.... any idea??
jake-65 wrote:
>
> You can use the fieldexpression validator. See
> http://struts.apache.org/2.1.8.1/docs/fieldexpression-validator.html for
> details.
>
> On Tue, Jul 13, 2010 at 05:39:52AM -0700, kisja wrote:
>>
>> I have two textfield and I would like to validate that at least one of
>> both
>> have data.
>> How I can do?
>>
>> (I apologize for my bad English)
>>
>> Thanks
>> --
>> View this message in context:
>> http://old.nabble.com/Struts2-validation-tp29149892p29149892.html
>> Sent from the Struts - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>
--
View this message in context:
http://old.nabble.com/Struts2-validation-tp29149892p29159311.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]