Re: Booleans
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.
References: | |
| >Re: Booleans (From: David Griffith <email@hidden>) |