Re: Access bindings at runtime
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.