| Author |
Action not being performed if h:selectOneList box present in the form
|
hemanth kp
Greenhorn
Joined: Apr 06, 2005
Posts: 9
|
|
Hi All, My page has one <h:selectOneListbox> that i am populating values from DB. and followed by the list box i have a simple command button tag <h:commandButton id="submit" styleClass="pagecontrols" value="Submit" action="#{MyBean.myMethod}" /> However, when i click submit myMethod is not being called. If i remove the list box tag then myMethod is being called!! I tried including immediate="true" in the command button tag but it also didnt help. Can any one tell me where i am wrong? Please help me ASAP. Why is action not taking place if the list box tag is present? Thanks, Hemanth Kp
|
 |
Srikanth Madasu
Ranch Hand
Joined: Sep 10, 2008
Posts: 48
|
|
|
CAn you post the code for <h:selectOneListBox> too.. may be there is a prob in that code...
|
If it's easy.. then everybody would do it!
|
 |
 |
|
|
subject: Action not being performed if h:selectOneList box present in the form
|
|
|