• 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: Access bindings at runtime
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Access bindings at runtime


  • Subject: Re: Access bindings at runtime
  • From: Jim Rankin <email@hidden>
  • Date: Tue, 3 Feb 2004 18:45:47 -0500

On Feb 3, 2004, at 5:55 PM, David Griffith wrote:

> P.s.  Looking at the example below, at first I didn't really
> understand it.
> Like I said, I don't really understand how the WO Localisation works.

I don't think this code leverages WO localisation but WO Key Value
Coding.  That's the topic you want to investigate to understand it
better.

>   Where
> you have put 'session.localizedString.todaysDateIs' - is
> 'todaysDateIs' like
> a placeholder or identifier for the string to be looked up?

Evidently.  Interesting, I didn't know this worked.  I don't see a
reference to this usage in the "valueForKeyPath" javadoc.  Learn
something new every day.

>   That's
> basically what I am looking for.  And by implementing 'stringInLocale'
> to
> search in the database, is this intended to search the database
> instead of
> the localised.strings file?  If so, how does
> 'session.localizedString.todaysDateIs' pass the value to the method in
> the
> session?  I.e. The 'key'
>

Again, Key Value Coding.

Good luck,
  -jimbo

Excelsior! XML Marshaller for Cocoa
http://www.homepage.mac.com/jimbokun/Excelsior.html
_______________________________________________
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: Access bindings at runtime (From: David Griffith <email@hidden>)

  • Prev by Date: Re: Java 1.4.2 Update ..... safe for WO
  • Next by Date: Re: Access bindings at runtime
  • Previous by thread: Re: Access bindings at runtime
  • Next by thread: Re: Access bindings at runtime
  • Index(es):
    • Date
    • Thread