Files
ofbiz-framework/framework/example/widget/example/BirtScreens.xml
T

71 lines
3.4 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-screen.xsd">
<screen name="main">
<section>
<actions>
</actions>
<widgets>
<decorator-screen name="CommonBirtDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<section>
<widgets>
<label style="h3" text="BIRT is an open source Eclipse-based reporting system that integrates with any OFBiz application to produce compelling reports including graphical presentations like pie and bar charts."/>
<label style="h3" text="This application provides you with a sample product report."/>
<label style="h3" text="See the help option how to create your own OFBiz intergrated reports."/>
<link style="h3" text="or see the Birt home for more information" target="http://eclipse.org/birt/phoenix/intro/" url-mode="plain" target-window="_blank_"/>
</widgets>
</section>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="Report">
<section>
<actions>
<set field="tabButtonItem" value="Report"/>
</actions>
<widgets>
<decorator-screen name="CommonBirtDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<section>
<widgets>
<screenlet title="Using report tag">
<platform-specific>
<html>
<html-template location="component://example/webapp/birt/birt/report.ftl"/>
</html>
</platform-specific>
</screenlet>
</widgets>
</section>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EditMail">
<section>
<actions>
<set field="tabButtonItem" value="Mail"/>
</actions>
<widgets>
<decorator-screen name="CommonBirtDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<section>
<widgets>
<screenlet title="Send BIRT report by mail">
<include-form location="component://example/widget/example/BirtForms.xml" name="EditMail"/>
</screenlet>
</widgets>
</section>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
</screens>