• 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: Twofer: MySQL and java.lang.Boolean? WO Class like NSValueTransformer?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Twofer: MySQL and java.lang.Boolean? WO Class like NSValueTransformer?


  • Subject: Re: Twofer: MySQL and java.lang.Boolean? WO Class like NSValueTransformer?
  • From: Benjamin J Doherty <email@hidden>
  • Date: Wed, 25 Aug 2004 07:36:40 -0500

On Aug 24, 2004, at 9:39 PM, Rams wrote:

Sorry to reply to my own question, but I just tried using a custom
class in EOModeler and the results are quite strange in query windows.

isAdministrator now has the following...

Name: isAdministrator
Column: IS_ADMINISTRATOR
External Type: VARCHAR
Internal Data Type: Custom
External Width: 6
Class: java.lang.Boolean
Factory Method: valueOf
Conversion Method: toString
Init Argument: NSString

This is exactly what the WONDER ERPrototypes.framework says for MySQL. So you're right here, and it works for me.


Which works beautifully.  The problem is, sticking a
EOCheckBoxController in as a query widget has the effect of a
Master-Detail interface instead of that of a query widget.  Meaning, it
is disabled until a record is selected.  Once a record is selected,
changing the state of the checkbox changes the value of the record
selected?!  Is this a bug?  Any ideas on how to workaround it?

I've noticed this problem before, and I think it is a bug. I'm just wondering if maybe your design is lacking... "IS_ADMINISTRATOR" sounds like it should be an entity qualifier (for, say, an entity named "Administrator") in your EOModel that distinguishes it from a general "User" superclass.


CHANTING: BUSH/KERRY 2004! JAVACLIENT MAILING LIST NOW! Or will I be the third party candidate: create my own list, and see if I can get on the ballot in Omnigroups and lists.apple.com?
_______________________________________________
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:
    • java client mailing list
      • From: Nick Pilch <email@hidden>
References: 
 >Twofer: MySQL and java.lang.Boolean? WO Class like NSValueTransformer? (From: Rams <email@hidden>)
 >Re: Twofer: MySQL and java.lang.Boolean? WO Class like NSValueTransformer? (From: Rams <email@hidden>)

  • Prev by Date: Re: WOForm queryDictionary binding
  • Next by Date: Re: WOForm queryDictionary binding
  • Previous by thread: Re: Twofer: MySQL and java.lang.Boolean? WO Class like NSValueTransformer?
  • Next by thread: java client mailing list
  • Index(es):
    • Date
    • Thread