Hi Erik,

Le mercredi 19 janvier 2005 � 12:08 +0100, Erik Bruchez a �crit :
> Eric van der Vlist wrote:

> > I think I should be able to do what I want to do with the redirect
> > processor, but given the note:
> > 
> > "It is recommended, whenever possible, to use the Page Flow Controller
> > to perform page redirections within a Presentation Server application.
> > The Page Flow Controller provides a much higher-level abstraction of the
> > notion of redirection than the Redirect Processor."
> > 
> > I am wondering if this is a case where I should use it.
> 
> I am still hoping not!
> 
> > Also, the redirect processor allows me to perform a client side redirect
> > which can be considered more friendly to the reload and back buttons
> > than a server side redirect.
> > 
> > Am I right to think that the PFC doesn't support client side redirect?
> 
> No it does. You can control how redirects are done in the PFC (this doc 
> has yet to be moved to the right place):
> 
>    http://www.orbeon.com/ois/doc/home-changes-25#pfc
> 
> Here you have to make sure the method used is "redirect", either set at 
> the top level of your page-flow.xml, or at the action result level.
> 
> Now the PFC is also able to do a redirect to a page using <param> 
> elements, by substituting the parameter names into the correct regexp 
> groups. But you should make sure the value is available in the XForms 
> instance, i.e. when you do your <result page="display"/>, you should 
> also set /form/document-id in the "display" page's XForms instance.

In the meantime, I got that working with the redirect processor, but
I'll try to put the logic back into the PFC as soon as I have a chance!

Thanks for the link.

Eric
-- 
Have you ever thought about unit testing XSLT templates?
                                                     http://xsltunit.org
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(ISO) RELAX NG   ISBN:0-596-00421-4 http://oreilly.com/catalog/relax
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
orbeon-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/orbeon-user

Reply via email to