how to read contents of faces-config.xml

my config file having

<navigation-rule>

<from-view-id>/pages/page1.xhtml</from-view-id>

<navigation-case>

<from-outcome>save</from-outcome>

<to-view-id>/pages/page2.xhtml</to-view-id>

</navigation-case>

<navigation-case>

<from-outcome>cancel</from-outcome>

<to-view-id>/pages/page1.xhtml</to-view-id>

</navigation-case>

</navigation-rule>

i want read these content <from-outcome> in managed bean.

thanks

siva

[603 byte] By [sivasaia] at [2007-11-27 10:05:40]
# 1
There is no standard interface for exposing the parsed faces-config.xml data.Your best bet so that you don't tie yourself to a particular JSF implementation is toparse the faces-config yourself.
rlubkea at 2007-7-13 0:41:39 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
hi,i am creating test cases.how to read the jsf page button event in test case ,after action,i want read the navigation next url.if u have idea,please help me out.thanks
sivasaia at 2007-7-13 0:41:39 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...