26 Apr
2007
26 Apr
'07
8:45 a.m.
On Apr 26, 2007, at 10:37 AM, Roopesh P Raj wrote:
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).
A form can submit anything it wants... $request is a Servlet Request so all Servlet methods are available such as $request.getParameterNames(), etc. For example: #foreach ($item in $request.getParameterNames()) * $item #end -Vincent