FYI, Guillaume has put this in the doc as a code snippet:
http://www.xwiki.org/xwiki/bin/view/Code/PageRedirect

Thanks
-Vincent

PS: I think we should move it to the developer's guide somewhere.

On Apr 7, 2007, at 7:39 PM, Sergiu Dumitriu wrote:

$response.sendRedirect("http://www.w3.org")
$response.sendRedirect($doc.getURL('edit'))
$response.sendRedirect($doc.getURL('view', 'xpage=wml'))
$response.sendRedirect($xwiki.getURL(' Some.Document'))
$response.sendRedirect($xwiki.getURL('Some.Document', 'edit'))
$response.sendRedirect($xwiki.getURL('Some.Document', 'view', 'xpage=rdf'))

On 4/7/07, Zeljko Trogrlic <zeljko_t@post.htnet.hr> wrote:
Zeljko Trogrlic wrote:
> Hi,
>
> I have several term that should point to the same Wiki page. How to do this?
> 1) create redirect page
> 2) add synonyms to the main page?
>
> How to do one thing or another?

Anybody has example for $response.redirect? Please?




Sergiu Dumitriu
--
http://purl.org/net/sergiu

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