| Author |
Creating Action from ValueChangeEvent
|
Elam Daly
Greenhorn
Joined: Aug 09, 2003
Posts: 16
|
|
Hi all, I have a <selectOneMenu> which has a valueChangeEvent and a onchange="submit" javascript bind, so that when the menu choice changes the bean method bound to the valueChangeEvent is called, which does some logic processing. By default, the page that called the valueChangeEvent is then refreshed. What I then need for it to do is navigate to another page based on the outcome of the method logic, but of course ValueChange events don't do this. Is there a way to alter the navigation outcome via the JSF api so that I can navigate to other pages through my faces-config.xml. In other words, act as if a actionEventListener is attached to my selectOneMenu? Thanks, Elam Daly
|
 |
Akbar Basha R
Greenhorn
Joined: Mar 11, 2002
Posts: 23
|
|
I came across this suggestion from sun forums. Let me know whether it works. http://forum.java.sun.com/thread.jspa?threadID=619503&messageID=3478956
|
 |
 |
|
|
subject: Creating Action from ValueChangeEvent
|
|
|