• 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: Using NSDictionary as attribute
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using NSDictionary as attribute


  • Subject: Re: Using NSDictionary as attribute
  • From: Chuck Hill <email@hidden>
  • Date: Fri, 10 Dec 2004 18:29:08 -0800

I think plist de-serialization treats all values (other than array and
dictionary as String.  To preserve object type XML seems like your best
choice.  Or use cover methods to access the dictionary contents and
converted the values as needed.



At 05:06 PM 10/12/2004 -0500, Jacky Gagnon wrote:
>Hi,
>
>I tried to use an immutable NSDictionnary as attribute.  I can write it
>to the database in plist format, but I cannot read it correctly. The
>problem is with  Boolean value in  NSDictionary; in the conversion from
>plist to NSDictionary, they lost their type and WebObjects created
>String from Boolean value in the plist...
>
>Is this a bug with WebObjects, or I cannot use Boolean in NSDictionary
>as attribute?
>
>Thanks!
>
>Jacky
>
> _______________________________________________
>Do not post admin requests to the list. They will be ignored.
>Webobjects-dev mailing list      (email@hidden)
>Help/Unsubscribe/Update your Subscription:
e.net
>
>This email sent to email@hidden
>

--

Chuck Hill                                 email@hidden
Global Village Consulting Inc.             http://www.global-village.net
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Using NSDictionary as attribute
      • From: Robert Walker <email@hidden>
References: 
 >Using NSDictionary as attribute (From: Jacky Gagnon <email@hidden>)

  • Prev by Date: Re: Template for WO Component java file?
  • Next by Date: Re: Using NSDictionary as attribute
  • Previous by thread: Using NSDictionary as attribute
  • Next by thread: Re: Using NSDictionary as attribute
  • Index(es):
    • Date
    • Thread