• Post Reply Bookmark Topic Watch Topic
  • New Topic

problem in populating dropdownlist with table data

 
Varun Nayudu
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using Visual web Java Server Faces. I want to use the data provider to display the data in he dropdownlist .I hav done all the binding of data and other stuff.I had created a property bean in the session bean and bind that to the dropdown option items attribute .

written a code to get the data

but still am getting error ........please can any one provide me with the right steps.
 
Kumaresh Vidhyasagar
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you share your code to look into these problems?

you should assign the dropdown list values to the value of the selectitems tag not on the selectOnemenu tag.
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Varun Nayudu wrote:
but still am getting error

There are countless kinds of errors on the world and you didn´t even mention which one you got. You, as a starting developer, should know that errors messages are very important in solving the problem. Taking them for irrelevant and generalizing with "i got error" doesn´t give us the important information about the cause of the problem and takes us the chance away to explain you the cause of the problem (and thus also the solution!) based on the error.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!