Rahul Juneja
ThoughtClicks - http://techlabs.thoughtclicks.com
jaime collins wrote:I am wondering the same thing.
<h:outputText value="passwords must be 6 characters long." rendered="#{facesContext.messages.contains(INVALID_PASS)}" />
In other words, I would like to render the above output if an only if facesContext.getMessages contained the message INVALID PASSWORD. Which was set when the password validator determined that the password entered was not in correct format.
This has nothing to do with page validation!! So, checking if fields are null dont apply to this problem.
Any ideas?
Experience keeps a dear School, but Fools will learn in no other.
---
Benjamin Franklin - Postal official and Weather observer
Independent Programmer - Technology Enthusiast - JUG Leader from JUG Joglosemar
Benny Bottema wrote:
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |