Author: jleroux
Date: Mon Apr 24 07:51:47 2017 New Revision: 1792432 URL: http://svn.apache.org/viewvc?rev=1792432&view=rev Log: Fixed: Remove the birt.tld file and all related files and lines (OFBIZ-OFBIZ-9323) As explained in the Jira, for legal reasons we need to remove the Birt Web Viewer from OFBiz Removed: ofbiz/ofbiz-plugins/trunk/birt/template/ ofbiz/ofbiz-plugins/trunk/birt/webapp/birt/WEB-INF/attachments/ ofbiz/ofbiz-plugins/trunk/birt/webapp/birt/WEB-INF/birt.tld ofbiz/ofbiz-plugins/trunk/birt/webapp/birt/WEB-INF/server-config.wsdd Modified: ofbiz/ofbiz-plugins/trunk/birt/config/BirtUiLabels.xml ofbiz/ofbiz-plugins/trunk/birt/data/helpdata/HELP_BIRT.xml ofbiz/ofbiz-plugins/trunk/birt/webapp/birt/WEB-INF/controller.xml ofbiz/ofbiz-plugins/trunk/birt/webapp/birt/WEB-INF/web.xml ofbiz/ofbiz-plugins/trunk/birt/widget/birt/BirtMenus.xml ofbiz/ofbiz-plugins/trunk/birt/widget/birt/BirtScreens.xml Modified: ofbiz/ofbiz-plugins/trunk/birt/config/BirtUiLabels.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/birt/config/BirtUiLabels.xml?rev=1792432&r1=1792431&r2=1792432&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/birt/config/BirtUiLabels.xml (original) +++ ofbiz/ofbiz-plugins/trunk/birt/config/BirtUiLabels.xml Mon Apr 24 07:51:47 2017 @@ -174,7 +174,7 @@ <value xml:lang="fr">Il s'intègre à toute application OFBiz pour produire des rapports convaincants, y compris des présentations graphiques en secteurs et à barres.</value> </property> <property key="BirtNote3"> - <value xml:lang="en">This application provides you with a sample example report.</value> + <value xml:lang="en">This application provides you with sample example reports.</value> <value xml:lang="fr">Cette application vous fournit un exemple de rapport.</value> </property> <property key="BirtNote4"> Modified: ofbiz/ofbiz-plugins/trunk/birt/data/helpdata/HELP_BIRT.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/birt/data/helpdata/HELP_BIRT.xml?rev=1792432&r1=1792431&r2=1792432&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/birt/data/helpdata/HELP_BIRT.xml (original) +++ ofbiz/ofbiz-plugins/trunk/birt/data/helpdata/HELP_BIRT.xml Mon Apr 24 07:51:47 2017 @@ -26,64 +26,62 @@ under the License. <title>OFBiz BIRT Overview</title> <para> Welcome to OFBiz BIRT. The part installed within OFBiz allows you to run the reports which are prepared using Eclipse with the BIRT plugin installed. - As a demo we have prepared a product report as an example. - Look at the <link xl:href="http://eclipse.org/birt/phoenix/">Eclipse BIRT web site</link> for more information. </para> <para> This is a short document to help you get started using BIRT to make a report. </para> + <para> + As a demo we have prepared a an example report. + Look at the <link xl:href="http://eclipse.org/birt/phoenix/">Eclipse BIRT web site</link> for more information. + </para> + <para> + - + </para> + <para> + There is also a new feature (2017) which allows you to dynamically create Birt reports, and allow your users to customise them: the OFBiz Flexible Reports. + </para> + <para> + Look at the <link xl:href="https://cwiki.apache.org/confluence/display/OFBIZ/Birt+Flexible+Reports">the official documentation</link> for more information. + </para> <section> - <title>1. HTML tab</title> - <para>When you click on this tab. It will show the complete report in an iframe.</para> + <title>1. PDF tab</title> + <para>When you click on this tab. It will render the example report in a PDF format</para> </section> <section> - <title>2. PDF tab</title> - <para>When you click on this tab. It will render the report in a pdf format</para> + <title>2. Send any format through Mail tab</title> + <para>When you click on this tab. It will show a form that can send the report per email.</para> </section> <section> - <title>3. Send any format through Mail tab</title> - <para>When you click on this tab. It will show a form that can send the report per email.</para> + <title>3. Chart tab</title> + <para>When you click on this tab. An example chart will render in a PDF format</para> </section> <section> <title>Examine the Example Report</title> <para> - The example report that run in OFBiz is in the file component://birt/webapp/birt/report/product.rptdesign. When you have started Eclipse BIRT, open this document. + The example report that run in OFBiz is in the file component://birt/webapp/birt/report/example.rptdesign. When you have started Eclipse BIRT, open this document. This report show how a report receives data from OFBiz through Scripted Data Source using the OFBiz delegator. This report has the scripted data source name "OFBiz" and the data set that use the script data source name is called "Product". Open the script editor for Product data set, it uses the delegator object query data from the Product entity. A report that runs on the OFBiz platform can use the delegator object, dispatcher object, security object and classpath of OFBiz environment in the script.</para> </section> <section> - <title>Important file for using BIRT's jsp tags</title> - <para> - If a web applications wants to use the report in a screen, copy birt.tld file to [WEB APP]/WEB-INF/ directory and assign in in ftl - like <#assign birt = JspTaglibs["/WEB-INF/birt.tld"]/></para> - </section> - <section> - <title>Important tag's attribute in ftl.</title> - <para> - The BIRT uses some servlets for rendering the report. - When you use the report tag in a ftl file you must add a specific "baseURL" attribute to the birt webapp for these resources like baseURL="/birt". - </para> - </section> - <section> - <title>How do I send parameter to report.</title> + <title>How do I send parameter to report?</title> <para>If a report is to be rendered through a view map, you can send a parameter through attribute of the request object, the attribute's name is "birtParameters" which is a map.</para> <para>If a report is to be rendered through an e-mail, you can send the parameter through the service's parameter name called birtParameters.</para> </section> <section> <title>Which are the supported content types?</title> - <para>text/html</para> - <para>application/pdf</para> - <para>application/postscript</para> - <para>application/vnd.ms-excel</para> - <para>application/vnd.ms-word</para> - <para>application/vnd.ms-powerpoint</para> - <para>application/vnd.oasis.opendocument.text</para> - <para>application/vnd.oasis.opendocument.spreadsheet</para> - <para>application/vnd.oasis.opendocument.presentation</para> - <para>application/vnd.openxmlformats-officedocument.wordprocessingml.document</para> - <para>application/vnd.openxmlformats-officedocument.spreadsheetml.sheet</para> - <para>application/vnd.openxmlformats-officedocument.presentationml.presentation</para> + <para>Excel (.xls)</para> + <para>Excel (.xlsx)</para> + <para>LibreOffice Calc (.ods)</para> + <para>LibreOffice Impress (.odp)</para> + <para>LibreOffice Writer (.odt)</para> + <para>Pdf (.pdf)</para> + <para>Postscript (.ps)</para> + <para>Powerpoint (.ppt)</para> + <para>Powerpoint (.pptx)</para> + <para>Text (.html)</para> + <para>Word (.doc)</para> + <para>Word (.docx)</para> </section> </section> Modified: ofbiz/ofbiz-plugins/trunk/birt/webapp/birt/WEB-INF/controller.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/birt/webapp/birt/WEB-INF/controller.xml?rev=1792432&r1=1792431&r2=1792432&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/birt/webapp/birt/WEB-INF/controller.xml (original) +++ ofbiz/ofbiz-plugins/trunk/birt/webapp/birt/WEB-INF/controller.xml Mon Apr 24 07:51:47 2017 @@ -47,10 +47,6 @@ under the License. <security https="true" auth="true"/> <response name="success" type="view" value="main"/> </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"/> @@ -65,17 +61,6 @@ under the License. <security https="true" auth="true"/> <response name="success" type="view" value="ViewHandler"/> </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="chartReport"> - <security https="true" auth="true"/> - <response name="success" type="view" value="chartReport"/> - </request-map> <request-map uri="chartViewHandler"> <security https="true" auth="true"/> <response name="success" type="view" value="chartViewHandler"/> @@ -142,8 +127,6 @@ under the License. <!-- View Mappings --> <view-map name="main" type="screen" page="component://birt/widget/birt/BirtScreens.xml#main"/> - <view-map name="Report" type="screen" page="component://birt/widget/birt/BirtScreens.xml#Report"/> - <view-map name="chartReport" type="screen" page="component://birt/widget/birt/BirtScreens.xml#chartReport"/> <view-map name="Mail" type="screen" page="component://birt/widget/birt/BirtScreens.xml#EditMail"/> <!-- Supported Content Types --> Modified: ofbiz/ofbiz-plugins/trunk/birt/webapp/birt/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/birt/webapp/birt/WEB-INF/web.xml?rev=1792432&r1=1792431&r2=1792432&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/birt/webapp/birt/WEB-INF/web.xml (original) +++ ofbiz/ofbiz-plugins/trunk/birt/webapp/birt/WEB-INF/web.xml Mon Apr 24 07:51:47 2017 @@ -46,138 +46,6 @@ under the License. <param-value>false</param-value> </context-param> - <!-- Default locale setting.--> - <context-param> - <param-name>BIRT_VIEWER_LOCALE</param-name> - <param-value>en-US</param-value> - </context-param> - - <!-- - Default timezone setting. - Examples: "Europe/Paris", "GMT+1". - Defaults to the container's timezone. - --> - <context-param> - <param-name>BIRT_VIEWER_TIMEZONE</param-name> - <param-value></param-value> - </context-param> - - <!-- - Report resources directory for preview. Defaults to ${birt home} - --> - <context-param> - <param-name>BIRT_VIEWER_WORKING_FOLDER</param-name> - <param-value>${ofbiz.home}/runtime/tempfiles</param-value> - </context-param> - - <!-- - Temporary document files directory. Defaults to ${birt home}/documents - --> - <context-param> - <param-name>BIRT_VIEWER_DOCUMENT_FOLDER</param-name> - <param-value>${ofbiz.home}/runtime/tempfiles/documents</param-value> - </context-param> - - <!-- - Flag whether the report resources can only be accessed under the - working folder. Defaults to true - --> - <context-param> - <param-name>WORKING_FOLDER_ACCESS_ONLY</param-name> - <param-value>false</param-value> - </context-param> - - <!-- - Temporary image/chart directory. Defaults to ${birt home}/report/images - --> - <context-param> - <param-name>BIRT_VIEWER_IMAGE_DIR</param-name> - <param-value>${ofbiz.home}/runtime/tempfiles/images</param-value> - </context-param> - - <!-- Engine log directory. Defaults to ${birt home}/logs --> - <context-param> - <param-name>BIRT_VIEWER_LOG_DIR</param-name> - <param-value>${ofbiz.home}/runtime/logs</param-value> - </context-param> - - <!-- Report engine log level --> - <context-param> - <param-name>BIRT_VIEWER_LOG_LEVEL</param-name> - <param-value>WARNING</param-value> - </context-param> - - <!-- - Directory where to store all the birt report script libraries (JARs). - Defaults to ${birt home}/scriptlib - --> - <context-param> - <param-name>BIRT_VIEWER_SCRIPTLIB_DIR</param-name> - <param-value>${ofbiz.home}/plugins/birt/lib/scriptlib</param-value> - </context-param> - - <!-- Resource location directory. Defaults to ${birt home} --> - <context-param> - <param-name>BIRT_RESOURCE_PATH</param-name> - <param-value>${ofbiz.home}/runtime/tempfiles</param-value> - </context-param> - - <!-- Preview report rows limit. An empty value means no limit. --> - <context-param> - <param-name>BIRT_VIEWER_MAX_ROWS</param-name> - <param-value></param-value> - </context-param> - - <!-- - Max cube fetch levels limit for report preview (Only used when - previewing a report design file using the preview pattern) - --> - <context-param> - <param-name>BIRT_VIEWER_MAX_CUBE_ROWLEVELS</param-name> - <param-value></param-value> - </context-param> - <context-param> - <param-name>BIRT_VIEWER_MAX_CUBE_COLUMNLEVELS</param-name> - <param-value></param-value> - </context-param> - - <!-- Memory size in MB for creating a cube. --> - <context-param> - <param-name>BIRT_VIEWER_CUBE_MEMORY_SIZE</param-name> - <param-value></param-value> - </context-param> - - <!-- Defines the BIRT viewer configuration file --> - <context-param> - <param-name>BIRT_VIEWER_CONFIG_FILE</param-name> - <param-value>WEB-INF/viewer.properties</param-value> - </context-param> - - <!-- - Flag whether to allow server-side printing. Possible values are "ON" - and "OFF". Defaults to "ON". - --> - <context-param> - <param-name>BIRT_VIEWER_PRINT_SERVERSIDE</param-name> - <param-value>ON</param-value> - </context-param> - - <!-- - Flag whether to force browser-optimized HTML output. Defaults to true - --> - <context-param> - <param-name>HTML_ENABLE_AGENTSTYLE_ENGINE</param-name> - <param-value>true</param-value> - </context-param> - - <!-- - Filename generator class/factory to use for the exported reports. - --> - <context-param> - <param-name>BIRT_FILENAME_GENERATOR_CLASS</param-name> - <param-value>org.eclipse.birt.report.utility.filename.DefaultFilenameGenerator</param-value> - </context-param> - <filter> <display-name>ControlFilter</display-name> <filter-name>ControlFilter</filter-name> Modified: ofbiz/ofbiz-plugins/trunk/birt/widget/birt/BirtMenus.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/birt/widget/birt/BirtMenus.xml?rev=1792432&r1=1792431&r2=1792432&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/birt/widget/birt/BirtMenus.xml (original) +++ ofbiz/ofbiz-plugins/trunk/birt/widget/birt/BirtMenus.xml Mon Apr 24 07:51:47 2017 @@ -27,11 +27,8 @@ under the License. </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" target-window="_BLANK"/></menu-item> <menu-item name="Mail" title="${uiLabelMap.ExampleBirtMail}"><link target="Mail"/></menu-item> - <!-- Reports using charts--> - <menu-item name="chartReport" title="${uiLabelMap.ExampleBirtChartReport}"><link target="chartReport"/></menu-item> <menu-item name="chartExport" title="${uiLabelMap.ExampleBirtChartViewHandler}"><link target="chartViewHandler" target-window="_BLANK"/></menu-item> </menu> <menu name="FlexibleBirtTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml"> Modified: ofbiz/ofbiz-plugins/trunk/birt/widget/birt/BirtScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/birt/widget/birt/BirtScreens.xml?rev=1792432&r1=1792431&r2=1792432&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/birt/widget/birt/BirtScreens.xml (original) +++ ofbiz/ofbiz-plugins/trunk/birt/widget/birt/BirtScreens.xml Mon Apr 24 07:51:47 2017 @@ -126,31 +126,6 @@ under the License. </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://birt/template/Report.ftl"/> - </html> - </platform-specific> - </screenlet> - </widgets> - </section> - </decorator-section> - </decorator-screen> - </widgets> - </section> - </screen> - <screen name="EditMail"> <section> <actions> @@ -166,29 +141,6 @@ under the License. </screenlet> </widgets> </section> - </decorator-section> - </decorator-screen> - </widgets> - </section> - </screen> - - <screen name="chartReport"> - <section> - <actions> - <set field="tabButtonItem" value="chartReport"/> - </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://birt/template/ChartReport.ftl"/></html> - </platform-specific> - </screenlet> - </widgets> - </section> </decorator-section> </decorator-screen> </widgets> |
Free forum by Nabble | Edit this page |