사용자 지정 엔터티의 사용자 지정 구성 요소에 ofbiz 엔터티 엔진에서 제공하는 기본 CRUD 작업 기능을 사용하려고합니다. 이는 ProjectScreens.xml의 화면입니다.ofbiz- 구성 요소의 사용자 지정 엔터티에 대한 기본 CRUD 작업을 표시합니다.
<screen name="main">
<section>
<actions>
<set field="headerItem" value="main"/><!-- this highlights the selected menu-item with name "main" -->
</actions>
<widgets>
<decorator-screen name="ProjectCommonDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<label style="h3" text="show division entity here.."></label>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
레이블 대신 데이터베이스에서 모든 부분을 보여주는 표가있는 화면을 표시하고 CRUD에 대한 모든 옵션을 갖습니다. 그냥 개체에 대한 기본 엔티티 엔진에서 제공하는 화면처럼 :
은 기본 옵션을 사용하는 방법이 아니면 서비스를 작성해야합니다. 내 사용자 지정 구성 요소의 하이퍼 링크가이 엔티티 엔진 화면으로 이동하는 경우에도 사용할 수 있습니다.