跳至内容
菜单
此问题已终结
1 回复
2545 查看

Hi,

How can I display or not Edit and Create buttons in a form depending on state?

I know how to do it on a normal button, but not for these.

Thanks,
Pau

形象
丢弃
最佳答案

Create / Save / Edit / Delete are ORM methods incorporated with Framework, hence those buttons are loaded along with the Framework/XML view, which will be loaded first ... and later the data is fetched from database..

hence, once the view is loaded, one cannot change it, based on single record's data...
 

形象
丢弃
编写者

Very clear explanation. Thanks. 2 beers. :p