aspose file tools
The moose likes JSF and the fly likes how to use Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JSF
Reply Bookmark "how to use "h:selectOneMenu"" Watch "how to use "h:selectOneMenu"" New topic
Author

how to use "h:selectOneMenu"

gopal kishan
Ranch Hand

Joined: Feb 23, 2005
Posts: 99
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

Joined: Jan 19, 2006
Posts: 57
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

Joined: Feb 23, 2005
Posts: 99
thanks . i got it now.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: how to use "h:selectOneMenu"
 
Similar Threads
AJAX with JSF issues on selectone menu
selectOneMenu
how to render a component based on condition
how to edit <h:SelectOneMenu>
how to add a seperator in <h:selectOneMenu>