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 include the class: #includeForm("$space.TestClass") because I wanna get those prop: #includeForm("$space.TestClass") #set($object = $doc.getObject("$space.TestCkass").xWikiClass) object - $object #foreach($prop in $object.properties) -- ${prop.prettyName} </dt> : $doc.display($prop.getName())</dd> #end and my $object shows nothing. probably my favourite question....what am i missing here? Thanks -- View this message in context: http://n2.nabble.com/get-prop-from-a-class-tp4175285p4175285.html Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users