Help coderanch get a
new server
by contributing to the fundraiser
  • 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
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

<h:SelectManyListbox> - How to use this tag ??

 
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Everyone,

I am new to JSF. I was able to create UI components such as dropdown menu, text area and text box, radio button etc. However i am having a trouble with drop down menu which allows multiple item selection. I am using <h:SelectManyListbox> tag for that. Here is the code in JavaBean and JSP:

Problem Descritption: When I load the JSP for the first time, I renders the multiple dropdown menu fine. The problem is when I try to navigate to other pages , It shows error in logs:

sourceId=createForm:Etiology[severity=(ERROR 2), summary=(createForm:Etiology: An error occurred when processing your submitted information. ), detail=(createForm:Etiology: An error occurred when processing your submitted information. )]



Code in JSP:



Entry in faces-config.xml



can someone guide me what am I doign wrong. I unfortunately couldn't find any working examples on the web which shows the usage of this UI Component.

Thanks everyone
- Anand
 
reply
    Bookmark Topic Watch Topic
  • New Topic