Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSF 1.0 and output_errors

 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to figure out what the <hutput_errors/> has been replaced with in the 1.0 final. I tried <hutputErrors/> 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
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 234
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Greg,
Threw me too...
singular error messages...
<h:message for=... />
all errors
<h:messages/>
Hope this helps!
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic