Sorry, i do not have a ready made solution for you, only some ideas.
Asyou said you will have to use javascript.
(There are many frameworks for javascript out there.)
1. I suggest to try richfaces.
You will ajaxenable the combobox in a way that you are able to rerender the button.
2. Use a menu (richfaces has one)
3. Make your solution with javascript only. Surely hard to do, but possible.
4. one jsf-way to do it:
When the button is clicked an action is triggered. This action will check the selected
value of the combobox and returns an outcome. The navigation rules of your application
will navigate to the page which is determined by the outcome.
Hope this helps enough to get an idea for the direction to work further.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047906#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...