Hi, thanks for your reply. This is my form template:
================================================================
<form method="post"
action="{{ path("_sell") }}" {{ form_enctype(form) }}>
{{ form_widget(form) }}
<input type="submit" value="{{ "sell" | trans }}" />
</form>
================================================================
It renders like this:
================================================================
<form method="post" action="/sell" >
<div id="sell" name="sell" required="required"><div><label
for="sell_title">Title</label><input type="text" id="sell_title"
name="title" required="required" value="" /></div><div><label
for="sell_subtitle">Subtitle</label><input type="text"
id="sell_subtitle" name="subtitle" required="required" value="" /></
div><div><label for="sell_lifetime">Lifetime</label><input type="text"
id="sell_lifetime" name="lifetime" required="required" value="" /></
div><div><label for="sell_description">Description</label><textarea
id="sell_description" name="description" required="required"></
textarea></div></div>
<input type="submit" value="sell" />
</form>
================================================================
The strange thing is, that it was working some days ago. I'm not sure
if i changed anything relevant or if this problem occured after
updating my vendor libraries.
Another workaround for me is to use
$form->bind($this->get('request')->request->all());
instead of
$form->bindRequest($this->get('request'));
On Jun 30, 2:22 am, Luis Cordova <[email protected]> wrote:
> I think your problem is that you don't render the <form tag perhaps or
> you do it with wrong fields.
>
>
>
>
>
>
>
> On Wed, Jun 29, 2011 at 4:14 PM, Kawa <[email protected]> wrote:
> > Sorry, maybe i should had posted this to the user mailing list...
>
> > --
> > 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 developers" 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-devs?hl=en
--
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 developers" 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-devs?hl=en