Mercurial > libervia-web
diff src/browser/sat_browser/editor_widget.py @ 980:bcacf970f970
core (pages redirection): inverted redirection + getSubPageURL:
- page redirection now also work in other redirection meaning that if "/redirecting_url" => "/page_name/arg_1/arg_2" is used,
a getURL(page_name, arg_1, arg_2) will return the redirecting_url.
query_args are not handled yet by getURL.
- page redirection dict now use path_args and query_args insteand of args and kwargs, which show the relation with URL.
- new getSubPageURL return absolute URL to a subpage, which is more solid than relative URL and allows to use it in sub-hierarchy.
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 14 Nov 2017 08:35:17 +0100 |
parents | fd4eae654182 |
children | f2170536ba23 |