Is there a <to-action> navigation tag?
Hi All,
I have a situation with JSF, I dont know what is the right approach, its like this ;
After executing a backing bean method on the submit of a button, I want it to return a action string . Then I want to map the string to another method of another bean
say like this :
class MyPageBean1{
String doSomething(){
//do some procesing with the input data
return"callFetchNewData";//This string is mapped to another method of another pageBean
}
}
class MyPageBean2{
String fetchNewData(){
//fetches data from backend to display in page 2
return"showpage2"
}
}
<navigation-case>
<from-outcome>callFetchNewData</from-outcome>
<to-action>#{pageBean2.fetchNewData}</to-action>
</navigation-case>
But it seems there is no <to-action> tag, if not how do I acheive this?
please help.
Thanks in advance

