wood burning stoves 2.0*
The moose likes JSF and the fly likes h:selectOneMenu   PROBLEM Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "h:selectOneMenu   PROBLEM" Watch "h:selectOneMenu   PROBLEM" New topic
Author

h:selectOneMenu PROBLEM

Arvind Purohit
Ranch Hand

Joined: Jun 18, 2010
Posts: 43
Hi all
i have written one jsf page in which i m using h:select one menu with ajax support
my requirement is when i select one item from first combo box secon combo box should be fieled wih corresponding data . it is wirkong but when i am firing an action in my page "Search" it is giving exception.
my bean is in request type
if i change bean to view or session then it give error when i chang 2 time data of first combo box
please help me .

THANKS



==================BEAN================




===================ERROR WWHEN BEAN IS IN REQUEST====================

siva prasa
Greenhorn

Joined: Feb 16, 2010
Posts: 25
hi

where is the action method in your bean class???
action="#{batchBean.fillStoreListFromPartner}"

i cant see any method like fillStoreListFromPartner,is your application calling that method???In that method only you have to set for the second combobox list.


Arvind Purohit
Ranch Hand

Joined: Jun 18, 2010
Posts: 43
siva prasa wrote:hi

where is the action method in your bean class???
action="#{batchBean.fillStoreListFromPartner}"

i cant see any method like fillStoreListFromPartner,is your application calling that method???In that method only you have to set for the second combobox list.



Thanks a lot
 
jQuery in Action, 2nd edition
 
subject: h:selectOneMenu PROBLEM