Thanks Anjo,
Great tip/technique. Learn something new every day with this stuff.
d
On 2011-03-07, at 10:50 AM, Anjo Krank wrote:
>> This works and is almost generic (ExcelDownload component is). However for
>> being truly generic it would be great if I could specify excelFileName and
>> displayNameForSectionKey dynamically with the entity name instead of hard
>> coding those into the rules as above. So what I want is a rule like
>
> Add:
> d2wContext.takeValueForKey(d2wContext.valueForKey("entity.name") +
> ".xls", "excelFileName");
>
> in your link method.
>
> Cheers, Anjo
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list ([email protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com
>
> This email sent to [email protected]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]