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
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
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" &
, 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
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)