Re: D2W Question
Re: D2W Question
- Subject: Re: D2W Question
- From: David Holt <email@hidden>
- Date: Mon, 07 Mar 2011 11:22:59 -0800
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@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