Hello, If you are certain of an error in FAQ Tutorial, you can edit the page and fix it IMO. Xwiki is ... a wiki.
Thxs. Pascal B -------------------------------------------- En date de : Lun 30.1.17, Jesse Bright <[email protected]> a écrit : Objet: Re: [xwiki-users] FAQ Tutorial - Custom Creation Form À: "XWiki Users" <[email protected]> Date: Lundi 30 janvier 2017, 16h36 I figured this out while fixing the live table. The tutorial code references the class and template pages as "FAQ.FAQClass" and "FAQ.FAQTemplate". However the pages actually created from the Class Editor wizard have a space: "FAQ.FAQ Class" and "FAQ.FAQ Template". After adding the space everything is working as expected. I may have made a mistake in following the tutorial but it didn't feel like it. Perhaps the tutorial needs updated to reflect changes in the Class Editor. Regards, Jesse Bright Regards, Jesse > On Jan 30, 2017, at 6:00 AM, Jesse <[email protected]> wrote: > > I am trying to follow along while modifying the code to reflect my app location which is “Corrections.2016” and it all seems to work fine until I try to do the custom form creation, which when submitted takes me to an "about blank” page. Any thoughts on what I did wrong? > > #if("$!targetDocName" != '' && $xwiki.exists($targetDocName)) > {{warning}}The target document already exists. Please choose a different name, or [[view the existing document>>$targetDocName]]{{/warning}} > #elseif("$!targetDocName" != '') > {{warning}}You don't have permission to create that document{{/warning}} > #end > > {{html}} > <form action="" id="newdoc" method="post"> > <div> > <input type="hidden" name="parent" value="${doc.fullName}"/> > <input type="hidden" name="template" value="Corrections.2016.2016Template"/> > <input type="hidden" name="sheet" value="1"/> > <input type="hidden" name="spaceName" value="Corrections.2016"/> > Code Section: <input type="text" name="docName" value="Enter the code section here" class="withTip" size="50"/> > <span class="buttonwrapper"><input type="submit" value="Create this code section" class="button"/></span> > </div> > </form> > {{/html}} > > Regards, > > Jesse Bright
