On 10/13/2011 12:18 PM, Paul Libbrecht wrote:
hello XWiki experts,
I have an object property that's of type number.
I have not been able to find the type of a variable x so that:
doc.getObject("Space.Class").set("amountr", x)
doc.save()
works without a hibernate error.
What is the error you get?
I tried float or integer "sub-type" of
number.
What should I put?
I tried with x=new Float(1.0f) but failed.
thanks for hints.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/