Hi, I am completly new to xwiki. I would like to create a basic form to store registration (only last name info for the moment). Here is what I have already tried, but it does not work. I don't understand what I am supposed to do in order to store the new registration (should I create a Java class for this?) Any help would be appreciate - is there some demo available? thanks, ==================== XWiki.RegistrationClass: attribute name (String) ==================== XWiki.RegistrationClassSheet code: 1 Registration #set( $obj = $doc.getObject("XWiki.RegistrationClass", 0)) #set( $class = $obj.xWikiClass) <table border="0" cellspacing="0" cellpadding="2"> <tr> <td> *First Name:* </td> <td>$doc.display("first_name", $obj)</td> </tr> </table> ==================== XWiki.RegistrationClassTemplate: #includeForm("XWiki.RegistrationSheet") ==================== Main.Registration: 1 Registration #set ($register = $request.getParameter("register")) #if ($register) Registration of *$request.getParameter("register_first_name")* #set( $class = $xwiki.getDocument("XWiki.RegistrationClass").xWikiClass) #set( $reg = $class.newObject() ) #set($class.first_name = $request.getParameter("register_first_name")) #if ($reg>0) Your registration has been correctly registered. Thanks. #else Sorry, an error occured during the registration process. #end #else Please provide us with the following information: <form id="register" name="register" action="" method="get"> <input type="hidden" name="template" value="XWiki.RegistrationTemplate" /> <input type="hidden" name="register" value="1"> #set( $class = $xwiki.getDocument("XWiki.RegistrationClass").xWikiClass) #set( $obj = $class.newObject() ) <table class="block" cellspacing="5px" border="0"> <tr> #set($prop = $class.first_name) <td>First Name</td> <td>$doc.displayEdit($prop, "register_", $obj)</td> </tr> </table> <input type="submit" value="Save My Registration"> </form> #end ==================== -- Mathieu Peltier ObjectWeb Consortium - INRIA E-mail: [email protected] JabberID: [email protected]