You can also access to the information of the faces-config at runtime
using the RuntimeConfig singleton (only with myfaces impl).

RuntimeConfig.getCurrentInstance(externalContext)

You can access from there to the registered navigation rules, managed
beans, etc...

Regards,

Bruno

2005/9/28, Stefan Gesigora <[EMAIL PROTECTED]>:
>
>
>
>
> Thanks Andrew!
>
> I'm going to try this…
>
>
>
> Stefan
>  ________________________________
>
>
> Von: Andrew Robinson [mailto:[EMAIL PROTECTED]
>  Gesendet: Mittwoch, 28. September 2005 15:41
>  An: 'MyFaces Discussion'
>  Betreff: RE: Get value of to-view-id of faces-config.xml
>
>
>
>
> 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