• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Doing something stupid
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Javadoc for OSX
  • Next by Date: Re: Fetch Spec Problem - using distict
  • Previous by thread: Re: Doing something stupid
  • Next by thread: Further to the Javadoc Email I sent
  • Index(es):
    • Date
    • Thread