collective / iwwb.eventlist

iwwb.eventlist
http://pypi.python.org/pypi/iwwb.eventlist
0 stars 0 forks source link

The Reset method should consider the context #2

Closed pysailor closed 12 years ago

pysailor commented 12 years ago

The reset_form() method of browser/eventlist redirects to portal_url/@@evenlist. It would be better to redirect to the context_url/@@evenlist.

Use case: consider a site that is multilingual, with top-level folders /de and /en. I want to at least stay in my language context, e.g. /de/@@eventlist, not jump to the portal root. Instead of using the context's absolute_url, it would also be OK to consider the nearest INavigationRoot.