You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Eric Fingal <fi...@summa-tech.com> on 2006/08/16 18:14:20 UTC
Overriding default NavigationHandlerImpl
I want to create a custom NavigationHandler that will look at where
navigation came from along with where it will go based on the default
behavior of looking in the faces configuration. I see that in version 1.1.4
source code of NavigationHandlerImpl there is a protected method named
getNavigationCase(). This is just what I need to call in order to determine
where I would go if I left navigation up to the the default handler.
However, in version 1.1.3 this protected method is not available. So. Is
1.1.4 available yet? Or could I copy the source code that figures out what
the next navigation case is and use it in my NavigationHandler? I don't
like the idea of copying code, but I need the same functionality.
Any suggestions will be appreciated!
Eric
Re: Overriding default NavigationHandlerImpl
Posted by Mike Kienenberger <mk...@gmail.com>.
You can get a 1.1.4 release candidate at the following url or build it
from source.
http://people.apache.org/builds/myfaces/core-1.1.x/
On 8/16/06, Eric Fingal <fi...@summa-tech.com> wrote:
>
>
>
>
> I want to create a custom NavigationHandler that will look at where
> navigation came from along with where it will go based on the default
> behavior of looking in the faces configuration. I see that in version 1.1.4
> source code of NavigationHandlerImpl there is a protected method named
> getNavigationCase(). This is just what I need to call in order to determine
> where I would go if I left navigation up to the the default handler.
> However, in version 1.1.3 this protected method is not available. So… Is
> 1.1.4 available yet? Or could I copy the source code that figures out what
> the next navigation case is and use it in my NavigationHandler? I don't
> like the idea of copying code, but I need the same functionality.
>
>
>
> Any suggestions will be appreciated!
>
>
>
> Eric