I want to create properties for a new class on a blank document with groovy. I can do the
following:
def doc = xwiki.getDocument("space.docname")
c = doc.getxWikiClass();
and look at elements of a class that already exists by doing:
prop = c.get('propertyname')
propToEdit = prop.getPropertyClass
propToEdit.setValues('a|b|c')
But, how can I add a new property to a class that has no existing properties/fields?
Thanks,
-Mike
_________________________________________________________________
The New Busy is not the old busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:…