Sergiu Dumitriu wrote:
>
> $obj.Genrus -- supports l10n or key-value properties
>
> $obj.getProperty("Genrus").value -- raw value
>
> $doc.display("Genrus") -- supports automatic forms (the view/inline switch)
>
> and there are others, but these are the most important.
>   

Thanks Sergiu. As usually, very precise and useful :-)
> By the way, you should use $doc.use($obj) before the foreach...
>
>   

I am seeing some weird thing here. For instance, in an iteration, I get 
all the documents sticking with a given condition but the last edited.

I don't know if this could or could not be related with the use of 
$doc.use($obj). I guees not, as far as the problem seems to affect to 
iterations retrieving a number of documents, not the properties in a class.

Anyway, please, why must I use $doc.use($obj) and how use it? 
Apparently, it has no effect on the result of the sample code I've post 
before.

Best regards,

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