• 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: Booleans
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Booleans


  • Subject: Re: Booleans
  • From: Chuck Hill <email@hidden>
  • Date: Thu, 11 Mar 2004 09:30:28 -0800

Try removing the value type. I think that c is incorrect for this usage.
See also http://wodev.spearway.com/cgi-bin/WebObjects/WODev.woa/wa/Main? wikiPage=BooleanModeling


Chuck


On Mar 10, 2004, at 8:57 PM, David Griffith wrote:

HI all,

I have en EOPrototype set up in my EOModel like this:

Name: boolean
Value Class:  java.lang.Boolean
Factory Method:  valueOf
Conversion Method:  toString
Init Arguament: NSString

And I have just added 'c' as the value type.

The value stored in the database as a result is 'true' or 'false' and
it is
getting stored ok.

However, anytime I reference the value in code, like:

orderStatus.oscIsShipped()

I ALWAYS get false.  No matter what.  Even though it is true in the
database.

It's got to be something small, can someone tell me why? It's driving
me
crazy.


Regards,
Dave.
_______________________________________________
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.
_______________________________________________
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.
_______________________________________________
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.
_______________________________________________
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.


  • Follow-Ups:
    • Re: Booleans
      • From: David Griffith <email@hidden>
References: 
 >Re: Booleans (From: David Griffith <email@hidden>)

  • Prev by Date: Re: Gini
  • Next by Date: Re: Booleans
  • Previous by thread: UnDo history in Eclipse
  • Next by thread: Re: Booleans
  • Index(es):
    • Date
    • Thread