<screen name="EditWW">
<section>
<actions>
<set field="moduleId" value="ww"/>
<set field="headerItem" value="FindWW"/>
<set field="titleProperty" value="EditWW"/>
<set field="tabButtonItem" value="EditImpPriceSetting"/>
<set field="baseId" from-field="parameters.baseId"/>
<entity-one entity-name="ImpWW" value-field="entity"/>
</actions>
<widgets>
<decorator-screen name="ofc-EditScreenDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="edit-options">
<include-form name="EditWW" location="component://filmproduct/widget/comWW.xml"/>
<platform-specific>
<html>
<html-template location="component://com/webapp/filmproduct/action/comWW.ftl"/>
</html>
</platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
等同于
<screen name="EditWW">
<section>
<actions>
<set field="moduleId" value="ww"/>
<set field="headerItem" value="FindWW"/>
<set field="titleProperty" value="EditWW"/>
<set field="tabButtonItem" value="EditImpPriceSetting"/>
<set field="baseId" from-field="parameters.baseId"/>
<entity-one entity-name="ImpWW" value-field="entity">
<field-map field-name="baseId" from-field="parameters.baseId"/>
</entity-one>
</actions>
<widgets>
<decorator-screen name="ofc-EditScreenDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="edit-options">
<include-form name="EditWW" location="component://filmproduct/widget/comWW.xml"/>
<platform-specific>
<html>
<html-template location="component://com/webapp/filmproduct/action/comWW.ftl"/>
</html>
</platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
为何 为什么 查看entityone模型 源码 没怎么搞懂
OFBiz的screen中使用entity-one
猜你喜欢
转载自zgzlwm.iteye.com/blog/1903848
今日推荐
周排行