File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
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: 16057
    
  21



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