<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"/>
[color=red][b] <entity-one entity-name="ImpWW" value-field="entity"/>[/b][/color]
</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"/>
[color=red][b] <entity-one entity-name="ImpWW" value-field="entity">
<field-map field-name="baseId" from-field="parameters.baseId"/>
</entity-one>
[/b][/color]
</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>
[color=red][b]为何 为什么 查看entityone模型 源码 没怎么搞懂[/b][/color]
<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"/>
[color=red][b] <entity-one entity-name="ImpWW" value-field="entity"/>[/b][/color]
</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"/>
[color=red][b] <entity-one entity-name="ImpWW" value-field="entity">
<field-map field-name="baseId" from-field="parameters.baseId"/>
</entity-one>
[/b][/color]
</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>
[color=red][b]为何 为什么 查看entityone模型 源码 没怎么搞懂[/b][/color]