Hi, In velocity you can call $response.sendRedirect("url") to redirect.. Ludovic Xavier MOGHRABI wrote:
Dear all,
I'm trying to create a form in order to register visitors to a conference. Thus I've created a XWiki class to store data concerning visitors. I've created this document : Main.RegistrationClass that contains the class Main.RegistrationClassTemplate that contains an object of the previous class Main.RegistrationClassSheet
I need to make some verifications when people registering. Thus I've created a Document that I called Main.RegistrationNewVisitor that displays a form and control data.
The problem I have is that I don't know with using velocity script how I can forward. Thus I've created a javascript script that forward to the desired page by clicking on the hidden form.
Any idea ?
Regards
------------------------------------------------------------------------
-- 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
-- Ludovic Dubost XPertNet: http://www.xpertnet.fr/ Blog: http://www.ludovic.org/blog/ XWiki: http://www.xwiki.com Skype: ldubost AIM: nvludo Yahoo: ludovic