On May 14, 2008, at 1:49 PM, Vincent Massol wrote: > Hi, > > On May 14, 2008, at 1:41 PM, Gabriela Radu wrote: > >> hello! >> >> where can i find the code that creates a new xwiki page? i know i >> can create new pages from xeclipse. but i wanna be able to create >> the pages from an interface. for instance to have a text field and a >> button, and when the button is pressed a new page will be created >> with the name given in the text field. >> >> thank you for your time > > See http://code.xwiki.org/xwiki/bin/view/Snippets/CreatePageSnippet > > For HTML forms, see the FAQ or TODO tutorial for example.
Would be good if you update the http://code.xwiki.org/xwiki/bin/view/Snippets/CreatePageSnippet page when you find out how to use a form to create a new page for ex. Another hint: check the Create Panel which does exactly this. Thanks -Vincent _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
