Hi Vincent,
Thanks for the fast reply :-) Its a very useful piece of code.
Now I have some unrelated doubt : In the newly added sample code I found
$request.ipp, $request.page etc. My doubt is, is it possible to know the
parameters that are passed while submitting a form in xwiki (Here by
form I meant a template and by parameters I meant the name and value of,
say, a text box in the template).
Thanks and Regards
Roopesh
------------------
DigitalGlue, India