Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

h:selectOneMenu PROBLEM

 
Arvind Purohit
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic