Re: Adding functionality to existing View D2W
Re: Adding functionality to existing View D2W
- Subject: Re: Adding functionality to existing View D2W
- From: Timothy Worman <email@hidden>
- Date: Mon, 08 Sep 2014 10:36:50 -0700
Ted:
There are some excellent pages on the WOCommunity wiki about how to customize D2W. In general, you subclass components to give them custom functionality and then you use the rule system to inject your custom components into the flow of the project.
http://wiki.wocommunity.org/pages/viewpage.action?pageId=1048915&src=search
The “Flow Control” document would be useful in giving you options for putting your own actions into your projects.
Tim
UCLA GSE&IS
> On Sep 7, 2014, at 11:38 AM, Theodore Petrosky <email@hidden> wrote:
>
> I hope my subject line isn’t too far off the mark.
>
> I want to understand more of D2W so, I am creating a simple Invoicing project. it has Users (with differing permissions), clients, inventory, and invoices (so far). I am not attempting to create a complete ledger with control accounts, at least not yet as it is beyond the scope of this self tutorial.
>
> I create an invoice and assign it to a client. then I add line items from inventory. Line items have a list price. so an Invoice has a to-many relation to invoiceLineItems which is to one lineItem.
>
> simple, but now I want to print this invoice. When I select edit on the ListInvoice page, I see it is a ERMODInspectPage. I guess I could create my own version of the page, cloning it into my framework, then I could add a ‘Print’ button, passing the object() to a JasperReport function. There must be a WO way of doing this that I just don’t understand.
>
> I have a list of invoices, I click the edit button and I want to ‘print’ this object. How to inject this ‘print’ button, icon, widget, in D2W? And if the answer is “Clone ERMODInspectPage and add the appropriate code”, so be it.
>
> Ted
> _______________________________________________
> 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