开发者

Symfony change class name for widget used when generating forms

I have a little question re Symfony and the automatic creation of forms.

Basically what I need to do is to change the class name of the widget which gets used when creating a representation of a database field of type data/time.

Currently its creating a sfWidg开发者_运维技巧etFormDateTime() widget however I would like it to generate a widget from a class which I provide, ie. sfWidgetCustomFormDateTime().

Anyone got any ideas?

Thanks,


This is how you do it Symfony forms: how to change default widget for form generation

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜