| Author |
JSF 1.0 and output_errors
|
Gregg Bolinger
Ranch Hand
Joined: Jul 11, 2001
Posts: 15230
|
|
I am trying to figure out what the <h utput_errors/> has been replaced with in the 1.0 final. I tried <h utputErrors/> but I get an error No tag "outputErrors" defined in tag library imported with prefix "h" Which I assume means this tag doesn't exist. I have added <f:validateLength...> to my login username and password fields. Now I just need to spit out the errors if data is not entered correctly. Thanks. [ March 04, 2004: Message edited by: Gregg Bolinger ]
|
 |
Gregg Bolinger
Ranch Hand
Joined: Jul 11, 2001
Posts: 15230
|
|
Ok, I figured out that <h:messages/> does what I want. Sort of... I need to figure out how to make it say specifically what field didn't validate. Off to the spec PDF again.... If anyone has any insight, that would be great.
|
 |
Bill Dudney
Author
Ranch Hand
Joined: Sep 05, 2003
Posts: 234
|
|
Hi Greg, Threw me too... singular error messages... <h:message for=... /> all errors <h:messages/> Hope this helps!
|
TTFN,<br /> <br />-bd-<br /> <br /><a href="http://www.amazon.com/exec/obidos/ASIN/0471449156/qid=1064343733/sr=2-1/ref=sr_2_1/002-8375300-3666449" target="_blank" rel="nofollow">Jakarta Pitfalls</a> | <a href="http://www.amazon.com/exec/obidos/tg/detail/-/0471146153/qid=1064343733/sr=1-2/ref=sr_1_2/002-8375300-3666449?v=glance&s=books" target="_blank" rel="nofollow">J2EE AntiPatterns</a> | <a href="http://www.amazon.com/exec/obidos/tg/detail/-/0471462071/qid=1064343733/sr=1-3/ref=sr_1_3/002-8375300-3666449?v=glance&s=books" target="_blank" rel="nofollow">Mastering JavaServer Faces</a> | <a href="http://bill.dudney.net/roller/page/bill" target="_blank" rel="nofollow">Blog</a> | <a href="http://www.jroller.com/page/BillDudney" target="_blank" rel="nofollow">Eclipse Blog</a> | <a href="http://www.sourcebeat.com/TitleAction.do?id=2" target="_blank" rel="nofollow">Eclipse 3 Live</a>
|
 |
Gregg Bolinger
Ranch Hand
Joined: Jul 11, 2001
Posts: 15230
|
|
Originally posted by Bill Dudney: Hi Greg, Threw me too... singular error messages... <h:message for=... /> all errors <h:messages/> Hope this helps!
Ahhhhh, the h:message for=.. is exactly what I need. Thanks.
|
 |
 |
|
|
subject: JSF 1.0 and output_errors
|
|
|