• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

h:selectOneMenu PROBLEM

 
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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====================

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Have you no shame? Have you no decency? Have you no tiny ad?
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic