Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to use "h:selectOneMenu"  RSS feed

 
gopal kishan
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

Can anybody tell me , how to use <h:selectOneMenu>

i am not finding any examples that can be followed.

i dont know , why frontend become very tough.

i am trying to find a solution for this for half a day.

please provide some information.

thanks in advance
Kishan
 
Efrat Bar-Nahum
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Here is an example:

In your jsf page:


in MyBean.java:



Also in MyBean.java, initialize the Vector:




Hope that it helps,
Efrat
 
gopal kishan
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks . i got it now.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!