Bug - Screen Link Ajax Windows (https://issues.apache.org/jira/browse/OFBIZ-4183) - Erwan found a bug regarding the layered links in the example screens, it's fixed, i created a seperated screen for the layered link. Thanks Erwan for reporting.

Orig. Msg.:
now there is a problem when you click on an example to edit it, the decorator is no more present on the form.

to reproduce
In example component, search all examples the click on an id.
    


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1072303 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sascha Rodekamp
2011-02-19 10:47:53 +00:00
parent 3b20b9c06f
commit 007a92695b
2 changed files with 22 additions and 2 deletions
@@ -39,7 +39,7 @@ under the License.
<widgets>
<decorator-screen name="FindScreenDecorator" location="component://common/widget/CommonScreens.xml">
<decorator-section name="menu-bar">
<container style="button-bar"><link target="EditExample" link-type="ajax-window" height="350" width="480" text="${uiLabelMap.ExampleNewExample}" style="buttontext create"/></container>
<container style="button-bar"><link target="EditExampleLayer" link-type="ajax-window" height="350" width="480" text="${uiLabelMap.ExampleNewExample}" style="buttontext create"/></container>
</decorator-section>
<decorator-section name="search-options">
<include-form name="FindExamples" location="component://example/widget/example/ExampleForms.xml"/>
@@ -59,7 +59,7 @@ under the License.
</section>
</screen>
<screen name="EditExample">
<screen name="EditExampleLayer">
<section>
<actions>
<set field="titleProperty" value="PageTitleEditExample"/>
@@ -73,6 +73,24 @@ under the License.
</section>
</screen>
<screen name="EditExample">
<section>
<actions>
<set field="titleProperty" value="PageTitleEditExample"/>
<set field="tabButtonItem" value="EditExample"/>
<set field="exampleId" from-field="parameters.exampleId"/>
<entity-one entity-name="Example" value-field="example"/>
</actions>
<widgets>
<decorator-screen name="CommonExampleDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<include-form name="EditExample" location="component://example/widget/example/ExampleForms.xml"/>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="ExampleReport">
<section>
<actions>