...ah! you were right Anca, i forgot to add the object from that class. Danke
lucaa wrote:
>
>
>
> On 12/16/2009 03:58 PM, Josh wrote:
>> Hello,
>>
>> Bubulina wrote:
>>> Hello Sergiu,
>>>
>>> it was a typo when i wrote by hand the code here.
>>> I include the TestClass, that has the propert
On 12/16/2009 03:58 PM, Josh wrote:
> Hello,
>
> Bubulina wrote:
>> Hello Sergiu,
>>
>> it was a typo when i wrote by hand the code here.
>> I include the TestClass, that has the properties, but the line that should
>> give me the object from it:
>> #set($object = $document.getObject("spaceName.T
Hello,
Bubulina wrote:
> Hello Sergiu,
>
> it was a typo when i wrote by hand the code here.
> I include the TestClass, that has the properties, but the line that should
> give me the object from it:
> #set($object = $document.getObject("spaceName.TestClass").xWikiClass)
> returns nothing...
>
Hello Sergiu,
it was a typo when i wrote by hand the code here.
I include the TestClass, that has the properties, but the line that should
give me the object from it:
#set($object = $document.getObject("spaceName.TestClass").xWikiClass)
returns nothing...
Sergiu Dumitriu-2 wrote:
>
> On 12/16/
On 12/16/2009 02:08 PM, Bubulina wrote:
>
> Hello
>
> 1. i create a class and add n properties. besides the properties added i
> have this code:
> #set( $class = $doc.name.substring(0,$doc.name.indexOf("Class")))
> #set($defaultparent = "XWiki.${class}Class")
> #set($defaultweb = "Test")
> #include
Hello
1. i create a class and add n properties. besides the properties added i
have this code:
#set( $class = $doc.name.substring(0,$doc.name.indexOf("Class")))
#set($defaultparent = "XWiki.${class}Class")
#set($defaultweb = "Test")
#includeForm("XWiki.ClassSheet")
2. i create doc where i inclu