Re: D2W Changing localization based on pageConfiguration
Re: D2W Changing localization based on pageConfiguration
- Subject: Re: D2W Changing localization based on pageConfiguration
- From: Anjo Krank <email@hidden>
- Date: Mon, 07 Mar 2011 20:39:26 +0100
Check out the ERDDefaultDisplayNameAssigment for possible key combos (or create your own default assignment).
Cheers, Anjo
Am 07.03.2011 um 19:47 schrieb David Avendasora:
> Hi,
>
> I have two pageConfigurations in my app that display the same set of columns. One is intended for humans, and the other is an excel page that is intended to be parsed by an outside system.
>
> I need the column headers in the human-targeted page to be human-friendly like "First Name" but for the Excel file I want it to be "FirstName"
>
> I can make this work with no problem with a rule like:
>
> 100 : (pageConfiguration like 'ExcelListExportSegmentationInfo' and propertyKey = 'samsSchoolStudent.school.id') => displayNameForProperty = School_ID [com.webobjects.directtoweb.Assignment]
>
> But I would like to keep this out of the Rule file if at all possible and I was thinking of putting it in the Localizable.strings.
>
> Is there a way to have compound Keys in the Localizable.strings file, or is there some even better way of doing this?
>
> Thanks!
>
> Dave _______________________________________________
> 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