__
From: Gregg Bolinger [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 21, 2006 5:15 PM
To: MyFaces Discussion
Subject: Re: Typical Validation Issues
Geez. Ok. Thanks. I noticed that the only time my validation method is
being called is when the category name input field has a value in
, 2006
5:15 PMTo: MyFaces DiscussionSubject: Re: Typical
Validation Issues
Geez. Ok. Thanks. I noticed that the only time my
validation method is being called is when the category name input field has a
value in it. When it is empty my validation method isn't even
called. D
ed to invalidate each component by getting it from
tree or by using a binding.
From: Gregg Bolinger
[mailto:[EMAIL PROTECTED]] Sent:
Wednesday, June 21, 2006
11:04 AMTo: MyFaces DiscussionSubject: Re: Typical
Validation Issues
Thanks for the code. The problem though is if I leave the
required=&q
o: MyFaces DiscussionSubject: Re: Typical
Validation Issues
Thanks for the code. The problem though is if I leave the
required="true" attribute on the input field, even with the custom validation,
the commandLinks still trigger the validation. If I remove
required="true" f
;
}
[3] In
your JSP use the validation="" attribute with a method binding to the method
defined in [2]. For example
From: Gregg Bolinger
[mailto:[EMAIL PROTECTED]] Sent:
Wednesday, June 21, 2006
10:04 AMTo: MyFaces DiscussionSubject: Re: Typical
Validation Issue
ionBean().getCustomerId(), uic,
o.toString(), "*");
}
[3] In
your JSP use the validation="" attribute with a method binding to the method
defined in [2]. For example
From: Gregg Bolinger
[mailto:[EMAIL PROTECTED] Sent: Wednesday, June 21, 2006
10:04 AMTo: MyFaces
preference).
From: Gregg Bolinger
[mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 21, 2006
9:49 AMTo: MyFaces DiscussionSubject: Typical Validation
Issues
I am facing a pretty typical JSF validation issue. I have a
list of commandLinks which are Categories. On the right side of the page I
preference).
From: Gregg Bolinger
[mailto:[EMAIL PROTECTED] Sent: Wednesday, June 21, 2006
9:49 AMTo: MyFaces DiscussionSubject: Typical Validation
Issues
I am facing a pretty typical JSF validation issue. I have a
list of commandLinks which are Categories. On the right side of the page I
have a
I am facing a pretty typical JSF validation issue. I have a list of commandLinks which are Categories. On the right side of the page I have a form with details about the category. You can also use this form to add or update a category.
Obviously, the category name is required. But since it is b
9 matches
Mail list logo