콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
2628 화면

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