The page navigation *mechanism* in JSF is pluggable -- you need to
provide an implementation of
"javax.faces.application.NavigationHandler", which could then do
things like look at Struts action mappings to figure out where to go
next, instead of (or in addition to) the JSF <navigation-rule> stuff. 
You configure a replacement implementation in a faces-config.xml file,
in the <navigation-handler> element inside the <application> element.

In the JSF spec, see Section 7.4 for the responsibilities of a
NavigationHandler, plus the requirements for the default
implementation.  See Section 10.3 for configuration information, and
in particular Section 10.3.5 for how you can use the Decorator Pattern
to customize some aspects of the behavior of NavigationHandler (and
all the other pluggability points in JSF) while delegating to the
original implementation for other aspects.

To get the spec, start at <http://java.sun.com/j2ee/javaserverfaces>.

Craig



On Mon, 22 Nov 2004 04:49:36 -0800, Dakota Jack <[EMAIL PROTECTED]> wrote:
> Is there a potential useful and reasonable "rewrite" of JSF so that
> the sort of navigation (controller) system in Struts can be employed
> instead of the page based navigation in JSF consistent with the rest
> of JSF, or is the page based navigation too tied to the rest of JSF?
> Thanks for any insights
> 
> Jack
> 
> --
> 
> "You can't wake a person who is pretending to be asleep."
> 
> ~Native Proverb~
> 
> "Each man is good in His sight. It is not necessary for eagles to be crows."
> 
> ~Hunkesni (Sitting Bull), Hunkpapa Sioux~
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to