Investigating http://platform.xwiki.org/xwiki/bin/view/DevGuide/DatabaseSchema and trying other number formats got it working for float (xwikifloats table). Groovy code: .. Float daudzums daudzums = Float.parseFloat(string) ...
Actually I need only integer eg 11 in place of 11.0 but this is minor issue. I suspect there is some misuse between int and Integer for integer types. Valdis > I'm trying to save custom object values, and can only for strings > using advanced script from > http://platform.xwiki.org/xwiki/bin/view/DevGuide/GroovyNotificationTutorial > For Number type (tried integer and long), I couldn't save value in any > way. Tried explicitly define as > int daudzums > and > daudzums = Integer.parseInt(string) > > I exhausted my ideas and would like to get some more :-/ > > Exception: ... _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
