私はこのフォームコードを持つ古いPropelとSymfonyアプリケーションを移植しています:
generator:
class: sfPropelGenerator
param:
model_class: UserForm
theme: default
config:
fields:
created_at: { params: date_format='dd.MM.yyyy HH:mm' }
updated_at: { params: date_format='dd.MM.yyyy HH:mm' }
list:
title: User Forms
display: [=form_name, product_line, created_at, updated_at]
filters: [form_name, product_line]
object_actions:
edit: { label: "Edit", action: "loadForm", icon: "/sf/sf_admin/images/edit.png" }
_delete: ~
actions:
_new: ~
ただし、PropelORMPluginにアップグレードしたため、「編集」ボタンが表示されなくなりました。つまり、「object_actions」が機能していないようです。
これは私がhttps://github.com/propelorm/sfPropelORMPlugin/blob/master/doc/admin_generator.mdを見つけることができた唯一のドキュメントです
新しいバージョンで「object_actions」を使用する正しい方法は何ですか?
編集:私はSymfony 1.0から1.3に、Propel(私は実際に見たことはありません)からsfPropelORMPluginに移植しています。