diff --git a/framework/birt/config/BirtUiLabels.xml b/framework/birt/config/BirtUiLabels.xml
index e626c7d991..376ef7726d 100644
--- a/framework/birt/config/BirtUiLabels.xml
+++ b/framework/birt/config/BirtUiLabels.xml
@@ -35,13 +35,4 @@
Framework Eclipse BIRT
Framework Eclipse BIRT
-
- HTML
-
-
- Send any format through Mail
-
-
- PDF
-
diff --git a/framework/birt/ofbiz-component.xml b/framework/birt/ofbiz-component.xml
index 920edc1445..17d5c808e5 100644
--- a/framework/birt/ofbiz-component.xml
+++ b/framework/birt/ofbiz-component.xml
@@ -32,11 +32,4 @@ under the License.
-
diff --git a/framework/birt/webapp/birt/WEB-INF/controller.xml b/framework/birt/webapp/birt/WEB-INF/controller.xml
deleted file mode 100644
index 82e46dfe7f..0000000000
--- a/framework/birt/webapp/birt/WEB-INF/controller.xml
+++ /dev/null
@@ -1,93 +0,0 @@
-
-
-
-
-
-
-
-
- Birt Component Site Configuration File
- Copyright 2001-2008 The Apache Software Foundation
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/framework/birt/webapp/birt/WEB-INF/server-config.wsdd b/framework/birt/webapp/birt/WEB-INF/server-config.wsdd
deleted file mode 100644
index fe9a342872..0000000000
--- a/framework/birt/webapp/birt/WEB-INF/server-config.wsdd
+++ /dev/null
@@ -1,952 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-http://schemas.eclipse.org/birt
-
-
-
-
-
-
- http://xml.apache.org/axis/wsdd/
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/framework/birt/webapp/birt/WEB-INF/web.xml b/framework/birt/webapp/birt/WEB-INF/web.xml
deleted file mode 100644
index ca0fa5beb1..0000000000
--- a/framework/birt/webapp/birt/WEB-INF/web.xml
+++ /dev/null
@@ -1,297 +0,0 @@
-
-
-
-
-
- Open For Business - BIRT Component
- BIRT Component of the Open For Business Project
-
-
- webSiteId
- BIRT
- A unique ID used to look up the WebSite entity
-
-
- localDispatcherNamebirt
- A unique name used to identify/recognize the local dispatcher for the Service Engine
-
-
- entityDelegatorNamedefault
- The Name of the Entity Delegator to use, defined in entityengine.xml
-
-
- mainDecoratorLocation
- component://birt/widget/CommonScreens.xml
- The location of the main-decorator screen to use for this webapp; referred to as a context variable in screen def XML files.
-
-
- widgetVerbose
- false
- Enable widget boundary comments. See org.ofbiz.widget.ModelWidget.widgetBoundaryCommentsEnabled().
-
-
- compressHTML
- false
- Remove unnecessary whitespace from HTML output.
-
-
-
-
- BIRT_VIEWER_LOCALE
- en-US
-
-
-
-
- BIRT_VIEWER_TIMEZONE
-
-
-
-
-
- BIRT_VIEWER_WORKING_FOLDER
- ${ofbiz.home}/runtime/tempfiles
-
-
-
-
- BIRT_VIEWER_DOCUMENT_FOLDER
- ${ofbiz.home}/runtime/tempfiles/documents
-
-
-
-
- WORKING_FOLDER_ACCESS_ONLY
- true
-
-
-
-
- BIRT_VIEWER_IMAGE_DIR
- ${ofbiz.home}/runtime/tempfiles/images
-
-
-
-
- BIRT_VIEWER_LOG_DIR
- ${ofbiz.home}/runtime/logs
-
-
-
-
- BIRT_VIEWER_LOG_LEVEL
- WARNING
-
-
-
-
- BIRT_VIEWER_SCRIPTLIB_DIR
- ${ofbiz.home}/framework/birt/lib/scriptlib
-
-
-
-
- BIRT_RESOURCE_PATH
- ${ofbiz.home}/runtime/tempfiles
-
-
-
-
- BIRT_VIEWER_MAX_ROWS
-
-
-
-
-
- BIRT_VIEWER_MAX_CUBE_ROWLEVELS
-
-
-
- BIRT_VIEWER_MAX_CUBE_COLUMNLEVELS
-
-
-
-
-
- BIRT_VIEWER_CUBE_MEMORY_SIZE
-
-
-
-
-
- BIRT_VIEWER_CONFIG_FILE
- WEB-INF/viewer.properties
-
-
-
-
- BIRT_VIEWER_PRINT_SERVERSIDE
- ON
-
-
-
-
- HTML_ENABLE_AGENTSTYLE_ENGINE
- true
-
-
-
-
- BIRT_FILENAME_GENERATOR_CLASS
- org.eclipse.birt.report.utility.filename.DefaultFilenameGenerator
-
-
-
- ContextFilter
- ContextFilter
- org.ofbiz.webapp.control.ContextFilter
- disableContextSecurityN
-
- allowedPaths
- /control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css:/frameset:/run:/preview:/download:/parameter:/document:/output:/extract:/webcontent:/CancelTask.jsp
-
- errorCode403
- redirectPath/control/main
-
-
-
- ViewerFilter
- org.eclipse.birt.report.filter.ViewerFilter
-
-
- ContextFilter/*
-
- ViewerFilter
- ViewerServlet
-
-
- ViewerFilter
- EngineServlet
-
-
- org.ofbiz.webapp.control.ControlEventListener
- org.ofbiz.webapp.control.LoginEventListener
-
-
-
-
-
- org.eclipse.birt.report.listener.ViewerHttpSessionListener
-
-
-
- ControlServlet
- ControlServlet
- Main Control Servlet
- org.ofbiz.webapp.control.ControlServlet
- 1
-
-
-
-
-
- EngineServlet
- org.ofbiz.birt.report.servlet.BirtEngineServlet
-
- ControlServlet/control/*
-
-
-
-
- EngineServlet
- /preview
-
-
-
- EngineServlet
- /download
-
-
-
- EngineServlet
- /parameter
-
-
-
- EngineServlet
- /document
-
-
-
- EngineServlet
- /output
-
-
-
- EngineServlet
- /extract
-
-
- 60
-
-
- index.jsp
- index.html
- index.htm
-
-
diff --git a/framework/birt/webapp/birt/error/error.jsp b/framework/birt/webapp/birt/error/error.jsp
deleted file mode 100644
index bab526dbe3..0000000000
--- a/framework/birt/webapp/birt/error/error.jsp
+++ /dev/null
@@ -1,52 +0,0 @@
-<%--
-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.
---%>
-<%@ page import="org.ofbiz.base.util.*" %>
-
-
-Open For Business Message
-
-
-
-<% String errorMsg = (String) request.getAttribute("_ERROR_MESSAGE_"); %>
-
-
-
-
-
-
-
-
-
- |
- :ERROR MESSAGE:
- |
-
-
- |
- <%=UtilFormatOut.replaceString(errorMsg, "\n", " ")%>
- |
-
-
- |
-
-
-
-
-
-
diff --git a/framework/birt/webapp/birt/index.jsp b/framework/birt/webapp/birt/index.jsp
deleted file mode 100644
index e3c3cdf88e..0000000000
--- a/framework/birt/webapp/birt/index.jsp
+++ /dev/null
@@ -1,19 +0,0 @@
-<%--
-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.
---%>
-<%response.sendRedirect("control/main");%>
diff --git a/framework/birt/widget/CommonScreens.xml b/framework/birt/widget/CommonScreens.xml
deleted file mode 100644
index fa9fe0982f..0000000000
--- a/framework/birt/widget/CommonScreens.xml
+++ /dev/null
@@ -1,89 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/framework/birt/widget/Menus.xml b/framework/birt/widget/Menus.xml
deleted file mode 100644
index 54db559725..0000000000
--- a/framework/birt/widget/Menus.xml
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-
-
-
-
-
-
diff --git a/framework/example/config/ExampleUiLabels.xml b/framework/example/config/ExampleUiLabels.xml
index a9ede20c0e..65b0d4c5f6 100644
--- a/framework/example/config/ExampleUiLabels.xml
+++ b/framework/example/config/ExampleUiLabels.xml
@@ -41,6 +41,15 @@
ตัวอย่างโปรแกรมคอมพิวเตอร์
样例应用
+
+ HTML
+
+
+ Send any format through Mail
+
+
+ PDF
+
OFBiz: Example
OFBiz : Exemple
diff --git a/framework/birt/webapp/birt/birt/report.ftl b/framework/example/webapp/birt/report.ftl
similarity index 90%
rename from framework/birt/webapp/birt/birt/report.ftl
rename to framework/example/webapp/birt/report.ftl
index f8a658f626..e232c429d0 100644
--- a/framework/birt/webapp/birt/birt/report.ftl
+++ b/framework/example/webapp/birt/report.ftl
@@ -1,30 +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://birt/webapp/birt/report/product.rptdesign"
- baseURL="/birt"
- height="700"
- width="900"
- format="html"
- isHostPage="false"
- pageNum="2">
+<#--
+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
diff --git a/framework/birt/webapp/birt/report/product.rptdesign b/framework/example/webapp/birt/report/product.rptdesign
similarity index 100%
rename from framework/birt/webapp/birt/report/product.rptdesign
rename to framework/example/webapp/birt/report/product.rptdesign
diff --git a/framework/birt/webapp/birt/WEB-INF/birt.tld b/framework/example/webapp/example/WEB-INF/birt.tld
similarity index 96%
rename from framework/birt/webapp/birt/WEB-INF/birt.tld
rename to framework/example/webapp/example/WEB-INF/birt.tld
index 1893d6b404..72af70142f 100644
--- a/framework/birt/webapp/birt/WEB-INF/birt.tld
+++ b/framework/example/webapp/example/WEB-INF/birt.tld
@@ -1,1157 +1,1157 @@
-
-
-
- 1.0
- 1.2
- BIRT Tag Library
- http://www.eclipse.org/birt/taglibs/birt.tld
-
- This Tag Library makes user develope JSP with BIRT Viewer component easily.
-
-
-
-
-
-
- viewer
- org.eclipse.birt.report.taglib.ViewerTag
- JSP
-
- 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.
-
-
-
- id
- true
- true
-
- Specifies the current viewer id. It should be unique.
- It can contain number,letter or underline.
-
-
-
-
- pattern
- false
- true
-
- Specifies which servlet pattern to be used to preview report.
- Default value is frameset.
- ( frameset or run )
-
-
-
-
- baseURL
- false
- true
-
- Specifies base URL of BIRT viewer.
- Default to the current context.
-
-
-
-
- title
- false
- true
-
- Specifies the report title displayed at the top.
-
-
-
-
- isHostPage
- false
- true
-
- Specifies whether the viewer occupies the whole page.
- Default to false.
-
-
-
-
- scrolling
- false
- true
-
- Sets the IFrame style "scrolling ".
- If isHostPage is true, ignore this attribute.
- ( auto | yes | no )
-
-
-
-
- position
- false
- true
-
- Sets the style "position" of report container.
- If isHostPage is true, ignore this attribute.
- ( static | absolute | fixed | relative )
-
-
-
-
- style
- false
- true
-
- Sets the style of report container.
- If isHostPage is true, ignore this attribute.
-
-
-
-
- height
- false
- true
-
- Sets the height of report container in pixels.
- If isHostPage is true, ignore this attribute.
-
-
-
-
- width
- false
- true
-
- Sets the width of report container in pixels.
- If isHostPage is true, ignore this attribute.
-
-
-
-
- top
- false
- true
-
- Sets the top of report container in pixels.
- If isHostPage is true, ignore this attribute.
-
-
-
-
- left
- false
- true
-
- Sets the left of report container in pixels.
- If isHostPage is true, ignore this attribute.
-
-
-
-
- frameborder
- false
- true
-
- Specifies whether displays the iframe border.
- Default to no.
- If isHostPage is true, ignore this attribute.
- ( Yes | No )
-
-
-
-
- reportDesign
- false
- true
-
- Specifies the report design file name.
- ( Absolute path, relative path or URL )
-
-
-
-
- reportDocument
- false
- true
-
- Specifies the report document file name.
- Noted: only support "file:" URL format.
- ( Absolute path, relative path or URL )
-
-
-
-
- reportletId
- false
- true
-
- Specifies the instance id of reportlet.
- The "reportDocument" attribute should be required.
- Noted: frameset pattern doesn't support reportlet.
-
-
-
-
- bookmark
- false
- true
-
- Specifies the targeted bookmark name.
-
-
-
-
- locale
- false
- true
-
- Specifies the Locale information.
-
-
-
-
- timeZone
- false
- true
-
- Specifies a time zone id. For example: "America/Los_Angeles" or "GMT+1" or "GMT+01:00".
-
-
-
-
- svg
- false
- true
-
- Specifies whether supports the SVG output format or not.
-
-
-
-
- format
- false
- true
-
- Specifies the output format of report.
-
-
-
-
- emitterId
- false
- true
-
- Specifies the emitter id for the report output.
-
-
-
-
- pageOverflow
- false
- true
-
- 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".
-
-
-
-
- rtl
- false
- true
-
- Specifies whether supports rtl page or not.
-
-
-
-
- pageNum
- false
- true
-
- Specifies output page number when render document file.
-
-
-
-
- pageRange
- false
- true
-
- Specifies page range when render document file.
-
-
-
-
- resourceFolder
- false
- true
-
- Specifies the referenced resource folder.
- Default value is defined in web.xml.
-
-
-
-
- forceOverwriteDocument
- false
- true
-
- Specifies whether forces to overwrite the generated document.
- If allowPageBreak is false,ignore this attribute.
- Default value is defined in web.xml.
-
-
-
-
- showTitle
- false
- true
-
- Specifies whether shows the report title.
- Default to true.
-
-
-
-
- showToolBar
- false
- true
-
- Specifies whether shows the toolbar.
- Default to true.
-
-
-
-
- showNavigationBar
- false
- true
-
- Specifies whether shows the Navigation Bar.
- If allowPageBreak is false,ignore this attribute.
- Default to true.
-
-
-
-
- showParameterPage
- false
- true
-
- Specifies whether show the parameter dialog or not.
- Default to true.
-
-
-
-
- isReportlet
- false
- true
-
- Specifies whether render reportlet by bookmark.
- Default to false.
-
-
-
-
-
-
-
-
-
- report
- org.eclipse.birt.report.taglib.ReportTag
- JSP
-
- The report tag can provide fast report preview without Ajax framework.
- The report content can be output to web browser directly.
-
-
-
- id
- true
- true
-
- Specifies the current viewer id. It should be unique.
- It can contain number,letter or underline.
-
-
-
-
- baseURL
- false
- true
-
- Specifies base URL of BIRT viewer.
- Default to the current context.
- If report container is DIV, ignore this attribute.
-
-
-
-
- isHostPage
- false
- true
-
- Specifies whether the viewer occupies the whole page.
- Default to false.
-
-
-
-
- scrolling
- false
- true
-
- Sets the DIV/IFrame style "scrolling ".
- If isHostPage is true, ignore this attribute.
- ( auto | yes | no )
-
-
-
-
- position
- false
- true
-
- Sets the style "position" of report container.
- If isHostPage is true, ignore this attribute.
- ( static | absolute | fixed | relative )
-
-
-
-
- style
- false
- true
-
- Sets the style of report container.
- If isHostPage is true, ignore this attribute.
-
-
-
-
- height
- false
- true
-
- Sets the height of report container in pixels.
- If isHostPage is true, ignore this attribute.
-
-
-
-
- width
- false
- true
-
- Sets the width of report container in pixels.
- If isHostPage is true, ignore this attribute.
-
-
-
-
- top
- false
- true
-
- Sets the top of report container in pixels.
- If isHostPage is true, ignore this attribute.
-
-
-
-
- left
- false
- true
-
- Sets the left of report container in pixels.
- If isHostPage is true, ignore this attribute.
-
-
-
-
- frameborder
- false
- true
-
- Specifies whether displays the iframe border.
- Available when user IFrame.
- Default to no.
- ( Yes | No )
-
-
-
-
- reportDesign
- false
- true
-
- Specifies the report design file name.
- ( Absolute path, relative path or URL )
-
-
-
-
- reportDocument
- false
- true
-
- Specifies the report document file name.
- Noted: only support "file:" URL format.
- ( Absolute path, relative path or URL )
-
-
-
-
- reportletId
- false
- true
-
- Specifies the instance id of reportlet.
- The "reportDocument" attribute should be required.
-
-
-
-
- bookmark
- false
- true
-
- Specifies the targeted bookmark name.
-
-
-
-
- locale
- false
- true
-
- Specifies the Locale information.
-
-
-
-
- timeZone
- false
- true
-
- Specifies a time zone id. For example: "America/Los_Angeles" or "GMT+1" or "GMT+01:00".
-
-
-
-
- svg
- false
- true
-
- Specifies whether supports the SVG output format or not.
-
-
-
-
- format
- false
- true
-
- Specifies the output format of report.
-
-
-
-
- emitterId
- false
- true
-
- Specifies the emitter id for the report output.
-
-
-
-
- pageOverflow
- false
- true
-
- 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".
-
-
-
-
- rtl
- false
- true
-
- Specifies whether supports rtl page or not.
-
-
-
-
- showParameterPage
- false
- true
-
- Specifies whether show the parameter dialog or not.
- Default to true.
- If report container is DIV, ignore this attribute.
-
-
-
-
- resourceFolder
- false
- true
-
- Specifies the referenced resource folder.
- Default value is defined in web.xml.
-
-
-
-
- reportContainer
- false
- true
-
- Specifies iframe or div as report container.
- Default to iframe.
- ( iframe | div )
-
-
-
-
- pageNum
- false
- true
-
- Specifies output page number when render document file.
-
-
-
-
- pageRange
- false
- true
-
- Specifies page range when render document file.
-
-
-
-
- isReportlet
- false
- true
-
- Specifies whether render reportlet by bookmark.
- Default to false.
-
-
-
-
-
-
-
-
-
- param
- org.eclipse.birt.report.taglib.ParamTag
- JSP
-
- The param tag specifies the parameters defined in report design file.
-
-
- name
- true
- true
-
- Specifies the report parameter name.
-
-
-
- pattern
- false
- true
-
- Specifies the report parameter pattern format.
-
-
-
- value
- false
- true
-
- Specifies the report parameter value. If doesn't set, value is null.
-
-
-
- displayText
- false
- true
-
- Specifies the report parameter display text.
-
-
-
- delim
- false
- true
-
- Specifies the delimiter for multiple values.
- Defaults to pipe "|".
-
-
-
- isLocale
- false
- true
-
- Specifies whether the report parameter value is a locale/format related string.
-
-
-
-
-
-
-
-
- value
- org.eclipse.birt.report.taglib.ParamValueTag
- JSP
-
- The param value tag specifies multiple values for a given param tag.
-
-
- value
- false
- true
-
- Specifies the report parameter value. If doesn't set, value is null.
-
-
-
- displayText
- false
- true
-
- Specifies the report parameter display text.
-
-
-
-
-
-
-
-
- parameterPage
- org.eclipse.birt.report.taglib.RequesterTag
- JSP
-
- 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.
-
-
-
- id
- true
- true
-
- Specifies the parameter page id.It should be unique.
- It can contain number,letter or underline.
-
-
-
-
- name
- false
- true
-
- Specifies the parameter page name.
- If attribute 'isCustom' is true, this name should be required and unique.
-
-
-
-
- isCustom
- false
- true
-
- Specifies whether uses the user-defined parameter page.
- If false, use the BIRT parameter dialog.
- Default to false.
-
-
-
-
- title
- false
- true
-
- Specifies the report title displayed at the top.
-
-
-
-
- baseURL
- false
- true
-
- Specifies base URL of BIRT viewer.
- Default to the current context.
-
-
-
-
- scrolling
- false
- true
-
- Sets the DIV/IFrame style "scrolling ".
- ( auto | yes | no )
-
-
-
-
- position
- false
- true
-
- Sets the style "position" of parameter page.
- ( static | absolute | fixed | relative )
-
-
-
-
- style
- false
- true
-
- Sets the style of parameter page.
-
-
-
-
- height
- false
- true
-
- Sets the height of parameter page in pixels.
-
-
-
-
- width
- false
- true
-
- Sets the width of parameter page in pixels.
-
-
-
-
- top
- false
- true
-
- Sets the top of parameter page in pixels.
-
-
-
-
- left
- false
- true
-
- Sets the left of parameter page in pixels.
-
-
-
-
- frameborder
- false
- true
-
- Specifies whether displays the iframe border.
- Default to no.
- If set "isCustom" to true, ignore this attribute.
- ( Yes | No )
-
-
-
-
- reportDesign
- false
- true
-
- Specifies the report design file name.
- ( Absolute path, relative path or URL )
-
-
-
-
- reportDocument
- false
- true
-
- Specifies the report document file name.
- Noted: only support "file:" URL format.
- ( Absolute path, relative path or URL )
-
-
-
-
- reportletId
- false
- true
-
- Specifies the instance id of reportlet.
- The "reportDocument" attribute should be required.
- Noted: frameset pattern doesn't support reportlet.
-
-
-
-
- pattern
- false
- true
-
- 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.
-
-
-
-
- target
- false
- true
-
- Specifies the target window for request submit.
-
-
-
-
- bookmark
- false
- true
-
- Specifies the targeted bookmark name.
-
-
-
-
- locale
- false
- true
-
- Specifies the Locale information.
-
-
-
-
- timeZone
- false
- true
-
- Specifies a time zone id. For example: "America/Los_Angeles" or "GMT+1" or "GMT+01:00".
-
-
-
-
- svg
- false
- true
-
- Specifies whether supports the SVG output format or not.
-
-
-
-
- format
- false
- true
-
- Specifies the output format of report.
-
-
-
-
- emitterId
- false
- true
-
- Specifies the emitter id for the report output.
-
-
-
-
- pageOverflow
- false
- true
-
- 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".
-
-
-
-
- rtl
- false
- true
-
- Specifies whether supports rtl page or not.
-
-
-
-
- resourceFolder
- false
- true
-
- Specifies the referenced resource folder.
- Default value is defined in web.xml.
-
-
-
-
- forceOverwriteDocument
- false
- true
-
- Specifies whether forces to overwrite the generated document.
- If allowPageBreak is false,ignore this attribute.
- Default value is defined in web.xml.
-
-
-
-
- showTitle
- false
- true
-
- Specifies whether shows the report title.
- Default to true.
-
-
-
-
- showToolBar
- false
- true
-
- Specifies whether shows the toolbar.
- Default to true.
-
-
-
-
- showNavigationBar
- false
- true
-
- Specifies whether shows the Navigation Bar.
- If allowPageBreak is false,ignore this attribute.
- Default to true.
-
-
-
-
- isReportlet
- false
- true
-
- Specifies whether render reportlet by bookmark.
- Default to false.
-
-
-
-
-
-
-
-
-
- paramDef
- org.eclipse.birt.report.taglib.ParamDefTag
- JSP
-
- The param tag is used to generate html code for defined parameter in ParameterPage tag.
-
-
- id
- true
- true
-
- Specifies the id of parameter control.It should be unique.
- It can contain number,letter or underline.
-
-
-
- name
- true
- true
-
- Specifies the report parameter name.
-
-
-
- pattern
- false
- true
-
- Specifies the report parameter pattern format.
- It is used to parse defined parameter value string.
-
-
-
- value
- false
- true
-
- Specifies the report parameter value. If doesn't set, use default value.
-
-
-
- displayText
- false
- true
-
- Specifies the report parameter display text.
-
-
-
- isLocale
- false
- true
-
- Specifies whether the report parameter value is a locale/format related string.
- It is used to parse defined parameter value string.
-
-
-
- title
- false
- true
-
- Specifies the title attribute of parameter control.
-
-
-
- cssClass
- false
- true
-
- Specifies the css class attribute of parameter control.
-
-
-
- style
- false
- true
-
- Specifies the parameter control style.
-
-
-
+
+
+
+ 1.0
+ 1.2
+ BIRT Tag Library
+ http://www.eclipse.org/birt/taglibs/birt.tld
+
+ This Tag Library makes user develope JSP with BIRT Viewer component easily.
+
+
+
+
+
+
+ viewer
+ org.eclipse.birt.report.taglib.ViewerTag
+ JSP
+
+ 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.
+
+
+
+ id
+ true
+ true
+
+ Specifies the current viewer id. It should be unique.
+ It can contain number,letter or underline.
+
+
+
+
+ pattern
+ false
+ true
+
+ Specifies which servlet pattern to be used to preview report.
+ Default value is frameset.
+ ( frameset or run )
+
+
+
+
+ baseURL
+ false
+ true
+
+ Specifies base URL of BIRT viewer.
+ Default to the current context.
+
+
+
+
+ title
+ false
+ true
+
+ Specifies the report title displayed at the top.
+
+
+
+
+ isHostPage
+ false
+ true
+
+ Specifies whether the viewer occupies the whole page.
+ Default to false.
+
+
+
+
+ scrolling
+ false
+ true
+
+ Sets the IFrame style "scrolling ".
+ If isHostPage is true, ignore this attribute.
+ ( auto | yes | no )
+
+
+
+
+ position
+ false
+ true
+
+ Sets the style "position" of report container.
+ If isHostPage is true, ignore this attribute.
+ ( static | absolute | fixed | relative )
+
+
+
+
+ style
+ false
+ true
+
+ Sets the style of report container.
+ If isHostPage is true, ignore this attribute.
+
+
+
+
+ height
+ false
+ true
+
+ Sets the height of report container in pixels.
+ If isHostPage is true, ignore this attribute.
+
+
+
+
+ width
+ false
+ true
+
+ Sets the width of report container in pixels.
+ If isHostPage is true, ignore this attribute.
+
+
+
+
+ top
+ false
+ true
+
+ Sets the top of report container in pixels.
+ If isHostPage is true, ignore this attribute.
+
+
+
+
+ left
+ false
+ true
+
+ Sets the left of report container in pixels.
+ If isHostPage is true, ignore this attribute.
+
+
+
+
+ frameborder
+ false
+ true
+
+ Specifies whether displays the iframe border.
+ Default to no.
+ If isHostPage is true, ignore this attribute.
+ ( Yes | No )
+
+
+
+
+ reportDesign
+ false
+ true
+
+ Specifies the report design file name.
+ ( Absolute path, relative path or URL )
+
+
+
+
+ reportDocument
+ false
+ true
+
+ Specifies the report document file name.
+ Noted: only support "file:" URL format.
+ ( Absolute path, relative path or URL )
+
+
+
+
+ reportletId
+ false
+ true
+
+ Specifies the instance id of reportlet.
+ The "reportDocument" attribute should be required.
+ Noted: frameset pattern doesn't support reportlet.
+
+
+
+
+ bookmark
+ false
+ true
+
+ Specifies the targeted bookmark name.
+
+
+
+
+ locale
+ false
+ true
+
+ Specifies the Locale information.
+
+
+
+
+ timeZone
+ false
+ true
+
+ Specifies a time zone id. For example: "America/Los_Angeles" or "GMT+1" or "GMT+01:00".
+
+
+
+
+ svg
+ false
+ true
+
+ Specifies whether supports the SVG output format or not.
+
+
+
+
+ format
+ false
+ true
+
+ Specifies the output format of report.
+
+
+
+
+ emitterId
+ false
+ true
+
+ Specifies the emitter id for the report output.
+
+
+
+
+ pageOverflow
+ false
+ true
+
+ 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".
+
+
+
+
+ rtl
+ false
+ true
+
+ Specifies whether supports rtl page or not.
+
+
+
+
+ pageNum
+ false
+ true
+
+ Specifies output page number when render document file.
+
+
+
+
+ pageRange
+ false
+ true
+
+ Specifies page range when render document file.
+
+
+
+
+ resourceFolder
+ false
+ true
+
+ Specifies the referenced resource folder.
+ Default value is defined in web.xml.
+
+
+
+
+ forceOverwriteDocument
+ false
+ true
+
+ Specifies whether forces to overwrite the generated document.
+ If allowPageBreak is false,ignore this attribute.
+ Default value is defined in web.xml.
+
+
+
+
+ showTitle
+ false
+ true
+
+ Specifies whether shows the report title.
+ Default to true.
+
+
+
+
+ showToolBar
+ false
+ true
+
+ Specifies whether shows the toolbar.
+ Default to true.
+
+
+
+
+ showNavigationBar
+ false
+ true
+
+ Specifies whether shows the Navigation Bar.
+ If allowPageBreak is false,ignore this attribute.
+ Default to true.
+
+
+
+
+ showParameterPage
+ false
+ true
+
+ Specifies whether show the parameter dialog or not.
+ Default to true.
+
+
+
+
+ isReportlet
+ false
+ true
+
+ Specifies whether render reportlet by bookmark.
+ Default to false.
+
+
+
+
+
+
+
+
+
+ report
+ org.eclipse.birt.report.taglib.ReportTag
+ JSP
+
+ The report tag can provide fast report preview without Ajax framework.
+ The report content can be output to web browser directly.
+
+
+
+ id
+ true
+ true
+
+ Specifies the current viewer id. It should be unique.
+ It can contain number,letter or underline.
+
+
+
+
+ baseURL
+ false
+ true
+
+ Specifies base URL of BIRT viewer.
+ Default to the current context.
+ If report container is DIV, ignore this attribute.
+
+
+
+
+ isHostPage
+ false
+ true
+
+ Specifies whether the viewer occupies the whole page.
+ Default to false.
+
+
+
+
+ scrolling
+ false
+ true
+
+ Sets the DIV/IFrame style "scrolling ".
+ If isHostPage is true, ignore this attribute.
+ ( auto | yes | no )
+
+
+
+
+ position
+ false
+ true
+
+ Sets the style "position" of report container.
+ If isHostPage is true, ignore this attribute.
+ ( static | absolute | fixed | relative )
+
+
+
+
+ style
+ false
+ true
+
+ Sets the style of report container.
+ If isHostPage is true, ignore this attribute.
+
+
+
+
+ height
+ false
+ true
+
+ Sets the height of report container in pixels.
+ If isHostPage is true, ignore this attribute.
+
+
+
+
+ width
+ false
+ true
+
+ Sets the width of report container in pixels.
+ If isHostPage is true, ignore this attribute.
+
+
+
+
+ top
+ false
+ true
+
+ Sets the top of report container in pixels.
+ If isHostPage is true, ignore this attribute.
+
+
+
+
+ left
+ false
+ true
+
+ Sets the left of report container in pixels.
+ If isHostPage is true, ignore this attribute.
+
+
+
+
+ frameborder
+ false
+ true
+
+ Specifies whether displays the iframe border.
+ Available when user IFrame.
+ Default to no.
+ ( Yes | No )
+
+
+
+
+ reportDesign
+ false
+ true
+
+ Specifies the report design file name.
+ ( Absolute path, relative path or URL )
+
+
+
+
+ reportDocument
+ false
+ true
+
+ Specifies the report document file name.
+ Noted: only support "file:" URL format.
+ ( Absolute path, relative path or URL )
+
+
+
+
+ reportletId
+ false
+ true
+
+ Specifies the instance id of reportlet.
+ The "reportDocument" attribute should be required.
+
+
+
+
+ bookmark
+ false
+ true
+
+ Specifies the targeted bookmark name.
+
+
+
+
+ locale
+ false
+ true
+
+ Specifies the Locale information.
+
+
+
+
+ timeZone
+ false
+ true
+
+ Specifies a time zone id. For example: "America/Los_Angeles" or "GMT+1" or "GMT+01:00".
+
+
+
+
+ svg
+ false
+ true
+
+ Specifies whether supports the SVG output format or not.
+
+
+
+
+ format
+ false
+ true
+
+ Specifies the output format of report.
+
+
+
+
+ emitterId
+ false
+ true
+
+ Specifies the emitter id for the report output.
+
+
+
+
+ pageOverflow
+ false
+ true
+
+ 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".
+
+
+
+
+ rtl
+ false
+ true
+
+ Specifies whether supports rtl page or not.
+
+
+
+
+ showParameterPage
+ false
+ true
+
+ Specifies whether show the parameter dialog or not.
+ Default to true.
+ If report container is DIV, ignore this attribute.
+
+
+
+
+ resourceFolder
+ false
+ true
+
+ Specifies the referenced resource folder.
+ Default value is defined in web.xml.
+
+
+
+
+ reportContainer
+ false
+ true
+
+ Specifies iframe or div as report container.
+ Default to iframe.
+ ( iframe | div )
+
+
+
+
+ pageNum
+ false
+ true
+
+ Specifies output page number when render document file.
+
+
+
+
+ pageRange
+ false
+ true
+
+ Specifies page range when render document file.
+
+
+
+
+ isReportlet
+ false
+ true
+
+ Specifies whether render reportlet by bookmark.
+ Default to false.
+
+
+
+
+
+
+
+
+
+ param
+ org.eclipse.birt.report.taglib.ParamTag
+ JSP
+
+ The param tag specifies the parameters defined in report design file.
+
+
+ name
+ true
+ true
+
+ Specifies the report parameter name.
+
+
+
+ pattern
+ false
+ true
+
+ Specifies the report parameter pattern format.
+
+
+
+ value
+ false
+ true
+
+ Specifies the report parameter value. If doesn't set, value is null.
+
+
+
+ displayText
+ false
+ true
+
+ Specifies the report parameter display text.
+
+
+
+ delim
+ false
+ true
+
+ Specifies the delimiter for multiple values.
+ Defaults to pipe "|".
+
+
+
+ isLocale
+ false
+ true
+
+ Specifies whether the report parameter value is a locale/format related string.
+
+
+
+
+
+
+
+
+ value
+ org.eclipse.birt.report.taglib.ParamValueTag
+ JSP
+
+ The param value tag specifies multiple values for a given param tag.
+
+
+ value
+ false
+ true
+
+ Specifies the report parameter value. If doesn't set, value is null.
+
+
+
+ displayText
+ false
+ true
+
+ Specifies the report parameter display text.
+
+
+
+
+
+
+
+
+ parameterPage
+ org.eclipse.birt.report.taglib.RequesterTag
+ JSP
+
+ 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.
+
+
+
+ id
+ true
+ true
+
+ Specifies the parameter page id.It should be unique.
+ It can contain number,letter or underline.
+
+
+
+
+ name
+ false
+ true
+
+ Specifies the parameter page name.
+ If attribute 'isCustom' is true, this name should be required and unique.
+
+
+
+
+ isCustom
+ false
+ true
+
+ Specifies whether uses the user-defined parameter page.
+ If false, use the BIRT parameter dialog.
+ Default to false.
+
+
+
+
+ title
+ false
+ true
+
+ Specifies the report title displayed at the top.
+
+
+
+
+ baseURL
+ false
+ true
+
+ Specifies base URL of BIRT viewer.
+ Default to the current context.
+
+
+
+
+ scrolling
+ false
+ true
+
+ Sets the DIV/IFrame style "scrolling ".
+ ( auto | yes | no )
+
+
+
+
+ position
+ false
+ true
+
+ Sets the style "position" of parameter page.
+ ( static | absolute | fixed | relative )
+
+
+
+
+ style
+ false
+ true
+
+ Sets the style of parameter page.
+
+
+
+
+ height
+ false
+ true
+
+ Sets the height of parameter page in pixels.
+
+
+
+
+ width
+ false
+ true
+
+ Sets the width of parameter page in pixels.
+
+
+
+
+ top
+ false
+ true
+
+ Sets the top of parameter page in pixels.
+
+
+
+
+ left
+ false
+ true
+
+ Sets the left of parameter page in pixels.
+
+
+
+
+ frameborder
+ false
+ true
+
+ Specifies whether displays the iframe border.
+ Default to no.
+ If set "isCustom" to true, ignore this attribute.
+ ( Yes | No )
+
+
+
+
+ reportDesign
+ false
+ true
+
+ Specifies the report design file name.
+ ( Absolute path, relative path or URL )
+
+
+
+
+ reportDocument
+ false
+ true
+
+ Specifies the report document file name.
+ Noted: only support "file:" URL format.
+ ( Absolute path, relative path or URL )
+
+
+
+
+ reportletId
+ false
+ true
+
+ Specifies the instance id of reportlet.
+ The "reportDocument" attribute should be required.
+ Noted: frameset pattern doesn't support reportlet.
+
+
+
+
+ pattern
+ false
+ true
+
+ 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.
+
+
+
+
+ target
+ false
+ true
+
+ Specifies the target window for request submit.
+
+
+
+
+ bookmark
+ false
+ true
+
+ Specifies the targeted bookmark name.
+
+
+
+
+ locale
+ false
+ true
+
+ Specifies the Locale information.
+
+
+
+
+ timeZone
+ false
+ true
+
+ Specifies a time zone id. For example: "America/Los_Angeles" or "GMT+1" or "GMT+01:00".
+
+
+
+
+ svg
+ false
+ true
+
+ Specifies whether supports the SVG output format or not.
+
+
+
+
+ format
+ false
+ true
+
+ Specifies the output format of report.
+
+
+
+
+ emitterId
+ false
+ true
+
+ Specifies the emitter id for the report output.
+
+
+
+
+ pageOverflow
+ false
+ true
+
+ 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".
+
+
+
+
+ rtl
+ false
+ true
+
+ Specifies whether supports rtl page or not.
+
+
+
+
+ resourceFolder
+ false
+ true
+
+ Specifies the referenced resource folder.
+ Default value is defined in web.xml.
+
+
+
+
+ forceOverwriteDocument
+ false
+ true
+
+ Specifies whether forces to overwrite the generated document.
+ If allowPageBreak is false,ignore this attribute.
+ Default value is defined in web.xml.
+
+
+
+
+ showTitle
+ false
+ true
+
+ Specifies whether shows the report title.
+ Default to true.
+
+
+
+
+ showToolBar
+ false
+ true
+
+ Specifies whether shows the toolbar.
+ Default to true.
+
+
+
+
+ showNavigationBar
+ false
+ true
+
+ Specifies whether shows the Navigation Bar.
+ If allowPageBreak is false,ignore this attribute.
+ Default to true.
+
+
+
+
+ isReportlet
+ false
+ true
+
+ Specifies whether render reportlet by bookmark.
+ Default to false.
+
+
+
+
+
+
+
+
+
+ paramDef
+ org.eclipse.birt.report.taglib.ParamDefTag
+ JSP
+
+ The param tag is used to generate html code for defined parameter in ParameterPage tag.
+
+
+ id
+ true
+ true
+
+ Specifies the id of parameter control.It should be unique.
+ It can contain number,letter or underline.
+
+
+
+ name
+ true
+ true
+
+ Specifies the report parameter name.
+
+
+
+ pattern
+ false
+ true
+
+ Specifies the report parameter pattern format.
+ It is used to parse defined parameter value string.
+
+
+
+ value
+ false
+ true
+
+ Specifies the report parameter value. If doesn't set, use default value.
+
+
+
+ displayText
+ false
+ true
+
+ Specifies the report parameter display text.
+
+
+
+ isLocale
+ false
+ true
+
+ Specifies whether the report parameter value is a locale/format related string.
+ It is used to parse defined parameter value string.
+
+
+
+ title
+ false
+ true
+
+ Specifies the title attribute of parameter control.
+
+
+
+ cssClass
+ false
+ true
+
+ Specifies the css class attribute of parameter control.
+
+
+
+ style
+ false
+ true
+
+ Specifies the parameter control style.
+
+
+
\ No newline at end of file
diff --git a/framework/example/webapp/example/WEB-INF/controller.xml b/framework/example/webapp/example/WEB-INF/controller.xml
index fd3e1257c6..1e36a5f5e3 100644
--- a/framework/example/webapp/example/WEB-INF/controller.xml
+++ b/framework/example/webapp/example/WEB-INF/controller.xml
@@ -216,6 +216,29 @@ under the License.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -248,5 +271,21 @@ under the License.
-
+
+
+
+
+
+
+
+
+
+
+
diff --git a/framework/birt/widget/BirtForms.xml b/framework/example/widget/example/BirtForms.xml
similarity index 94%
rename from framework/birt/widget/BirtForms.xml
rename to framework/example/widget/example/BirtForms.xml
index 1c94ff0ce4..de0b4275d3 100644
--- a/framework/birt/widget/BirtForms.xml
+++ b/framework/example/widget/example/BirtForms.xml
@@ -1,41 +1,41 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
diff --git a/framework/birt/widget/BirtScreens.xml b/framework/example/widget/example/BirtScreens.xml
similarity index 94%
rename from framework/birt/widget/BirtScreens.xml
rename to framework/example/widget/example/BirtScreens.xml
index 79f4b0d448..4a74be1745 100644
--- a/framework/birt/widget/BirtScreens.xml
+++ b/framework/example/widget/example/BirtScreens.xml
@@ -1,71 +1,71 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/framework/example/widget/example/CommonScreens.xml b/framework/example/widget/example/CommonScreens.xml
index 9186dbe8ba..4d98f68bf7 100644
--- a/framework/example/widget/example/CommonScreens.xml
+++ b/framework/example/widget/example/CommonScreens.xml
@@ -202,6 +202,43 @@ under the License.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+