I went digging around in the MyFaces code and was not able to find this. The NavigationHandlerImpl has the code, but none of it is protected or public (all private). So you would have to parse the XML yourself. It would be a good idea for Sun to mod the JSF spec to split the information from the navigation in the NavigationHandler so that people can get information out of the handler without actually navigating.
 

From: Stefan Gesigora [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 28, 2005 7:22 AM
To: MyFaces Discussion
Subject: Get value of to-view-id of faces-config.xml

Hi folks!

 

I’m looking for a way to read the “to-view-id” of the faces-config.xml…

 

My application knows the unique “from-outcome” value and wants to get the “to-view-id” value!

 

Is there a way to get this?

 

regards,

 

Stefan Gesigora

Reply via email to