[opencms-dev] Retaining URL parameters in 'backlink' property fordirect editing?
Jonathan Woods
jonathan.woods at scintillance.com
Tue Feb 21 22:35:38 CET 2006
Only thing I can think of is bit nasty: when the page is rendered, and if
the rendering is for the offline project only, then you could stash the
value of the attribute in the session and later retrieve it after editing
(failing gracefully if not there or if not in the offline project) to
redisplay the right data.
Jon
-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Nigel Kersten
Sent: 21 February 2006 21:28
To: The OpenCms mailing list
Subject: [opencms-dev] Retaining URL parameters in 'backlink' property
fordirect editing?
We're using URL paramaters a fair bit in our site, and I've run into
something that is a bit annoying.
Say I'm at an URL like:
http://my.site/path/to/view_support_category.html?category=generalinfo
then the taglib generated form for direct editing contains a value:
<input type="hidden" name="backlink" value="path/to/
view_support_category.html">
without the parameter. "?category=generalinfo"
This means that when the user closes the structured content editor, they get
returned to:
http://my.site/path/to/view_support_category.html
rather than:
http://my.site/path/to/view_support_category.html?category=generalinfo
We're handling the situation where there is an empty $ {param.category}
gracefully, but I was wondering if there is any kind of a solution for
having the user actually return to the page they were at, including the
parameter?
--
Nigel Kersten [Senior Technical Officer] College of Fine Arts, University of
NSW, Australia.
CRICOS Provider Code: 00098G
_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev
More information about the opencms-dev
mailing list