Hai all,
does anybody know whether it is possible to make a form where the user can leave the form (for going to a paying service) and come back to it and not loose all data filled in up to that point? The paging service has this redirect url which obviously should be the url to my form but this results in a complete reload of the form and all data is gone. I specifically don't want to use pop-ups and using the back button doesn't always work in all browsers (keeping state), so now I was wondering whether it is possible to call my form with a session id or somethnig to collect the state of the model belonging to that user's session. If that's possible, that I could replace the empty model with taht one and I'm done... Best regards, Bart Ottenkamp -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
You
can use the scope generator and serializer processors (in XPL) to do this
-
Steve
-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Hi Bart,
You can try saving the form before redirecting the user, and then retrieve it, using an id from a get/post parameter. This may help you, it helped me when i had a similar problem: http://blog.msbbc.co.uk/2008/05/orbeon-inline-xslt-and-get-parameters.html Regards, German On Wed, Aug 12, 2009 at 11:07 AM, Steve Bayliss <[hidden email]> wrote:
-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
In reply to this post by Steve Bayliss
Bart,
As Steve said above, you can use the scope generator/serializer processors from a pipeline, but you can also use the xxforms:set-session-attribute() and xxforms:get-session-attribute() extension functions directly from XForms. You'll find more about those on: http://www.orbeon.com/ops/doc/reference-xforms-functions Alex |
Free forum by Nabble | Edit this page |