myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julian Ray" <julianj...@yahoo.com>
Subject RE: How to write a customized valdation, that validate by comparing one field to another_
Date Thu, 04 May 2006 09:59:13 GMT
+1 for validateCompareTo. This is an extremely useful validator which we use
extensively. 

-----Original Message-----
From: Volker Weber [mailto:users.myfaces@weber-oldenburg.de] 
Sent: Thursday, May 04, 2006 3:46 AM
To: MyFaces Discussion
Subject: Re: How to write a customized valdation, that validate by comparing
one field to another_

Hi,

there is a validateCompareTo tag in sandbox

http://myfaces.apache.org/sandbox/validateCompareTo.html
http://myfaces.apache.org/sandbox/tlddoc/s/validateCompareTo.html


Regards,
  Volker


Le Van wrote:
> You could do it using validator. Read "*JavaServer Faces" of Hans
> Bergsten.*
> Bjørn T Johansen wrote:
> 
>> I need to validate two fields on my webpage, two dates, and I need to 
>> check if one date is greater than the other. Is this possible? Have I 
>> access to the other fields from within my validate method or is there 
>> another way of doing this (or do I have to check this in my save 
>> method)?
>>
>>
>> Regards,
>>
>> BTJ
>>
>>  
>>
> 

--
Don't answer to From: address!
Mail to this account are droped if not recieved via mailinglist.
To contact me direct create the mail address by concatenating my forename to
my senders domain.


Mime
View raw message