Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JavaServer Faces » Validation
Validation [message #613250] Thu, 26 July 2007 13:31
Evgeny Morozov is currently offline Evgeny MorozovFriend
Messages: 4
Registered: July 2009
Junior Member

I have some problem and I hope somebody can help me. So...
I have a page with a great <h:form> like this:

<h:inputText ... name of my cat />

<h:inputText ... type of food />
<h:commandButton ... to select type of food from another page />

So, on this page a have some fields and values for these fields I want to get
from list values. So I have a button near by my fields and want to go to new
page, that render the dynamic list of values for my fields.

But, on my fields I have a validators and when I press the buttons validation is
working and null values in my fields is not proper values, so my page just
reload and I can't to see dynamic list.

But there is more... if I use immediate attribute, I can't to save another field
value. For example, I wrote onto one field the name of my cat and want to select
type of food for my cat. So if I will use immediate attribut, the name of my cat
will be lose.

Is there any way to use validators and create dynamic lists of values?
Thanks for your attention.
Previous Topic:Servlet FacesServlet Exception
Next Topic:Validation
Goto Forum:

Current Time: Wed Apr 25 11:06:33 GMT 2018

Powered by FUDForum. Page generated in 0.01445 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software