Localization issue

Jean Pierre Malrieu <[email protected]> Sat, 25 Jan 2014 12:22:27 +0100
Newsgroups gmane.comp.web.webobjects.wonder-disc
Message-ID <[email protected]>
I have faced a small problem with D2W and localization

The ERXBooleanSelector component has a yesString binding, and yet, when displaying a checkbox, it uses it's parent's component yesName variable:

YesName: ERXLocalizedString {
	value = ^yesName;
	valueWhenEmpty = "Yes";
}

Thus ERD2WCustomEditBoolean does not localize properly... I wonder if this can be fixed by modifying ERXBooleanSelector wod to

YesName: ERXLocalizedString {
	value = yesString;
	valueWhenEmpty = "Yes";
}

as this might break some person's code implementing yesName in a parent component (very unlikely given the existing yesString binding)...


JPM



------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk