Zitat von Asiri Rathnayake <[email protected]>:
Okay, that's what I was missing. Now the *ClassSheet can be edited but I get an empty page (well, except for the header). I tried this:
#set($obj = $doc.getObject("XWiki.CharacterClass")) obj=${obj}
#set($class = $doc.getObject("XWiki.CharacterClass").xWikiClass) class=${class}
which gives me
obj=${obj}
class=${class}
in the output which probably means that it can't look up the class via getObject(). Any ideas what could be wrong, now?
Are you sure you have an Object of type "XWiki.CharacterClass" added to your page?
I just clicked on the buttons in the order the tutorial and the text on the wiki pages told me. I'm not aware that I created an instance of the class, yet. What I'm sure is that the class got created (coz I can add properties to it) and I copied the name of the class with cut&paste from the "edit properties for class ...." page. How can I check that this object exists? How can I add one if it doesn't exist? Or rather: Can someone, who knows XWiki for more than five minutes (like me) spend an hour to follow the FAQ tutorial and make it work with XWiki 1.9? I mean that was *the* feature which Vincent proudly presented at the Jazoon and it's *completely* broken with the current *release*! Guys, please, this must not happen! With OSS, you get only a single chance to piss people off forever. Regards, -- Aaron "Optimizer" Digulla a.k.a. Philmann Dark "It's not the universe that's limited, it's our imagination. Follow me and I'll show you something beyond the limits." http://www.pdark.de/ http://blog.pdark.de/