|Validation [message #613250]
||Thu, 26 July 2007 13:31
| Evgeny Morozov
Registered: July 2009
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.
Powered by FUDForum
. Page generated in 0.02272 seconds