Re: D2W Question
Re: D2W Question
- Subject: Re: D2W Question
- From: Markus Ruggiero <email@hidden>
- Date: Wed, 02 Mar 2011 16:31:00 +0100
Jesse,
I am not sure if I understand you. How can I add a dummy property to the list *Page*? I can add a property to the records in the list (via displayPropertyKeys) resulting in an additional column but the requirement is that underneath the list above the [Return] button is an action element that takes the datasource for the list and creates an Excel file from it. Can I really add a property to the *page*? How would I do that, what would the rules look like? Thanks for any clarification.
Have fun (as I currently have *grin*)
---markus---
On 02.03.2011, at 15:55, Jesse Tayler wrote:
> typically, you can add a property to the list page, then assign a component to that property and make your component understand how to download your file based on the context.
>
> so, you're creating a custom component, and rules to add it onto the list and assign the component to a property in your list just so it has a column etc.
>
>
>
> On Mar 2, 2011, at 9:34 AM, Markus Ruggiero wrote:
>
>> Paul,
>>
>> Thanks, I already know how to create the Excel file. The problem I face is that I have several D2W list pages (user going from query to list for any entity) and I want to add a "Download as Excel" link/button/action/whatever to each one of them. The list pages are dynamically generated. How do I add my own display item to such a page? Of course I can freeze the page and then add the link manually but this de-couples me from the rule system as I cannot use Rule Modeler to further change the page(s) anymore. Any ideas?
>>
>> Thanks
>> ---markus---
>>
>> On 02.03.2011, at 13:57, Paul D Yu wrote:
>>
>>> Markus
>>>
>>> Dave Leber provided a very simple way to generating Excel files.
>>>
>>> See his blog here. http://davidleber.net/?p=369
>>>
>>> Paul
>>> On Mar 2, 2011, at 6:53 AM, Markus Ruggiero wrote:
>>>
>>>> Hi WO Developers, I need help with D2W,
>>>>
>>>> I want to provide a "Download as Excel" link on each list page. What is the best way to accomplish this? I know I can freeze a list page and modify it but this decouples me from the rule system. This is a plain out-of-the-box WonderD2W app.
>>>>
>>>> Thanks a lot
>>>> ---markus---
>>>>
>>>> PS: I am still very confused by the lack of documentation (or my not being able to find it). I do have the source to the Wonder Frameworks but even with that finding what I want to know is more or less like shooting with a shotgun into a large forest and hoping to hit something edible...
>>>>
>>>> _______________________________________________
>>>> 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
>>
>
>
_______________________________________________
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