Hi,

Sorry if this question is too basic, but I am not able to find the answer.

I am able to read all the properties of an instance of 
Species.SpeciesClass class in a document with this code:

#set($obj = $doc.getObject("Species.SpeciesClass").xWikiClass)
#foreach($prop in $obj.properties)
*${prop.prettyName}:* $doc.display($prop.getName())<br/>
#end

But, please, how could I read a single, let's say, Genrus property of 
this object?

Thanks!

Ricardo

-- 
Ricardo Rodríguez
Your EPEC Network ICT Team

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

Reply via email to