Hi,

On Fri, Jun 26, 2009 at 2:08 AM, Aaron Digulla <[email protected]> wrote:

> Vincent Massol schrieb:
> > On Jun 25, 2009, at 8:45 PM, Jean Couteau wrote:
> >
> >> Aaron Digulla a écrit :
> >>> Aaron Digulla schrieb:
> >>>
> >>>
> >>>> Okay, I got past the creation of the class but now it fails in
> >>>> "Create
> >>>> Document Sheet" with:
> >>>>
> >>>> content: No renderer found for target syntax [XWiki 1.0]
> >>>>
> >>> Same happens with XWiki 2.0M1. Seriously, is there a version of XWiki
> >>> where this works?
> >>>
> >>> Regards,
> >>>
> >>>
> >> Yes, older versions,
> >>
> >> in fact there was a change of syntax between versions 1.8 and 1.9
> >> (Vincent, correct me if I am wrong).
> >>
> >> I use that on xwiki 1.5 everyday.
> >>
> >> I did not try the last versions yet, but i reckon that if you change
> >> your config to xwiki 1.0 for default syntax like Vincent told you, it
> >> should work on 1.9 or 2.0
> >
> > yes exactly. That's what I did at jazoon for my demo (i.e set the
> > default syntax to be 1.0).
> >
> > To change to syntax 1.0 for newly created pages see the instructions
> > here:
> >
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HConfiguringWikiSyntaxesanddefaultSyntax
>
> 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?

Thanks.

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

Reply via email to