• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Anand Gondhiya
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!