Re: Typical Validation Issues

2006-06-22 Thread Andrew Robinson
__ 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

RE: Typical Validation Issues

2006-06-21 Thread Jesse Alexander \(KSFD 121\)
, 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

Re: Typical Validation Issues

2006-06-21 Thread Gregg Bolinger
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

RE: Typical Validation Issues

2006-06-21 Thread Julian Ray
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

Re: Typical Validation Issues

2006-06-21 Thread Gregg Bolinger
; } [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

RE: Typical Validation Issues

2006-06-21 Thread Julian Ray
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

Re: Typical Validation Issues

2006-06-21 Thread Gregg Bolinger
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

RE: Typical Validation Issues

2006-06-21 Thread Julian Ray
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

Typical Validation Issues

2006-06-21 Thread Gregg Bolinger
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