Re: [xwiki-users] force edit inline and redirect

2016-07-01 Thread Vincent Massol
ich you’d override the edit.vm to do the redirect. Thanks -Vincent > Thxs > > ... >> > >> En date de : Jeu 30.6.16, Pascal BASTIEN > <pbasnews-xw...@yahoo.fr> > a écrit : >> >> Objet: > force edi

Re: [xwiki-users] force edit inline and redirect

2016-07-01 Thread Pascal BASTIEN
Are there a simple (or recommanded) way to redirect user to another page (in edit mode) when he edit a page? Thxs ... > > En date de : Jeu 30.6.16, Pascal BASTIEN <pbasnews-xw...@yahoo.fr> a écrit : > > Objet: force edit i

Re: [xwiki-users] force edit inline and redirect

2016-06-30 Thread Vincent Massol
i/api/Document.html#getDefaultEditMode%28%29 > > (I'm on xwiki 7.0.1) > > > En date de : Jeu 30.6.16, Pascal BASTIEN <pbasnews-xw...@yahoo.fr> a écrit : > > Objet: force edit inline and redirect > À: "XWiki Users" &

Re: [xwiki-users] force edit inline and redirect

2016-06-30 Thread Pascal BASTIEN
, Pascal BASTIEN <pbasnews-xw...@yahoo.fr> a écrit : Objet: force edit inline and redirect À: "XWiki Users" <users@xwiki.org> Date: Jeudi 30 juin 2016, 12h08 Hi xwiki citizen, I try to redirect to another page users when they edit a page... Then I use this velocity

[xwiki-users] force edit inline and redirect

2016-06-30 Thread Pascal BASTIEN
Hi xwiki citizen, I try to redirect to another page users when they edit a page... Then I use this velocity code in my origin page: #if ($xcontext.action=='edit') $response.sendRedirect($xwiki.getURL('MySpace.MaTargetPage', 'edit')) #stop #end Redirect (to MyOriginPage in edit mode)