I had wondered that myself for a time, as it would have made something I wrote easier. NavigationHandler really needs to change to make it more reusable (ability to get the settings from it instead of just that one method.

As for the information, it will not be so easy as there is not necessarily one faces configuration file. You can have multiple. You may for example, have some to setup renders for example in a JSF controls bean. Therefore the question is how to get the file that has your navigation code. The best thing I can think of is just to have a setting in your web.config with the location of the configuration file you wish to use.

Also be careful that if you are making a reusable component that you may want to stick to using the jsf resolution rules (supporting wildcards for example).

On 1/9/06, Dave <[EMAIL PROTECTED]> wrote:
Is there any way to access faces.config?
I need to know the to-view-id(JSP page) given from-view-id and from-outcome. The NavigationHanlder has only one method handle(..), Thanks.
Dave


Yahoo! Photos
Ring in the New Year with Photo Calendars. Add photos, events, holidays, whatever.


Reply via email to