On Thu, 10 Apr 2008 16:00:09 -0500, Kamna Jain wrote
> Hello Devs,
> 
> I have been trying to figure if there is a possibility of adding 
> HTML forms
> (UI to obtain input from users) to Xwiki as part of the application 
> we are trying to build. I know that XWiki pages can be edited to 
> include HTML code in them. But, I guess my question is where should 
> we be looking in the code to see how the data that goes into the 
> form fields as user input, would be processed by the XWiki Core? Has 
> anyone done this before ?

Yes, I wrote a simple application in such manner.
Just <form > and javascript inside xwiki  (inside {pre} {/pre} tags)
Javascript can use prototype js library, bundled with xwiki
 
form parameters can be retrieved with $request.getParameter()
also it is possible do request redirects.



> 
> Also, if we wanted to create tandard UI in XWiki, would it be a better
> option to create a template (.vm) file for this purpose?
> 
> We also looked at creating Classes and Objects for this purpose but, 
> I am not sure if thats the option we need to choose.
> 
> What would be the best way to accomplish this task?
> 
> Thanks for all help.
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs



--
Ruslan Shevchenko
GradSoft. http://www.gradsoft.ua

_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to