[xwiki-devs] redirecting to page in editor
Hey developers, I want to redirect from A page to B, in editing mode and also some variables in url. But it gives me an error if I try to redirect it to a page in editing mode from the WebHome page of my Xwiki. Please suggest. Thank you Prachi Maheshwari
Hi Prachi, Redirects from server side are done using in velocity $response.sendRedirect($url) where $url you create it by using $xwiki.getURL(docFullName, mode, queryString) function where additional parameters you set in queryString. More you can find here http://extensions.xwiki.org/xwiki/bin/view/Extension/Redirect Regards, Flavius On Fri, Sep 27, 2013 at 5:18 PM, Prachi Maheshwari < [email protected]> wrote:
Hey developers, I want to redirect from A page to B, in editing mode and also some variables in url. But it gives me an error if I try to redirect it to a page in editing mode from the WebHome page of my Xwiki. Please suggest.
Thank you Prachi Maheshwari _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Flavius Olaru
participants (2)
-
Flavius Olaru -
Prachi Maheshwari