xredirect on a confirm delete action

Arnaud Thimel thimel at codelutin.com
Thu Mar 8 10:33:23 CET 2007


Hi all,

I tried to use the xredirect functionnality on a confirm delete action

I would like the URL :

/xwiki/bin/delete/Plans/aaaa?confirm=1&xredirect=/xwiki/bin/view/Plans/bbbb
to delete the doc aaaa and then redirect to the doc bbbb

If I remove the confirmation (confirm=1) my redirect is OK but, as I
don't confirm deletion, my doc aaaa is still here.

I patched my own version of XWiki because I need it, but I would like to
know if this is volunteer (and so why ?) or if I should submit my patch.

Thanks

-- 
Arnaud Thimel
Société Code Lutin - http://www.codelutin.com







More information about the devs mailing list