2 Mar
2010
2 Mar
'10
11:45 p.m.
Hi everybody, Is there a way to dynamically (through groovy code) change the values on a static list or on any other property of a xwiki class? I am using *field = document.getxWikiClass().get("propertyName")* to get the property. document is of type* com.xpn.xwiki.api.Document*. But when I try to change the value using * field.getPropertyClass().setValues("val1|val2|val3")* I get a *null* value from* field.getPropertyClass()* I am following the information on http://www.mail-archive.com/[email protected]/msg10692.html I am using groovy on xwiki 2.0.2.24645 Regards Abel