aspose file tools*
The moose likes JSF and the fly likes Question success validation message Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Question success validation message" Watch "Question success validation message" New topic
Author

Question success validation message

jules poit
Greenhorn

Joined: Oct 06, 2009
Posts: 9
Hello guys

I have a little question on the validation in JSF, I googled it but there is not much information :/

Basically I have a form, and I am doing a basic validation :




Everything is working how it should when the information are not inputed with the good values, but when all the values are good, I would like to display a message on the same page like : "Modifications applied", but I do not know how to do that :-/ I am seeing a passedLabel in the messages but how should I use that ?

Thanks for your help
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15628
    
  15



I keep a special utility class for stuff like this. It allows me to keep JSF-specific code out of my backing beans, which makes it easier to test them and to use them for non-JSF purposes.


Customer surveys are for companies who didn't pay proper attention to begin with.
jules poit
Greenhorn

Joined: Oct 06, 2009
Posts: 9
Thanks for your answer,
I looked at it at I did exactly like that, I created a class that will handle all the messages for my project, and It is working great !

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Question success validation message
 
Similar Threads
sequence of invoking modal windows in jsf
ArrayIndexOutOfBoundsException on h:inputText validation
File browser button
scrollableDataTable header values to be adjusted
richfaces:: richdatatable problem.