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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user