| Author |
Strange behavior: action method not called when button submitted
|
Julien Martin
Ranch Hand
Joined: Apr 24, 2004
Posts: 383
|
posted

0
|
Hello, My JSF app is diplaying a strange behavior: when the submit button is pressed the action method of my managed bean is not called. Here is my managed bean: Here is my jsp page: here is my faces config file: The problem occurs when the field ratingField is left blank (which amounts to it being set at 0 since it is an int). Can anyone help please? Thanks in advance, Julien.
|
 |
Rajeev Ravindran
Ranch Hand
Joined: Aug 27, 2002
Posts: 455
|
|
Add an error message tag for "ratingField" and see if JSF is throwing any error. Thanks, [ August 17, 2006: Message edited by: Rajeev Ravindran ]
|
SCJP, SCWCD, SCBCD, Oracle Certified Professional (SQL n PL/SQL)
|
 |
Julien Martin
Ranch Hand
Joined: Apr 24, 2004
Posts: 383
|
posted

0
|
Thanks for the reply. The problem is that I was using primitive types and Jsf does not like that apparently. Julien.
|
 |
 |
|
|
subject: Strange behavior: action method not called when button submitted
|
|
|