Re: ERXLocalizer getting rid of the binding errors?
Re: ERXLocalizer getting rid of the binding errors?
- Subject: Re: ERXLocalizer getting rid of the binding errors?
- From: Anjo Krank <email@hidden>
- Date: Fri, 4 Jul 2008 08:52:52 +0200
Use loc:value="foo.bar.baz".
Cheers, Anjo
--
iFill, free music from thousands of radio streams
http://ifill.twosailors.net
Am 04.07.2008 um 08:43 schrieb Paul Stringer:
Hi all,
I'm using ERXLocalizer and getting values from it using KVC bindings
in my WODs. When I do this with WOLips I get the errors "There is no
key '$key' for the keypath 'localizer' in '$YourComponent''" I want
to get rid of them all but not sure how.
My bindings look like:
aLocalizedString : WOString{
value = localizer.a.localized.string.key.path; // localizer is an
accessor in my component to ERXLocalizer.currentLocalizer();
}
I can fix this for strings by changing this to use
ERXLocalizedString however this doesn't help with other things, for
instance a WOSubmitButton I have where I'm using something like
value = localizer.form.submit.ok I thought about
"$localizer.key.path" but had no success from the WOD with this.
How do you fix? I'm sure everyone else isn't going around with all
those big red errors...
Thanks
Paul
Treasuremytext.com
_______________________________________________
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
_______________________________________________
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