Hi!

As you might know, if you have a navigation rule with <redirect />
configuration you'll lose all the request scoped data like:
* managed beans
* messages
* locale

I've checked in the RedirectTrackerManager into tomahawk-sandbox which
is a try to solve this problem.

You have nothing else to do than to put the tomahawk-sandbox.jar in your
WEB-INF/lib - everything else will work automatically.
It uses some crude tricks to make it work (but still in an RI compatible
way), and so it might break your application.

If you need other parts of tomahawk-sandbox please do the following:

1) report the error at jira http://issues.apache.org/jira
2) unpack the file faces-config.xml from tomahawk-sandbox.jar and
comment these lines:

  
<phase-listener>org.apache.myfaces.custom.redirectTracker.RedirectTrackerPhaseListener</phase-listener>

  <factory>
   
<faces-context-factory>org.apache.myfaces.custom.redirectTracker.RedirectTrackerFacesContextFactory</faces-context-factory>
  </factory>

  <application>
   
<variable-resolver>org.apache.myfaces.custom.redirectTracker.RedirectTrackerVariableResolver</variable-resolver>
  </application>


and repack it again.


Have fun!

Ciao,
Mario

Reply via email to