Hi,

The point is that if you have let's say an invoice to show/edit, you
need to provide a form with the invoice-number, invoice-date,
customer, employee, ... . That's the "1" side of the relation ship. A
simple formwidget and the associated controller method does the job.
Now below this form, on the same page I'ld like to present the
productlines bought in a list style display. That's the "many" side of
the relation. Is there a way to have another controller method to
provide the data for that list with an @expose(d) template to display
that list and that I can "include" below the form in the first
template.

Thx for any advice

On Jul 2, 5:23 am, "Daniel Fetchinson" <[EMAIL PROTECTED]>
wrote:
> > I've a question about merging multiple results from multiple
> > controllers and templates together. The problem raises when I have a 1
> > to many relationship to represent. Let's say an invoice (with Nr,
> > date, customer, ...) and below the invoice lines. I'ld like to have
> > separate controllers for the invoice detail with a "form"template
> > exposed and another controller with a "list"template exposed and get
> > the page put together from these pieces.
>
> Could you explain it more clearly what you mean?
> I simply don't understand what you try to accomplish.
>
> Cheers,
> Daniel
> --
> Psss, psss, put it down! -http://www.cafepress.com/putitdown
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to