_save_and_list: ~ should work.  I complained about this a long time
ago and wrote a patch for the functionality. I believe it has been in
the symfony core for quite some time now, but is not documented.

On Aug 10, 12:57 pm, Rhinocerologist <[EMAIL PROTECTED]> wrote:
> I saw that someone posted on this before and no one answered...
> perhaps we're trying to do something that isn't supported by symfony
> yet. In any case, here goes:
>
> In generator.yml I have:
>
> edit:
>       actions:
>         _list:         ~
>         _save:         ~
>         _save_and_add: ~
>         save_and_list:
>           name: save and list
>           action: saveandlist
>         _delete:       ~
>
> To quote the other person's post:
>
> as result  booth "save" and "save_and_add" actions are <input
> type="submit"
> but "save_and_do_something" action is <input type="button"
>
> I've tried adding...
> type: submit
> type: submit_tag
> params: type=submit
> params: type=submit_tag
>
> None of these work.
>
> So, can this be done? The type needs to be "submit" so that the form
> fields get submitted to the saveandlist action.


--~--~---------~--~----~------------~-------~--~----~
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