[prev in list] [next in list] [prev in thread] [next in thread]
List: myfaces-user
Subject: Re: How do I validate a group of fields?
From: Mike Kienenberger <mkienenb () gmail ! com>
Date: 2009-11-23 16:18:48
Message-ID: 8f985b960911230818s10fc809ej44c3ecf8bd8ee5b9 () mail ! gmail ! com
[Download RAW message or body]
Have you looked at validateCompareTo (CompareToValidator) that I
mentioned earlier? That would be one of the things you can use it
for. Something like this.
<text2/>
<text2>
<validateCompareTo for=text3 operation="ne"/>
</text2>
<text1>
<validateCompareTo for=text2 operation="ne"/>
<validateCompareTo for=text3 operation="ne"/>
</text1>
On Mon, Nov 23, 2009 at 10:06 AM, laredotornado <laredotornado@gmail.com> wrote:
>
> Hi,
>
> I'm using MyFaces 1.1.6 with Tomahawk 1.1.9. I have 3 text fields, each
> representing a date string, on my JSF page. I want to validate that each is
> unique. Right now, I have this logic in my controller, but I would like the
> errors to display along side other validation errors in my page. How should
> I go about making this happen -- that is, getting the errors to appear
> during the validation phase of my page?
>
> - Dave
> --
> View this message in context: \
> http://old.nabble.com/How-do-I-validate-a-group-of-fields--tp26479639p26479639.html \
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic