|
Author: buscob
Date: Sun Dec 20 18:22:09 2009 New Revision: 892633 URL: http://svn.apache.org/viewvc?rev=892633&view=rev Log: Moved Birt demos in the Example application. (OFBIZ-3352) Added: ofbiz/trunk/framework/example/webapp/birt/ ofbiz/trunk/framework/example/webapp/birt/report/ ofbiz/trunk/framework/example/webapp/birt/report.ftl ofbiz/trunk/framework/example/webapp/birt/report/product.rptdesign ofbiz/trunk/framework/example/webapp/example/WEB-INF/birt.tld ofbiz/trunk/framework/example/widget/example/BirtForms.xml ofbiz/trunk/framework/example/widget/example/BirtScreens.xml Removed: ofbiz/trunk/framework/birt/webapp/ ofbiz/trunk/framework/birt/widget/ Modified: ofbiz/trunk/framework/birt/config/BirtUiLabels.xml ofbiz/trunk/framework/birt/ofbiz-component.xml ofbiz/trunk/framework/example/config/ExampleUiLabels.xml ofbiz/trunk/framework/example/webapp/example/WEB-INF/controller.xml ofbiz/trunk/framework/example/widget/example/CommonScreens.xml ofbiz/trunk/framework/example/widget/example/ExampleMenus.xml Modified: ofbiz/trunk/framework/birt/config/BirtUiLabels.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/birt/config/BirtUiLabels.xml?rev=892633&r1=892632&r2=892633&view=diff ============================================================================== --- ofbiz/trunk/framework/birt/config/BirtUiLabels.xml (original) +++ ofbiz/trunk/framework/birt/config/BirtUiLabels.xml Sun Dec 20 18:22:09 2009 @@ -35,13 +35,4 @@ <value xml:lang="en">Framework Eclipse BIRT</value> <value xml:lang="th">Framework Eclipse BIRT</value> </property> - <property key="BirtReport"> - <value xml:lang="en">HTML</value> - </property> - <property key="BirtMail"> - <value xml:lang="en">Send any format through Mail</value> - </property> - <property key="BirtViewHandler"> - <value xml:lang="en">PDF</value> - </property> </resource> Modified: ofbiz/trunk/framework/birt/ofbiz-component.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/birt/ofbiz-component.xml?rev=892633&r1=892632&r2=892633&view=diff ============================================================================== --- ofbiz/trunk/framework/birt/ofbiz-component.xml (original) +++ ofbiz/trunk/framework/birt/ofbiz-component.xml Sun Dec 20 18:22:09 2009 @@ -32,11 +32,4 @@ <classpath type="jar" location="build/lib/*"/> <classpath type="dir" location="config"/> <service-resource type="model" loader="main" location="servicedef/services.xml"/> - <webapp name="birt" - title="BIRT" - menu-name="secondary" - server="default-server" - location="webapp/birt" - base-permission="OFBTOOLS,WEBTOOLS" - mount-point="/birt"/> </ofbiz-component> Modified: ofbiz/trunk/framework/example/config/ExampleUiLabels.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/config/ExampleUiLabels.xml?rev=892633&r1=892632&r2=892633&view=diff ============================================================================== --- ofbiz/trunk/framework/example/config/ExampleUiLabels.xml (original) +++ ofbiz/trunk/framework/example/config/ExampleUiLabels.xml Sun Dec 20 18:22:09 2009 @@ -41,6 +41,15 @@ <value xml:lang="th">à¸à¸±à¸§à¸à¸¢à¹à¸²à¸à¹à¸à¸£à¹à¸à¸£à¸¡à¸à¸à¸¡à¸à¸´à¸§à¹à¸à¸à¸£à¹</value> <value xml:lang="zh">æ ·ä¾åºç¨</value> </property> + <property key="ExampleBirtReport"> + <value xml:lang="en">HTML</value> + </property> + <property key="ExampleBirtMail"> + <value xml:lang="en">Send any format through Mail</value> + </property> + <property key="ExampleBirtViewHandler"> + <value xml:lang="en">PDF</value> + </property> <property key="ExampleCompanyName"> <value xml:lang="en">OFBiz: Example</value> <value xml:lang="fr">OFBiz : Exemple</value> Added: ofbiz/trunk/framework/example/webapp/birt/report.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/webapp/birt/report.ftl?rev=892633&view=auto ============================================================================== --- ofbiz/trunk/framework/example/webapp/birt/report.ftl (added) +++ ofbiz/trunk/framework/example/webapp/birt/report.ftl Sun Dec 20 18:22:09 2009 @@ -0,0 +1,30 @@ +<#-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + +<#assign birt = JspTaglibs["/WEB-INF/birt.tld"]/> + +<@birt.report id="birtReport" + reportDesign="component://example/webapp/birt/report/product.rptdesign" + baseURL="/birt" + height="700" + width="900" + format="html" + isHostPage="false" + pageNum="2"> +</@birt.report> \ No newline at end of file Added: ofbiz/trunk/framework/example/webapp/birt/report/product.rptdesign URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/webapp/birt/report/product.rptdesign?rev=892633&view=auto ============================================================================== --- ofbiz/trunk/framework/example/webapp/birt/report/product.rptdesign (added) +++ ofbiz/trunk/framework/example/webapp/birt/report/product.rptdesign Sun Dec 20 18:22:09 2009 @@ -0,0 +1,212 @@ +<?xml version="1.0" encoding="UTF-8"?> +<report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.20" id="1"> + <property name="createdBy">Eclipse BIRT Designer Version 2.5.1.v20090903 Build <2.5.1.v20090917-1447></property> + <property name="units">in</property> + <method name="initialize"><![CDATA[importPackage(Packages.org.ofbiz.base.util) + +module = "product.rptdesign";]]></method> + <property name="iconFile">/templates/blank_report.gif</property> + <property name="bidiLayoutOrientation">ltr</property> + <data-sources> + <script-data-source name="OFBiz" id="8"/> + </data-sources> + <data-sets> + <script-data-set name="Product" id="9"> + <list-property name="resultSetHints"> + <structure> + <property name="position">0</property> + <property name="name">productId</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">1</property> + <property name="name">productTypeId</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">2</property> + <property name="name">internalName</property> + <property name="dataType">string</property> + </structure> + </list-property> + <list-property name="columnHints"> + <structure> + <property name="columnName">productId</property> + <text-property name="displayName">productId</text-property> + </structure> + <structure> + <property name="columnName">productTypeId</property> + <text-property name="displayName">productTypeId</text-property> + </structure> + <structure> + <property name="columnName">internalName</property> + <text-property name="displayName">internalName</text-property> + </structure> + </list-property> + <structure name="cachedMetaData"> + <list-property name="resultSet"> + <structure> + <property name="position">1</property> + <property name="name">productId</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">2</property> + <property name="name">productTypeId</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">3</property> + <property name="name">internalName</property> + <property name="dataType">string</property> + </structure> + </list-property> + </structure> + <property name="dataSource">OFBiz</property> + <method name="open"><![CDATA[products = null; +try { + products = delegator.findAll("Product"); +} catch (e) { + Debug.logError(e, module); +} +totalRow = 0; +countOfRow = 0; +if (products) { + totalRow = products.size(); +}]]></method> + <method name="fetch"><![CDATA[if (countOfRow == totalRow - 1) return false; + +product = products.get(countOfRow); +productId = product.getString("productId"); +productTypeId = product.getString("productTypeId"); +internalName = product.getString("internalName"); + +row["productId"] = productId; +row["productTypeId"] = productTypeId; +row["internalName"] = internalName; + +countOfRow ++; +return true;]]></method> + </script-data-set> + </data-sets> + <styles> + <style name="report" id="4"> + <property name="fontFamily">sans-serif</property> + <property name="fontSize">10pt</property> + </style> + <style name="crosstab-cell" id="5"> + <property name="borderBottomColor">#CCCCCC</property> + <property name="borderBottomStyle">solid</property> + <property name="borderBottomWidth">1pt</property> + <property name="borderLeftColor">#CCCCCC</property> + <property name="borderLeftStyle">solid</property> + <property name="borderLeftWidth">1pt</property> + <property name="borderRightColor">#CCCCCC</property> + <property name="borderRightStyle">solid</property> + <property name="borderRightWidth">1pt</property> + <property name="borderTopColor">#CCCCCC</property> + <property name="borderTopStyle">solid</property> + <property name="borderTopWidth">1pt</property> + </style> + <style name="crosstab" id="6"> + <property name="borderBottomColor">#CCCCCC</property> + <property name="borderBottomStyle">solid</property> + <property name="borderBottomWidth">1pt</property> + <property name="borderLeftColor">#CCCCCC</property> + <property name="borderLeftStyle">solid</property> + <property name="borderLeftWidth">1pt</property> + <property name="borderRightColor">#CCCCCC</property> + <property name="borderRightStyle">solid</property> + <property name="borderRightWidth">1pt</property> + <property name="borderTopColor">#CCCCCC</property> + <property name="borderTopStyle">solid</property> + <property name="borderTopWidth">1pt</property> + </style> + </styles> + <page-setup> + <simple-master-page name="Simple MasterPage" id="2"> + <page-footer> + <text id="3"> + <property name="contentType">html</property> + <text-property name="content"><![CDATA[<value-of>new Date()</value-of>]]></text-property> + </text> + </page-footer> + </simple-master-page> + </page-setup> + <body> + <table id="10"> + <property name="dataSet">Product</property> + <list-property name="boundDataColumns"> + <structure> + <property name="name">productId</property> + <text-property name="displayName">productId</text-property> + <expression name="expression">dataSetRow["productId"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">productTypeId</property> + <text-property name="displayName">productTypeId</text-property> + <expression name="expression">dataSetRow["productTypeId"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">internalName</property> + <text-property name="displayName">internalName</text-property> + <expression name="expression">dataSetRow["internalName"]</expression> + <property name="dataType">string</property> + </structure> + </list-property> + <column id="29"/> + <column id="30"/> + <column id="31"/> + <header> + <row id="11"> + <property name="backgroundColor">#BFBFBF</property> + <property name="fontWeight">bold</property> + <property name="textAlign">center</property> + <cell id="12"> + <label id="13"> + <text-property name="text">productId</text-property> + </label> + </cell> + <cell id="14"> + <label id="15"> + <text-property name="text">productTypeId</text-property> + </label> + </cell> + <cell id="16"> + <label id="17"> + <text-property name="text">internalName</text-property> + </label> + </cell> + </row> + </header> + <detail> + <row id="18"> + <cell id="19"> + <data id="20"> + <property name="resultSetColumn">productId</property> + </data> + </cell> + <cell id="21"> + <data id="22"> + <property name="resultSetColumn">productTypeId</property> + </data> + </cell> + <cell id="23"> + <data id="24"> + <property name="resultSetColumn">internalName</property> + </data> + </cell> + </row> + </detail> + <footer> + <row id="25"> + <cell id="26"/> + <cell id="27"/> + <cell id="28"/> + </row> + </footer> + </table> + </body> +</report> Added: ofbiz/trunk/framework/example/webapp/example/WEB-INF/birt.tld URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/webapp/example/WEB-INF/birt.tld?rev=892633&view=auto ============================================================================== --- ofbiz/trunk/framework/example/webapp/example/WEB-INF/birt.tld (added) +++ ofbiz/trunk/framework/example/webapp/example/WEB-INF/birt.tld Sun Dec 20 18:22:09 2009 @@ -0,0 +1,1157 @@ +<?xml version='1.0' encoding='ISO-8859-1' ?> +<!DOCTYPE taglib + PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" + "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd"> +<taglib> + <tlib-version>1.0</tlib-version> + <jsp-version>1.2</jsp-version> + <short-name>BIRT Tag Library</short-name> + <uri>http://www.eclipse.org/birt/taglibs/birt.tld</uri> + <description> + This Tag Library makes user develope JSP with BIRT Viewer component easily. + </description> + + <!--**********************************************--> + <!-- Viewer Tag --> + <!--**********************************************--> + <tag> + <name>viewer</name> + <tag-class>org.eclipse.birt.report.taglib.ViewerTag</tag-class> + <body-content>JSP</body-content> + <description> + The viewer tag is to specify how to import and control BIRT Report Viewer into JSP page. + This tag will use Ajax framework to retrieve report content. + </description> + + <attribute> + <name>id</name> + <required>true</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies the current viewer id. It should be unique. + It can contain number,letter or underline. + </description> + </attribute> + + <attribute> + <name>pattern</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies which servlet pattern to be used to preview report. + Default value is frameset. + ( frameset or run ) + </description> + </attribute> + + <attribute> + <name>baseURL</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies base URL of BIRT viewer. + Default to the current context. + </description> + </attribute> + + <attribute> + <name>title</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies the report title displayed at the top. + </description> + </attribute> + + <attribute> + <name>isHostPage</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies whether the viewer occupies the whole page. + Default to false. + </description> + </attribute> + + <attribute> + <name>scrolling </name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Sets the IFrame style "scrolling ". + If isHostPage is true, ignore this attribute. + ( auto | yes | no ) + </description> + </attribute> + + <attribute> + <name>position</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Sets the style "position" of report container. + If isHostPage is true, ignore this attribute. + ( static | absolute | fixed | relative ) + </description> + </attribute> + + <attribute> + <name>style</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Sets the style of report container. + If isHostPage is true, ignore this attribute. + </description> + </attribute> + + <attribute> + <name>height</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Sets the height of report container in pixels. + If isHostPage is true, ignore this attribute. + </description> + </attribute> + + <attribute> + <name>width</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Sets the width of report container in pixels. + If isHostPage is true, ignore this attribute. + </description> + </attribute> + + <attribute> + <name>top</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Sets the top of report container in pixels. + If isHostPage is true, ignore this attribute. + </description> + </attribute> + + <attribute> + <name>left</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Sets the left of report container in pixels. + If isHostPage is true, ignore this attribute. + </description> + </attribute> + + <attribute> + <name>frameborder</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies whether displays the iframe border. + Default to no. + If isHostPage is true, ignore this attribute. + ( Yes | No ) + </description> + </attribute> + + <attribute> + <name>reportDesign</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies the report design file name. + ( Absolute path, relative path or URL ) + </description> + </attribute> + + <attribute> + <name>reportDocument</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies the report document file name. + Noted: only support "file:" URL format. + ( Absolute path, relative path or URL ) + </description> + </attribute> + + <attribute> + <name>reportletId</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies the instance id of reportlet. + The "reportDocument" attribute should be required. + Noted: frameset pattern doesn't support reportlet. + </description> + </attribute> + + <attribute> + <name>bookmark</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies the targeted bookmark name. + </description> + </attribute> + + <attribute> + <name>locale</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies the Locale information. + </description> + </attribute> + + <attribute> + <name>timeZone</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies a time zone id. For example: "America/Los_Angeles" or "GMT+1" or "GMT+01:00". + </description> + </attribute> + + <attribute> + <name>svg</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies whether supports the SVG output format or not. + </description> + </attribute> + + <attribute> + <name>format</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies the output format of report. + </description> + </attribute> + + <attribute> + <name>emitterId</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies the emitter id for the report output. + </description> + </attribute> + + <attribute> + <name>pageOverflow</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies the page overflow setting for the PDF format. + One of the following values: + 0 for "auto", 1 for "actual size", 2 for "fit to page". + </description> + </attribute> + + <attribute> + <name>rtl</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies whether supports rtl page or not. + </description> + </attribute> + + <attribute> + <name>pageNum</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies output page number when render document file. + </description> + </attribute> + + <attribute> + <name>pageRange</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies page range when render document file. + </description> + </attribute> + + <attribute> + <name>resourceFolder</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies the referenced resource folder. + Default value is defined in web.xml. + </description> + </attribute> + + <attribute> + <name>forceOverwriteDocument</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies whether forces to overwrite the generated document. + If allowPageBreak is false,ignore this attribute. + Default value is defined in web.xml. + </description> + </attribute> + + <attribute> + <name>showTitle</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies whether shows the report title. + Default to true. + </description> + </attribute> + + <attribute> + <name>showToolBar</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies whether shows the toolbar. + Default to true. + </description> + </attribute> + + <attribute> + <name>showNavigationBar</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies whether shows the Navigation Bar. + If allowPageBreak is false,ignore this attribute. + Default to true. + </description> + </attribute> + + <attribute> + <name>showParameterPage</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies whether show the parameter dialog or not. + Default to true. + </description> + </attribute> + + <attribute> + <name>isReportlet</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies whether render reportlet by bookmark. + Default to false. + </description> + </attribute> + + </tag> + + <!--**********************************************--> + <!-- Report Tag --> + <!--**********************************************--> + <tag> + <name>report</name> + <tag-class>org.eclipse.birt.report.taglib.ReportTag</tag-class> + <body-content>JSP</body-content> + <description> + The report tag can provide fast report preview without Ajax framework. + The report content can be output to web browser directly. + </description> + + <attribute> + <name>id</name> + <required>true</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies the current viewer id. It should be unique. + It can contain number,letter or underline. + </description> + </attribute> + + <attribute> + <name>baseURL</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies base URL of BIRT viewer. + Default to the current context. + If report container is DIV, ignore this attribute. + </description> + </attribute> + + <attribute> + <name>isHostPage</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies whether the viewer occupies the whole page. + Default to false. + </description> + </attribute> + + <attribute> + <name>scrolling </name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Sets the DIV/IFrame style "scrolling ". + If isHostPage is true, ignore this attribute. + ( auto | yes | no ) + </description> + </attribute> + + <attribute> + <name>position</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Sets the style "position" of report container. + If isHostPage is true, ignore this attribute. + ( static | absolute | fixed | relative ) + </description> + </attribute> + + <attribute> + <name>style</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Sets the style of report container. + If isHostPage is true, ignore this attribute. + </description> + </attribute> + + <attribute> + <name>height</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Sets the height of report container in pixels. + If isHostPage is true, ignore this attribute. + </description> + </attribute> + + <attribute> + <name>width</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Sets the width of report container in pixels. + If isHostPage is true, ignore this attribute. + </description> + </attribute> + + <attribute> + <name>top</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Sets the top of report container in pixels. + If isHostPage is true, ignore this attribute. + </description> + </attribute> + + <attribute> + <name>left</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Sets the left of report container in pixels. + If isHostPage is true, ignore this attribute. + </description> + </attribute> + + <attribute> + <name>frameborder</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies whether displays the iframe border. + Available when user IFrame. + Default to no. + ( Yes | No ) + </description> + </attribute> + + <attribute> + <name>reportDesign</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies the report design file name. + ( Absolute path, relative path or URL ) + </description> + </attribute> + + <attribute> + <name>reportDocument</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies the report document file name. + Noted: only support "file:" URL format. + ( Absolute path, relative path or URL ) + </description> + </attribute> + + <attribute> + <name>reportletId</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies the instance id of reportlet. + The "reportDocument" attribute should be required. + </description> + </attribute> + + <attribute> + <name>bookmark</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies the targeted bookmark name. + </description> + </attribute> + + <attribute> + <name>locale</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies the Locale information. + </description> + </attribute> + + <attribute> + <name>timeZone</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies a time zone id. For example: "America/Los_Angeles" or "GMT+1" or "GMT+01:00". + </description> + </attribute> + + <attribute> + <name>svg</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies whether supports the SVG output format or not. + </description> + </attribute> + + <attribute> + <name>format</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies the output format of report. + </description> + </attribute> + + <attribute> + <name>emitterId</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies the emitter id for the report output. + </description> + </attribute> + + <attribute> + <name>pageOverflow</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies the page overflow setting for the PDF format. + One of the following values: + 0 for "auto", 1 for "actual size", 2 for "fit to page". + </description> + </attribute> + + <attribute> + <name>rtl</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies whether supports rtl page or not. + </description> + </attribute> + + <attribute> + <name>showParameterPage</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies whether show the parameter dialog or not. + Default to true. + If report container is DIV, ignore this attribute. + </description> + </attribute> + + <attribute> + <name>resourceFolder</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies the referenced resource folder. + Default value is defined in web.xml. + </description> + </attribute> + + <attribute> + <name>reportContainer</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies iframe or div as report container. + Default to iframe. + ( iframe | div ) + </description> + </attribute> + + <attribute> + <name>pageNum</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies output page number when render document file. + </description> + </attribute> + + <attribute> + <name>pageRange</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies page range when render document file. + </description> + </attribute> + + <attribute> + <name>isReportlet</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies whether render reportlet by bookmark. + Default to false. + </description> + </attribute> + + </tag> + + <!--**********************************************--> + <!-- Report Parameter Tag --> + <!--**********************************************--> + <tag> + <name>param</name> + <tag-class>org.eclipse.birt.report.taglib.ParamTag</tag-class> + <body-content>JSP</body-content> + <description> + The param tag specifies the parameters defined in report design file. + </description> + <attribute> + <name>name</name> + <required>true</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies the report parameter name. + </description> + </attribute> + <attribute> + <name>pattern</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies the report parameter pattern format. + </description> + </attribute> + <attribute> + <name>value</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies the report parameter value. If doesn't set, value is null. + </description> + </attribute> + <attribute> + <name>displayText</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies the report parameter display text. + </description> + </attribute> + <attribute> + <name>delim</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies the delimiter for multiple values. + Defaults to pipe "|". + </description> + </attribute> + <attribute> + <name>isLocale</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies whether the report parameter value is a locale/format related string. + </description> + </attribute> + </tag> + + <!--**********************************************--> + <!-- Report Parameter Value Tag --> + <!--**********************************************--> + <tag> + <name>value</name> + <tag-class>org.eclipse.birt.report.taglib.ParamValueTag</tag-class> + <body-content>JSP</body-content> + <description> + The param value tag specifies multiple values for a given param tag. + </description> + <attribute> + <name>value</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies the report parameter value. If doesn't set, value is null. + </description> + </attribute> + <attribute> + <name>displayText</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies the report parameter display text. + </description> + </attribute> + </tag> + + <!--**********************************************--> + <!-- ParameterPage Tag --> + <!--**********************************************--> + <tag> + <name>parameterPage</name> + <tag-class>org.eclipse.birt.report.taglib.RequesterTag</tag-class> + <body-content>JSP</body-content> + <description> + The parameterPage tag can help developers to display BIRT parameter page or create a user-defined parameter page. + This tag can collect these parameters and submit to BIRT servlet to handle request. + </description> + + <attribute> + <name>id</name> + <required>true</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies the parameter page id.It should be unique. + It can contain number,letter or underline. + </description> + </attribute> + + <attribute> + <name>name</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies the parameter page name. + If attribute 'isCustom' is true, this name should be required and unique. + </description> + </attribute> + + <attribute> + <name>isCustom</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies whether uses the user-defined parameter page. + If false, use the BIRT parameter dialog. + Default to false. + </description> + </attribute> + + <attribute> + <name>title</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies the report title displayed at the top. + </description> + </attribute> + + <attribute> + <name>baseURL</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies base URL of BIRT viewer. + Default to the current context. + </description> + </attribute> + + <attribute> + <name>scrolling </name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Sets the DIV/IFrame style "scrolling ". + ( auto | yes | no ) + </description> + </attribute> + + <attribute> + <name>position</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Sets the style "position" of parameter page. + ( static | absolute | fixed | relative ) + </description> + </attribute> + + <attribute> + <name>style</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Sets the style of parameter page. + </description> + </attribute> + + <attribute> + <name>height</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Sets the height of parameter page in pixels. + </description> + </attribute> + + <attribute> + <name>width</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Sets the width of parameter page in pixels. + </description> + </attribute> + + <attribute> + <name>top</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Sets the top of parameter page in pixels. + </description> + </attribute> + + <attribute> + <name>left</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Sets the left of parameter page in pixels. + </description> + </attribute> + + <attribute> + <name>frameborder</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies whether displays the iframe border. + Default to no. + If set "isCustom" to true, ignore this attribute. + ( Yes | No ) + </description> + </attribute> + + <attribute> + <name>reportDesign</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies the report design file name. + ( Absolute path, relative path or URL ) + </description> + </attribute> + + <attribute> + <name>reportDocument</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies the report document file name. + Noted: only support "file:" URL format. + ( Absolute path, relative path or URL ) + </description> + </attribute> + + <attribute> + <name>reportletId</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies the instance id of reportlet. + The "reportDocument" attribute should be required. + Noted: frameset pattern doesn't support reportlet. + </description> + </attribute> + + <attribute> + <name>pattern</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies the servlet pattern for request submit. + BIRT supports three patterns: frameset, run and preview. + Can refer to the user-defined servlet pattern. + Default to frameset. + </description> + </attribute> + + <attribute> + <name>target</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies the target window for request submit. + </description> + </attribute> + + <attribute> + <name>bookmark</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies the targeted bookmark name. + </description> + </attribute> + + <attribute> + <name>locale</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies the Locale information. + </description> + </attribute> + + <attribute> + <name>timeZone</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies a time zone id. For example: "America/Los_Angeles" or "GMT+1" or "GMT+01:00". + </description> + </attribute> + + <attribute> + <name>svg</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies whether supports the SVG output format or not. + </description> + </attribute> + + <attribute> + <name>format</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies the output format of report. + </description> + </attribute> + + <attribute> + <name>emitterId</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies the emitter id for the report output. + </description> + </attribute> + + <attribute> + <name>pageOverflow</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies the page overflow setting for the PDF format. + One of the following values: + 0 for "auto", 1 for "actual size", 2 for "fit to page". + </description> + </attribute> + + <attribute> + <name>rtl</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies whether supports rtl page or not. + </description> + </attribute> + + <attribute> + <name>resourceFolder</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies the referenced resource folder. + Default value is defined in web.xml. + </description> + </attribute> + + <attribute> + <name>forceOverwriteDocument</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies whether forces to overwrite the generated document. + If allowPageBreak is false,ignore this attribute. + Default value is defined in web.xml. + </description> + </attribute> + + <attribute> + <name>showTitle</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies whether shows the report title. + Default to true. + </description> + </attribute> + + <attribute> + <name>showToolBar</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies whether shows the toolbar. + Default to true. + </description> + </attribute> + + <attribute> + <name>showNavigationBar</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies whether shows the Navigation Bar. + If allowPageBreak is false,ignore this attribute. + Default to true. + </description> + </attribute> + + <attribute> + <name>isReportlet</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies whether render reportlet by bookmark. + Default to false. + </description> + </attribute> + + </tag> + + <!--**********************************************--> + <!-- Report Parameter Definition Tag --> + <!--**********************************************--> + <tag> + <name>paramDef</name> + <tag-class>org.eclipse.birt.report.taglib.ParamDefTag</tag-class> + <body-content>JSP</body-content> + <description> + The param tag is used to generate html code for defined parameter in ParameterPage tag. + </description> + <attribute> + <name>id</name> + <required>true</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies the id of parameter control.It should be unique. + It can contain number,letter or underline. + </description> + </attribute> + <attribute> + <name>name</name> + <required>true</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies the report parameter name. + </description> + </attribute> + <attribute> + <name>pattern</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies the report parameter pattern format. + It is used to parse defined parameter value string. + </description> + </attribute> + <attribute> + <name>value</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies the report parameter value. If doesn't set, use default value. + </description> + </attribute> + <attribute> + <name>displayText</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies the report parameter display text. + </description> + </attribute> + <attribute> + <name>isLocale</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies whether the report parameter value is a locale/format related string. + It is used to parse defined parameter value string. + </description> + </attribute> + <attribute> + <name>title</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies the title attribute of parameter control. + </description> + </attribute> + <attribute> + <name>cssClass</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies the css class attribute of parameter control. + </description> + </attribute> + <attribute> + <name>style</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description> + Specifies the parameter control style. + </description> + </attribute> + </tag> +</taglib> \ No newline at end of file Modified: ofbiz/trunk/framework/example/webapp/example/WEB-INF/controller.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/webapp/example/WEB-INF/controller.xml?rev=892633&r1=892632&r2=892633&view=diff ============================================================================== --- ofbiz/trunk/framework/example/webapp/example/WEB-INF/controller.xml (original) +++ ofbiz/trunk/framework/example/webapp/example/WEB-INF/controller.xml Sun Dec 20 18:22:09 2009 @@ -216,6 +216,29 @@ <request-map uri="ExampleGeoLocationPointSet3"><security https="true" auth="true"/><response name="success" type="view" value="ExampleGeoLocationPointSet3"/></request-map> <request-map uri="ExampleGeoLocationPointSet4"><security https="true" auth="true"/><response name="success" type="view" value="ExampleGeoLocationPointSet4"/></request-map> + <!-- Birt example Requests --> + <request-map uri="BirtMain"> + <security https="true" auth="true"/> + <response name="success" type="view" value="BirtMain"/> + </request-map> + <request-map uri="Report"> + <security https="true" auth="true"/> + <response name="success" type="view" value="Report"/> + </request-map> + <request-map uri="Mail"> + <security https="true" auth="true"/> + <response name="success" type="view" value="Mail"/> + </request-map> + <request-map uri="sendBirtMail"> + <security https="true" auth="true"/> + <event type="service" invoke="sendBirtMail"/> + <response name="success" type="view" value="Mail"/> + <response name="error" type="view" value="Mail"/> + </request-map> + <request-map uri="ViewHandler"> + <security https="true" auth="true"/> + <response name="success" type="view" value="ViewHandler"/> + </request-map> <!-- end of request mappings --> <!-- View Mappings --> @@ -248,5 +271,21 @@ <view-map name="ExampleGeoLocationPointSet2" type="screen" page="component://example/widget/example/ExampleScreens.xml#ExampleGeoLocationPointSet2"/> <view-map name="ExampleGeoLocationPointSet3" type="screen" page="component://example/widget/example/ExampleScreens.xml#ExampleGeoLocationPointSet3"/> <view-map name="ExampleGeoLocationPointSet4" type="screen" page="component://example/widget/example/ExampleScreens.xml#ExampleGeoLocationPointSet4"/> - <!-- end of view mappings --> + + <!-- Birt example View Mappings --> + <view-map name="BirtMain" type="screen" page="component://example/widget/example/BirtScreens.xml#main"/> + <view-map name="Viewer" type="screen" page="component://example/widget/example/BirtScreens.xml#Viewer"/> + <view-map name="Report" type="screen" page="component://example/widget/example/BirtScreens.xml#Report"/> + <view-map name="Mail" type="screen" page="component://example/widget/example/BirtScreens.xml#EditMail"/> + <view-map name="ViewHandler" type="birt" page="component://example/webapp/birt/report/product.rptdesign" content-type="application/pdf"/> + <!-- Supported Content Types --> + <!-- + text/html + application/pdf + application/vnd.ms-excel + application/vnd.ms-word + application/vnd.ms-powerpoint + --> + + <!-- end of view mappings --> </site-conf> Added: ofbiz/trunk/framework/example/widget/example/BirtForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/widget/example/BirtForms.xml?rev=892633&view=auto ============================================================================== --- ofbiz/trunk/framework/example/widget/example/BirtForms.xml (added) +++ ofbiz/trunk/framework/example/widget/example/BirtForms.xml Sun Dec 20 18:22:09 2009 @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + +<forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-form.xsd"> + + <form name="EditMail" type="single" target="sendBirtMail"> + <field name="sendFrom"><text/></field> + <field name="sendTo"><text/></field> + <field name="subject"><text/></field> + <field name="birtReportLocation" tooltip="Example is component://example/webapp/birt/report/product.rptdesign"><text/></field> + <field name="birtContentType"> + <drop-down> + <option key="text/html" description="text/html"/> + <option key="application/pdf" description="application/pdf"/> + <option key="application/vnd.ms-excel" description="application/vnd.ms-excel"/> + <option key="application/vnd.ms-word" description="application/vnd.ms-word"/> + <option key="application/vnd.ms-powerpoint" description="application/vnd.ms-powerpoint"/> + </drop-down> + </field> + <field name="attachmentName"><text/></field> + <field name="sendButton" widget-style="smallSubmit"><submit button-type="button"/></field> + </form> +</forms> Added: ofbiz/trunk/framework/example/widget/example/BirtScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/widget/example/BirtScreens.xml?rev=892633&view=auto ============================================================================== --- ofbiz/trunk/framework/example/widget/example/BirtScreens.xml (added) +++ ofbiz/trunk/framework/example/widget/example/BirtScreens.xml Sun Dec 20 18:22:09 2009 @@ -0,0 +1,71 @@ +<?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/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> \ No newline at end of file Modified: ofbiz/trunk/framework/example/widget/example/CommonScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/widget/example/CommonScreens.xml?rev=892633&r1=892632&r2=892633&view=diff ============================================================================== --- ofbiz/trunk/framework/example/widget/example/CommonScreens.xml (original) +++ ofbiz/trunk/framework/example/widget/example/CommonScreens.xml Sun Dec 20 18:22:09 2009 @@ -202,6 +202,43 @@ </section> </screen> + <screen name="CommonBirtDecorator"> + <section> + <actions> + <set field="headerItem" value="Birt"/> + </actions> + <widgets> + <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}"> + <decorator-section name="pre-body"> + <section> + <!-- do check for WEBTOOLS, _VIEW permission --> + <condition> + <if-has-permission permission="ENTITY_MAINT"/> + </condition> + <widgets> + <include-menu name="BirtTabBar" location="component://example/widget/example/ExampleMenus.xml"/> + </widgets> + </section> + </decorator-section> + <decorator-section name="body"> + <section> + <!-- do check for WEBTOOLS, _VIEW permission --> + <condition> + <if-has-permission permission="ENTITY_MAINT"/> + </condition> + <widgets> + <decorator-section-include name="body"/> + </widgets> + <fail-widgets> + <label style="h3">${uiLabelMap.WebtoolsPermissionError}</label> + </fail-widgets> + </section> + </decorator-section> + </decorator-screen> + </widgets> + </section> + </screen> + <screen name="main"> <!-- This is the screen for the Main page in the Example component. A common pattern in OFBiz is to have each component include a Main page as a starting point for Modified: ofbiz/trunk/framework/example/widget/example/ExampleMenus.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/widget/example/ExampleMenus.xml?rev=892633&r1=892632&r2=892633&view=diff ============================================================================== --- ofbiz/trunk/framework/example/widget/example/ExampleMenus.xml (original) +++ ofbiz/trunk/framework/example/widget/example/ExampleMenus.xml Sun Dec 20 18:22:09 2009 @@ -36,6 +36,10 @@ <link target="ExampleGeoLocationPointSet1"> </link> </menu-item> + <menu-item name="Birt" title="${uiLabelMap.Birt}"> + <link target="BirtMain"> + </link> + </menu-item> </menu> <menu name="EditExample" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml"> @@ -87,4 +91,11 @@ </link> </menu-item> </menu> + + <menu name="BirtTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml"> + <menu-item name="Report" title="${uiLabelMap.ExampleBirtReport}"><link target="Report"/></menu-item> + <menu-item name="Export" title="${uiLabelMap.ExampleBirtViewHandler}"><link target="ViewHandler"/></menu-item> + <menu-item name="Mail" title="${uiLabelMap.ExampleBirtMail}"><link target="Mail"/></menu-item> + </menu> + </menus> |
| Free forum by Nabble | Edit this page |
