Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Retrieve selected values from dynamically generated HtmlSelectManyListBox

tamir mahmood
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

I am new to JSF , i am facing a problem , it is like this . My page is dynamically generated , as there is no prior set/get methods . To get the user input I am using a Map in my backing bean , and i am binding each element in the page using valueBinding give some key dynamically . This works fine with text box my actionListener is getting called and I am able to print the input , but when I tried to retrieve the selected values of HtmlSelectManyListBox , my ActionListener is not getting called.The code is as follows ,

ActionListener is as follows

My page has the following code

Request your guidance , Thanks in Advance
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic