I solved my problem with this: http://trac.symfony-project.org/ticket/5867
Att,
Pedro Casado
On Wed, Apr 7, 2010 at 1:03 AM, Pedro Casado wrote:
> Patter, can you show me your removeEmbedded ?
>
> Thanks
>
> Att,
> Pedro Casado
>
>
>
> On Thu, Mar 5, 2009 at 7:49 PM, isleshocky77 wrote:
>
>>
Patter, can you show me your removeEmbedded ?
Thanks
Att,
Pedro Casado
On Thu, Mar 5, 2009 at 7:49 PM, isleshocky77 wrote:
>
> Patter,
> So I just updated my plugin which is using a lot of this. I think
> what I ended up doing is actually pretty clean. I took some cues from
> what you said
Patter,
So I just updated my plugin which is using a lot of this. I think
what I ended up doing is actually pretty clean. I took some cues from
what you said as far as the updateObject, but I didn't need to make an
embeddedForm function because I'm deleting the object there. You can
check out
Hi Stephen,
yes I mailed you :-). I have used User just for example and my form is
more complicated. Let say a UserObject have one FamilyObject and this
FamilyObject have one or two ParentsObjects. So in UserForm is
embedded FamilyForm with embedded FamilyForms (something like this -
three levels
Hi patter,
What I'd do is unset the embedded form as if ot was any other field.
if($postedValues[..insert your input name...]=='')
unset($subForm['embededFormName'])
Do this from anywhere before you bind the data. You could also
override the bind method in your form, unset the form there, a
Patter,
Did you happen to email this week? Someone emailed me regarding this
issue, and I just went to reply but I can't find the email. If it was
or wasn't you, according to a changeset I have from a month or two ago
I did get it to work correctly; however, I'm not exactly sure what I
did. If