Hello,
 
 I was wondering about the code that is by default in a class sheet - when you create a class with the class wizard.
The class sheet has code to display all properties of one object of the concerned class. To display each property, you use the display() method which accesses a property through its name. Now imagine you have a page with objects of different classes, and some of the classes have same-named attributes. The respective class sheets are all included in the page. Then the display() method, when used, will be confused.
How about replacing the Velocity call
 
$doc.display($prop.getName())
 
by this one :
 
$doc.getObject("YourClassSpace.YourClass").get($prop.getName())
 
? What do you think ?

--
Jean-Vivien MAURICE
Elève Ingénieur Informatique et Gestion, Polytech'Montpellier (ISIM)
E-mail : jean.vivien.maurice@gmail.com
Tél. : 0046 7 62 33 20 46
Skype : jean.vivien