| Author |
Problem with Date field and selectOneMenu
|
Gerardo Tasistro
Ranch Hand
Joined: Feb 08, 2005
Posts: 362
|
|
Don't know if you've come upon this. I'm having problems with a selectOneMenu and the usage of date fields in my managed beans. If I create a selectOneMenu and link the value to say a text field all is well. But when I link to value="#{mybean.mydate.date}" or .month or .year All stops working. I mean all. The form seems to submit, but the action isn't even called. As if the JSF fails on the validation part. Is this a limitation of JSF? I'm considering working around this with a converter. Any experience?
|
 |
Varun Khanna
Ranch Hand
Joined: May 30, 2002
Posts: 1400
|
|
Did you try putting h:messages tag in the JSP and seeing if any error messages are there? Since action method isn't chances are high that some validation/conversion is failing
|
- Varun
|
 |
Gerardo Tasistro
Ranch Hand
Joined: Feb 08, 2005
Posts: 362
|
|
|
Nope, haven't used messages beyond the basics. Thanks for the tip. I'll check it out.
|
 |
 |
|
|
subject: Problem with Date field and selectOneMenu
|
|
|