Hi Tristan,

      I got the same question a few seconds ago and got it through
now. The parameters are still there. Since the method used is POST and
you have to use $request->getPostParameter('YOUR PARAM') to get the
value. However, you have to go back to the form in your browser and
get the new parameter name since symfony changed them.

Howard


On 11月20日, 上午11時52分, Tristan <tristan.bessou...@gmail.com> wrote:
> Hi,
>
> I'm implementing concrete inheritance in my model. So I'm trying to do
> (i'm taking example upon jobeet) :
>
> When a user try to post his CV, he'll be redirected on a page on which
> he will be choosing his main skill (Developper / Network). Both of dev/
> network inherits from future_employees, cause it has common
> informations in it.
>
> If he he chooses developper, the form displayed contained additionnal
> information + common information thanks to the concrete inheritance =>
> it works great [http://pastie.org/private/giykemr6ptxi8pak3pzbg]
>
> But as soon as the create action is called, it looses the parameter
> 'category' and redirects me to a futureEmployeeForm form full of error
> (missing required parameters), which is logic, because i did not fill
> a futureEmployeeForm but a developperForm. 
> [http://pastie.org/private/voy4ljhjv7gdoko8qk5jpa
> ]
>
> What's going on ? How to preserve the parameter so that error can be
> fixed ? Or maybe i'm not using a good method to resolve this
> inheritance case ?
>
> Thanks

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to