Add xls screen renderer to convert a screen definition like an html flow directly ready by a spreadsheet application

In addition, add an export example button on FindExample screen and add complete macro ftl renderer unit test. Issue OFBIZ-6931 proposed by Leila Mekika. Thanks to her, jacques and pierre for theirs remarks.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1746045 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Nicolas Malin
2016-05-29 18:38:26 +00:00
parent 855331db32
commit 64038c5f45
4 changed files with 45 additions and 1 deletions
+25
View File
@@ -64,6 +64,31 @@ under the License.
</section>
</screen>
<screen name="ListExampleExport">
<section>
<widgets>
<decorator-screen name="SimpleDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<section>
<condition>
<if-has-permission permission="EXAMPLE" action="_VIEW"/>
</condition>
<actions>
<set field="exampleCtx" from-field="parameters"/>
</actions>
<widgets>
<include-form name="ListExampleExport" location="component://example/widget/example/ExampleForms.xml"/>
</widgets>
<fail-widgets>
<label style="h3">${uiLabelMap.ExampleViewPermissionError}</label>
</fail-widgets>
</section>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EditExampleLayer">
<section>
<actions>