Hi,

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?


Select Edit-> Objects.

Usually there is always an object of type "XWiki.TagClass" added to your
page by default.

Other than this, in your case there should be an Object of type
"XWiki.CharacterClass" also present on the document for following code to
work:

<code>
#set($obj = $doc.getObject("XWiki.CharacterClass"))
obj=${obj}

#set($class = $doc.getObject("XWiki.CharacterClass").xWikiClass)
class=${class}
</code>

If no such object is present, use the 'Add Object' panel on the right side
(Edit->Object view) to add an object. If you have a class named
"XWiki.CharacterClass" correctly created, it should appear on the list of
classes on the 'Add Object' panel.


>
>
> 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.
>

Give me 10 mins, I'm trying the tutorial now :)

Thanks.

- Asiri
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to