Sign in

E-mail *, (xx@domain.com)
Password *

Register | Forgot password

orgurl in 3 steps form

The "GX WebManager Usage" forum covers all topics concerning the actual usage of GX WebManager. Topics include using editor functions, content elements, workflow, authorizations, My WebManager, Media repository, Personalization, Page templates, etc.

Answered
Not marked as answered yet

Forums  >  GX WebManager Usage  >  orgurl in 3 steps form


Author orgurl in 3 steps form
johnsten



Posts: 47

Posted: 14-10-2009 14:47

How can I use the "Go back to original url" rule in a 3 step form?

On the login form this rule works but if I use this in a 3 steps form the original url is removed from the session in step 2.

Michel Teunissen



Posts: 190

Posted: 14-10-2009 21:39

Hi,

Probably the easiest way is to park your original url in a self defined location within the session somewhere and use that to jump back to your 'initial' original location. Also very handy when you have force someone to register when he hits a certain page and at the end of that flow be able to allow him back to where he started..

Regards,

Michel

johnsten



Posts: 47

Posted: 15-10-2009 09:34

Also very handy when you have force someone to register when he hits a certain page and at the end of that flow be able to allow him back to where he started..



That's ecsacly why i need it

johnsten



Posts: 47

Posted: 15-10-2009 11:02

Can you explain the "park your original url in a self defined location within the session"

How can I extract the orgurl en park it into a new note in the session in 1 handler?

Michel Teunissen



Posts: 190

Posted: 15-10-2009 20:58

Hi,

If I'm not mistaken, the orgurl is put in the formflow that's available to you. You can get it from there and put in under your own in key in the session. If you start that key with "GX_", the contents of that key will be available in the xml on which personalisations are performed such as and XSL to print return url on a page. If a handler needs to do the redirect at the end, your handler can just get the content (url) under that key from session and do the redirect. In that case you don't need to start the key with "GX_". Have a look at you frontend url with /xmldebug=true appended to it (after you've logged in @ .../web/admin)

Regards,

Michel

johnsten



Posts: 47

Posted: 16-10-2009 12:07

I've already solved it by using 2 personalities.

in step 1 created a textinput with default value

<xsl:value-of select="/root/system/requestparameters/parameter[name='orgurl']/value"/>

And xsltag orgurl

in step 3 created a textinputfield with default value

<xsl:value-of select="/root/system/flow/formelement/formpart[@xsltag = 'orgurl']/userentry"/>

Thanks for the help

Back to top

New message: "orgurl in 3 steps form"
Message:
bold boitalicd underline url quote code smile cool eek grin mad razz sad wink
 
© 2010 GX creative online development B.V.

Disclaimer

This website (GXdeveloperweb.com) may discuss or contain opinions, (sample) coding, software or other information that does not include GX official interfaces, instructions or guidelines and therefore is not supported by GX. Changes made based on this information are not supported.  GX will not be held liable for any damages caused by using or misusing the information, software, instructions, code or methods suggested on this website, and anyone using these methods does so at his/her own risk. GX offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this website, including any liability resulting from incompatibility between the content of this website and the materials and services offered by GX. By using this website you will not hold, or seek to hold, GX responsible or liable with respect to the content of this website.