Hi Martin!
> the navigation handler doesn't read in the configuration. Reading in
> the configuration is implementation specific, AFAIK.
>   
since it works only with <redirect> only maybe this hack might do it:

    public void handleNavigation(final FacesContext facesContext, String
fromAction, String outcome)
    {
        original.handleNavigation(new FacesContextWrapper(facesContext)
        {
            public ExternalContext getExternalContext()
            {
                return new
com.ops.OPSJ.jsflib.ExternalContextWrapper(super.getExternalContext())
                {
                    public void redirect(String url) throws IOException
                    {
                        url = prepareRedirect(facesContext, url);
                        super.redirect(url);
                    }
                };
            }
        }, fromAction, outcome);
    }

Where prepareRedirect replaces the bean properties.
A hack - I know ;-)

Ciao,
Mario

Reply via email to