No batch action (and no checkbox) after installation

40 views
Skip to first unread message

yan...@gmail.com

unread,
Mar 28, 2014, 6:37:24 AM3/28/14
to symfony2adm...@googlegroups.com
Hi,

I try the new AdminGenerator with symfony2.
I installed the version 2.3.*@dev and I had no problèms.
The generator works but the batch does not appear despite the default configuration (the delete batch action).

I don't understand why.

Thanks for your help.

Yano


Here my config file (yml)

params:
    model: Yano\AnnuaireBundle\Entity\Personne
    namespace_prefix: Yano
    concurrency_lock: ~
    bundle_name: AnnuaireBundle
    pk_requirement: ~
    fields: ~
    object_actions:
        delete: ~
    batch_actions:
        delete: ~
builders:
    list:
        params:
            title: List for AnnuaireBundle
            display: ~
            actions:
                new: ~
            object_actions:
                edit: ~
                delete: ~
    excel:
        params: ~
        filename: ~
        filetype: ~
    filters:
        params:
            display: ~
    new:
        params:
            title: New object for AnnuaireBundle
            display: ~
            actions:
                save: ~
                list: ~
    edit:
        params:
            title: "You're editing the object \"%object%\"|{ %object%: Personne.title }|"
            display: ~
            actions:
                save: ~
                list: ~
    show:
        params:
            title: "You're viewing the object \"%object%\"|{ %object%: Personne.title }|"
            display: ~
            actions:
                list: ~
                new: ~
    actions:
        params:
            object_actions:
                delete: ~
            batch_actions:
                delete: ~



Cédric Lombardot

unread,
Mar 31, 2014, 6:44:18 AM3/31/14
to Symfony2 Admingenerator bundles support for users


--
--
You received this message because you are subscribed to the Google
Groups "Symfony2 Admingenerator bundles support for users" group.
To post to this group, send email to
symfony2adm...@googlegroups.com
To unsubscribe from this group, send email to
symfony2admingene...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony2admingenerator?hl=en
 
---
Found bundle documentation at http://symfony2admingenerator.org/

---
You received this message because you are subscribed to the Google Groups "Symfony2 Admingenerator bundles support for users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to symfony2admingene...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

yan...@gmail.com

unread,
Apr 9, 2014, 9:31:11 AM4/9/14
to symfony2adm...@googlegroups.com
Hi Cédric,
Thanks for your answer, indeed I had forgotten to put in list config:
            batch_actions:
                delete: ~
Yano
Reply all
Reply to author
Forward
0 new messages