On 11/24/2010 02:59 PM, Pidoux75 wrote: > I use this code in the second Class Sheet, all is ok in 'view' mode but > problem come when I go in 'inline' mode. I get problem with result from > $obj.get(objectname) apparently.
$obj.get('propname') is equivalent to $doc.display('propname', $obj) which changes the display mode according to the current mode: view, edit. Use $obj.getProperty('propname').getValue() instead. -- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users