Adding functionality to existing View D2W
Adding functionality to existing View D2W
- Subject: Adding functionality to existing View D2W
- From: Theodore Petrosky <email@hidden>
- Date: Sun, 07 Sep 2014 14:38:52 -0400
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