Is there a way to use the xredirect for view actions?

What I'm trying to do is to load a page which performs some action then redirects to another page. At the moment I'm using <head> / <meta> tags to perform the redirect but this causes the initial page to be displayed before it is redirected.

Any ideas?

Thanks
Duke

On 6/26/06, Duke Tantiprasut <duketantiprasut@gmail.com> wrote:
Great. I'll give that a go.


On 6/25/06, Ludovic Dubost <ludovic@xwiki.com > wrote:

Hi Duke,

I'm not sure you need any patch.. There is already the "xredirect"
parameter which allows to redirect to any URL post any action.
You just need to append to the edit URL: "xredirect=" + URL

You can generate the URL using $doc.getURL("edit")

Ludovic

Duke Tantiprasut a écrit :
> Hi All
>
> I've added patch for SaveAction to allow redirect to "edit" rather
> than "view" i.e. SaveEdit action. The patch file is attached to jira
> for review / inclusion.
>
> Duke
>
>
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the xwiki-dev@objectweb.org mailing list.
> To unsubscribe: mailto: xwiki-dev-unsubscribe@objectweb.org
> For general help: mailto:sympa@objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>


--
Ludovic Dubost
XPertNet: http://www.xpertnet.fr/
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic





--
You receive this message as a subscriber of the xwiki-dev@objectweb.org mailing list.
To unsubscribe: mailto:xwiki-dev-unsubscribe@objectweb.org
For general help: mailto: sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws