Forum OpenACS Development: Redirect to $return_url after setting package parameters ...

In my local checkout of OpenACS HEAD I've modified the package parameter pages to redirect to a (opionally) supplied return_url.

In the admin index page of my package there's a link "Package parameters" which looks like so:

http://localhost/admin/site-map/parameter-set?package%5fid=508&return%5furl=%2fcurriculum%2fadmin%2f

The query vars were assembled in the following fashion:

set return_url [ad_return_url]
set export_vars [export_vars -url { package_id return_url }]

(The .adp then has this; "<a href="/admin/site-map/parameter-set?@export_vars@">Package parameters</a>")

Thus, when someone edits some params and submits [s]he is being sent back to the admin page instead of ending up at the sitemap.

Do you want me to commit this onto HEAD?

/Ola

Ola, go ahead and commit the return_url code...