Hi All,Here are my choices/picks for creating a new Class/Sheet/Template...According to:
http://www.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorialCan anyone see some obvious
mistake ?------------------------------------------Step1 - Create
Class------------------------------------------Create Class with these values:>>Web:
Try7>>Class: Try7Faq------------------------------------------Step1b - Complete Edit
Save of Class------------------------------------------Add Title:>>'Try7 Class
Title'Leave Default Parent - but Change defaultweb:>>#set($defaultparent =
'XWiki.${class}Class')>>#set($defaultweb =
'Try7')------------------------------------------Step2 - Edit Class Add
Properties------------------------------------------Added two TextArea properties: TestA
and TestB - default options------------------------------------------Step3 - Click Create
Document Sheet------------------------------------------Add Title:>> Try7 Document
Sheet TitleChange Velocity template text:>>#set($class =
$doc.getObject('Try7.Try7Faq').xWikiClass)------------------------------------------Step4
- Click Create Document Template------------------------------------------Add
Title:>>Try7 Document Template TitleChange Velocity template
text:>>#includeForm('Try7.Try7FaqClassSheet')------------------------------------------Step5
- Click Create Document Template------------------------------------------Click on
ObjectsTab -- 'Add Object from this Class' dropdown:>>Added
Try7.Try7FaqClass to ObjectsTab of Document Template.**NOTE: The two textareas show up
fine - OK...Save and Exit...------------------------------------------TEST - Create
Instance Of Object/Document------------------------------------------Click on the create
document button....>> Only the document title shows -- properties/textareas that
wereadded do not show ? I'm not sure why....Attached is an error stack (maybe
unrelated) that I'm getting but not consistently when going through the above
steps....ThanksFrankFrom: frankmisa(a)hotmail.comTo: xwiki-users(a)objectweb.orgSubject:
Authoring templates and design sheets not working for custom classDate: Thu, 9 Aug 2007
19:43:31 +0000Hi All,I'm really disappointed by the lack of in depth XWiki developer
tutorial.XWiki has been around for a while -- and the only good material I can find is
here:http://www.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorialhttp://www.xwi…
above links are the level of tutorial I'm looking for -- but they don't go
far/long enough....I've followed the FAQTutorial steps and cannot get the example to
work as described.I've performed all steps as described -- without error/warning --
but when I try to create a new custom FAQ document -- my class properties (question &
answer) are not being shown on the edit/creation page ? It's just blank space with
two rows of Cancel/Save-Continue/Save-View etc buttons.* I'm using XWIKI:
1.1-milestone-3.3933* On Windows XP with Apache Tomcat 5.5.12* I'm using MySQL as the
database - I think it's UTF8 - Server version: 5.0.13-rc-nt1) When I'm querying
the database -- the tables: xwikiproperties - is being populated -- but newly added
entries seem to have negative values for XWO_ID column. xwikiobjects - is being
populated -- but newly added entries seem to have negative values for XWO_ID column.
xwikiclasses - is empty ? why ?2) I would be very grateful to a link to some decent
tutorial/documentation -- even if I have to pay for it...It would be great to see
something along the lines of the 'FAQTutorial' but with more indepth look at
available Velocity objects/macros and discussion of how
Documents/Classes/Objects/Properties are actually related....I can't believe this
stuff isn't better documented :(Hope someone can help me out...ThanksFrankExplore the
seven wonders of the world Learn more!
_________________________________________________________________
Discover the new Windows Vista
http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=Q…