...
<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-screen.xsd">
<screen name="Mainmain">
<section>
<widgets>
<label text="This is first practice"/>
</widgets>
</section>
</screen>
...
Step - 3 : For loading the defintion you need to do an entry in your ofbiz-component.xml file like:
Code Block |
---|
<entity-resource type="model" reader-name="main" loader="main" location="entitydef/entitymodel.xml"/> |
...
Step - 1 : For extending an entity use
Code Block |
---|
<extend-entity entity-name=""> <field name="" type=""/> </extend-entity> |
...