Re: Doing something stupid
Re: Doing something stupid
- Subject: Re: Doing something stupid
- From: Ray Ackland <email@hidden>
- Date: Wed, 13 Aug 2003 08:19:23 +1200
Reid,
The problem you were having is that an Integer is not a number. It is
an object that represents a number. Java doesn't like you adding a
scaler (int) to an object (Integer) so what Alan is doing is converting
them both to int, adding them, and then converting back to Integer -
which is the format (object) that WO requires them to be in.
Ray.
On Wednesday, Aug 13, 2003, at 04:59 Pacific/Auckland,
email@hidden wrote:
Assuming the Number is actually an Integer (you'll need to check your
model to see what value class is actually used but my guess is that
it's
an Integer) then this should work...
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.