D2W Changing localization based on pageConfiguration
D2W Changing localization based on pageConfiguration
- Subject: D2W Changing localization based on pageConfiguration
- From: David Avendasora <email@hidden>
- Date: Mon, 07 Mar 2011 13:47:52 -0500
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