I'm almost there. The Symfony 1.2 book is OK, but the website on forms
seems a lot better. (Almost there means ready to ask more
questions :-) The learning curve is VERY steep on this thing. Not as
bad as reading through 'Oracle Speak' documentation, but at least 40%
as involved.

If nothing else, I will help leave a trail on this subject on the
groups.

On Sep 22, 10:10 pm, Richtermeister <[email protected]> wrote:
> Hey Dennis,
>
> you should be able to embed relatedformsin each other.
> Sounds like the userform should be your starting point, and in the
> configure function do something like:
>
> foreach($this -> object -> getAddresses() as $key => $address)
> {
>   $this -> embedForm("form_".$key, new AddressForm($address);
>
> }
>
> It gets a little tricker when you want to create a new user and new
> addresses at the same time, since you also need to associate the
> entities with each other before you embed theforms, but that's the
> general idea.. feel free to ask about specifics once you get there.
>
> Daniel
>
> On Sep 22, 5:02 pm, Dennis <[email protected]> wrote:
>
> > No 'bytes' huh? I bought a lot of books on symfony/doctrine, guess
> > I'll look at those.
>
> > PS, DON'T use 'char(acter)' fields in a Doctrine/Postgresql
> > combination. The fields stay zero padded and when a field gets edited,
> > it ends up too long, even if the original version, unedited, is saved.
> > Doctrine/Postgresql is not ready for prime time unless you want to
> > work around the bugs.
>
> > On Sep 21, 4:36 pm, Dennis <[email protected]> wrote:
>
> > > If I have a table of 'users', with a table of 'addresses', and a table
> > > of 'ramblings', how would I get either a combination of an address and
> > > a userformson a pabe, or a user and a rambling form on apage. Any
> > > automatic way, like in the jobeet tutorial for single table/objects?
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" 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/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to