In case it makes a difference I'm using CakePHP 1.2
Jeremy David Pointer wrote:
> It's always boggled me why there are lots of many to many relationship 
> examples but hardly any one to many examples.
>
> My major stumbling block here is how to set up the form and controller 
> to save the detail lines when 'Save' is clicked and how to manage the 
> detail table when <Add>/<Del> are clicked.
> Is there an example/sample/tutorial someone can point me to, of one to 
> many forms with an editable grid out there, i.e. something like an 
> invoice/order form such as below
> the ||'s indicate editable fields and <>'s buttons/links.
>
> | Customer Choosing combo/Auto complete |v|
> Address1
> Address2
> Address3
>
> Item Code   Qty   Unit Price     Total
> |                 ||        ||                  ||           | <Del>
> |                 ||        ||                  ||           | <Del>
> |                 ||        ||                  ||           | <Del>
> <Add>
> --------------------------------------------------
>                                             SubTotal
>                                                     Tax
>                                                   Total
> <Save>
>
> Any other ideas/ you're an idiot's etc are welcome so long as they are 
> helpful.
>
> Regards
> Jeremy
>
>
> >   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to