[xwiki-users] accessing & altering objects/class values
22 Dec
2006
22 Dec
'06
9:09 p.m.
Hello, I'm trying to do something I thought was simple, but I'm not figuring it out. I've got a page in my space called "test". Associated with that page is an object called "TestClass". TestClass has one field/property called "num1" which is of type long and currently set to 333. Now, I want to write the velocity code to simply get the value of num1, add 1 to it, and store it again in the num1 field so the next time I read it, it should have a value of 334. Can this be done? Any help is appreciated. Thanks, -jeff
7190
Age (days ago)
7190
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jeff Ousley