[jira] Created: (OFBIZ-2347) BIRT Component

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
59 messages Options
123
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (OFBIZ-2347) BIRT Component

Nicolas Malin (Jira)
BIRT Component
--------------

                 Key: OFBIZ-2347
                 URL: https://issues.apache.org/jira/browse/OFBIZ-2347
             Project: OFBiz
          Issue Type: New Feature
    Affects Versions: SVN trunk
         Environment: software
            Reporter: Chatree Srichart
             Fix For: SVN trunk


I have component for use Eclipse BIRT as report builder.
Features:
1. BIRT View Handler
2. BIRT Email Service

I hope contributers contribute it to trunk.

INSTALLATION
1. copy birt component to hot-deploy folder
2. download Eclipse BIRT runtime from <a href="http://download.eclipse.org/birt/downloads/">download</a>
3. extract birt-runtime-x_x_x.zip
4. copy all jar file from birt-runtime-x_x_x/ReportEngine/lib folder to hot-deploy/birt/lib folder
5. change birt.engine.home property in hot-deploy/birt/config/birt.properties to your ReportEngine path in birt-runtime_x_x_x folder
6. add birt-container in ofbiz-container.xml file after beanshell-container container like this
<container name="birt-container" class="org.ofbiz.birt.container.BirtContainer">
        <property name="delegator-name" value="default"/>
        <property name="dispatcher-name" value="birt-dispatcher"/>
        <property name="delegator-group-helper-name" value="org.ofbiz"/>
    </container>
7. compile birt component
8. start ofbiz

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-2347) BIRT Component

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-2347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chatree Srichart updated OFBIZ-2347:
------------------------------------

    Attachment: birt.zip

birt component

> BIRT Component
> --------------
>
>                 Key: OFBIZ-2347
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2347
>             Project: OFBiz
>          Issue Type: New Feature
>    Affects Versions: SVN trunk
>         Environment: software
>            Reporter: Chatree Srichart
>             Fix For: SVN trunk
>
>         Attachments: birt.zip
>
>
> I have component for use Eclipse BIRT as report builder.
> Features:
> 1. BIRT View Handler
> 2. BIRT Email Service
> I hope contributers contribute it to trunk.
> INSTALLATION
> 1. copy birt component to hot-deploy folder
> 2. download Eclipse BIRT runtime from <a href="http://download.eclipse.org/birt/downloads/">download</a>
> 3. extract birt-runtime-x_x_x.zip
> 4. copy all jar file from birt-runtime-x_x_x/ReportEngine/lib folder to hot-deploy/birt/lib folder
> 5. change birt.engine.home property in hot-deploy/birt/config/birt.properties to your ReportEngine path in birt-runtime_x_x_x folder
> 6. add birt-container in ofbiz-container.xml file after beanshell-container container like this
> <container name="birt-container" class="org.ofbiz.birt.container.BirtContainer">
>         <property name="delegator-name" value="default"/>
>         <property name="dispatcher-name" value="birt-dispatcher"/>
>         <property name="delegator-group-helper-name" value="org.ofbiz"/>
>     </container>
> 7. compile birt component
> 8. start ofbiz

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-2347) BIRT Component

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-2347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chatree Srichart updated OFBIZ-2347:
------------------------------------

    Description:
I have component for use Eclipse BIRT as report builder.
Features:
1. BIRT View Handler
2. BIRT Email Service

I hope contributers contribute it to trunk.

INSTALLATION
1. download birt.zip from attachment file
2. extract birt.zip
3. copy birt folder to hot-deploy folder
4. download Eclipse BIRT runtime from http://download.eclipse.org/birt/downloads/
5. extract birt-runtime-x_x_x.zip
6. copy all jar file from birt-runtime-x_x_x/ReportEngine/lib folder to hot-deploy/birt/lib folder
7. change birt.engine.home property in hot-deploy/birt/config/birt.properties to your ReportEngine path in birt-runtime_x_x_x folder
8. add birt-container in ofbiz-container.xml file after beanshell-container container like this
<container name="birt-container" class="org.ofbiz.birt.container.BirtContainer">
        <property name="delegator-name" value="default"/>
        <property name="dispatcher-name" value="birt-dispatcher"/>
        <property name="delegator-group-helper-name" value="org.ofbiz"/>
    </container>
9. compile birt component
10. start ofbiz

  was:
I have component for use Eclipse BIRT as report builder.
Features:
1. BIRT View Handler
2. BIRT Email Service

I hope contributers contribute it to trunk.

INSTALLATION
1. copy birt component to hot-deploy folder
2. download Eclipse BIRT runtime from <a href="http://download.eclipse.org/birt/downloads/">download</a>
3. extract birt-runtime-x_x_x.zip
4. copy all jar file from birt-runtime-x_x_x/ReportEngine/lib folder to hot-deploy/birt/lib folder
5. change birt.engine.home property in hot-deploy/birt/config/birt.properties to your ReportEngine path in birt-runtime_x_x_x folder
6. add birt-container in ofbiz-container.xml file after beanshell-container container like this
<container name="birt-container" class="org.ofbiz.birt.container.BirtContainer">
        <property name="delegator-name" value="default"/>
        <property name="dispatcher-name" value="birt-dispatcher"/>
        <property name="delegator-group-helper-name" value="org.ofbiz"/>
    </container>
7. compile birt component
8. start ofbiz


> BIRT Component
> --------------
>
>                 Key: OFBIZ-2347
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2347
>             Project: OFBiz
>          Issue Type: New Feature
>    Affects Versions: SVN trunk
>         Environment: software
>            Reporter: Chatree Srichart
>             Fix For: SVN trunk
>
>         Attachments: birt.zip
>
>
> I have component for use Eclipse BIRT as report builder.
> Features:
> 1. BIRT View Handler
> 2. BIRT Email Service
> I hope contributers contribute it to trunk.
> INSTALLATION
> 1. download birt.zip from attachment file
> 2. extract birt.zip
> 3. copy birt folder to hot-deploy folder
> 4. download Eclipse BIRT runtime from http://download.eclipse.org/birt/downloads/
> 5. extract birt-runtime-x_x_x.zip
> 6. copy all jar file from birt-runtime-x_x_x/ReportEngine/lib folder to hot-deploy/birt/lib folder
> 7. change birt.engine.home property in hot-deploy/birt/config/birt.properties to your ReportEngine path in birt-runtime_x_x_x folder
> 8. add birt-container in ofbiz-container.xml file after beanshell-container container like this
> <container name="birt-container" class="org.ofbiz.birt.container.BirtContainer">
>         <property name="delegator-name" value="default"/>
>         <property name="dispatcher-name" value="birt-dispatcher"/>
>         <property name="delegator-group-helper-name" value="org.ofbiz"/>
>     </container>
> 9. compile birt component
> 10. start ofbiz

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2347) BIRT Component

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12702000#action_12702000 ]

Jacopo Cappellato commented on OFBIZ-2347:
------------------------------------------

Thanks Chatree.
Could you please re attach the file to this page, but setting "Grant ASF License" check?
It is important because if you don't grant this then we will not be able to commit it to the trunk.

Thanks

> BIRT Component
> --------------
>
>                 Key: OFBIZ-2347
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2347
>             Project: OFBiz
>          Issue Type: New Feature
>    Affects Versions: SVN trunk
>         Environment: software
>            Reporter: Chatree Srichart
>             Fix For: SVN trunk
>
>         Attachments: birt.zip
>
>
> I have component for use Eclipse BIRT as report builder.
> Features:
> 1. BIRT View Handler
> 2. BIRT Email Service
> I hope contributers contribute it to trunk.
> INSTALLATION
> 1. download birt.zip from attachment file
> 2. extract birt.zip
> 3. copy birt folder to hot-deploy folder
> 4. download Eclipse BIRT runtime from http://download.eclipse.org/birt/downloads/
> 5. extract birt-runtime-x_x_x.zip
> 6. copy all jar file from birt-runtime-x_x_x/ReportEngine/lib folder to hot-deploy/birt/lib folder
> 7. change birt.engine.home property in hot-deploy/birt/config/birt.properties to your ReportEngine path in birt-runtime_x_x_x folder
> 8. add birt-container in ofbiz-container.xml file after beanshell-container container like this
> <container name="birt-container" class="org.ofbiz.birt.container.BirtContainer">
>         <property name="delegator-name" value="default"/>
>         <property name="dispatcher-name" value="birt-dispatcher"/>
>         <property name="delegator-group-helper-name" value="org.ofbiz"/>
>     </container>
> 9. compile birt component
> 10. start ofbiz

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-2347) BIRT Component

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-2347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chatree Srichart updated OFBIZ-2347:
------------------------------------

    Attachment: birt.zip

> BIRT Component
> --------------
>
>                 Key: OFBIZ-2347
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2347
>             Project: OFBiz
>          Issue Type: New Feature
>    Affects Versions: SVN trunk
>         Environment: software
>            Reporter: Chatree Srichart
>             Fix For: SVN trunk
>
>         Attachments: birt.zip, birt.zip
>
>
> I have component for use Eclipse BIRT as report builder.
> Features:
> 1. BIRT View Handler
> 2. BIRT Email Service
> I hope contributers contribute it to trunk.
> INSTALLATION
> 1. download birt.zip from attachment file
> 2. extract birt.zip
> 3. copy birt folder to hot-deploy folder
> 4. download Eclipse BIRT runtime from http://download.eclipse.org/birt/downloads/
> 5. extract birt-runtime-x_x_x.zip
> 6. copy all jar file from birt-runtime-x_x_x/ReportEngine/lib folder to hot-deploy/birt/lib folder
> 7. change birt.engine.home property in hot-deploy/birt/config/birt.properties to your ReportEngine path in birt-runtime_x_x_x folder
> 8. add birt-container in ofbiz-container.xml file after beanshell-container container like this
> <container name="birt-container" class="org.ofbiz.birt.container.BirtContainer">
>         <property name="delegator-name" value="default"/>
>         <property name="dispatcher-name" value="birt-dispatcher"/>
>         <property name="delegator-group-helper-name" value="org.ofbiz"/>
>     </container>
> 9. compile birt component
> 10. start ofbiz

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-2347) BIRT Component

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-2347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chatree Srichart updated OFBIZ-2347:
------------------------------------

    Attachment:     (was: birt.zip)

> BIRT Component
> --------------
>
>                 Key: OFBIZ-2347
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2347
>             Project: OFBiz
>          Issue Type: New Feature
>    Affects Versions: SVN trunk
>         Environment: software
>            Reporter: Chatree Srichart
>             Fix For: SVN trunk
>
>         Attachments: birt.zip
>
>
> I have component for use Eclipse BIRT as report builder.
> Features:
> 1. BIRT View Handler
> 2. BIRT Email Service
> I hope contributers contribute it to trunk.
> INSTALLATION
> 1. download birt.zip from attachment file
> 2. extract birt.zip
> 3. copy birt folder to hot-deploy folder
> 4. download Eclipse BIRT runtime from http://download.eclipse.org/birt/downloads/
> 5. extract birt-runtime-x_x_x.zip
> 6. copy all jar file from birt-runtime-x_x_x/ReportEngine/lib folder to hot-deploy/birt/lib folder
> 7. change birt.engine.home property in hot-deploy/birt/config/birt.properties to your ReportEngine path in birt-runtime_x_x_x folder
> 8. add birt-container in ofbiz-container.xml file after beanshell-container container like this
> <container name="birt-container" class="org.ofbiz.birt.container.BirtContainer">
>         <property name="delegator-name" value="default"/>
>         <property name="dispatcher-name" value="birt-dispatcher"/>
>         <property name="delegator-group-helper-name" value="org.ofbiz"/>
>     </container>
> 9. compile birt component
> 10. start ofbiz

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2347) BIRT Component

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12702031#action_12702031 ]

Chatree Srichart commented on OFBIZ-2347:
-----------------------------------------

Thanks Jacopo...
I had been re attach the file for "Grant ASF License". I hope that birt component benefit OFBiz project.

> BIRT Component
> --------------
>
>                 Key: OFBIZ-2347
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2347
>             Project: OFBiz
>          Issue Type: New Feature
>    Affects Versions: SVN trunk
>         Environment: software
>            Reporter: Chatree Srichart
>             Fix For: SVN trunk
>
>         Attachments: birt.zip
>
>
> I have component for use Eclipse BIRT as report builder.
> Features:
> 1. BIRT View Handler
> 2. BIRT Email Service
> I hope contributers contribute it to trunk.
> INSTALLATION
> 1. download birt.zip from attachment file
> 2. extract birt.zip
> 3. copy birt folder to hot-deploy folder
> 4. download Eclipse BIRT runtime from http://download.eclipse.org/birt/downloads/
> 5. extract birt-runtime-x_x_x.zip
> 6. copy all jar file from birt-runtime-x_x_x/ReportEngine/lib folder to hot-deploy/birt/lib folder
> 7. change birt.engine.home property in hot-deploy/birt/config/birt.properties to your ReportEngine path in birt-runtime_x_x_x folder
> 8. add birt-container in ofbiz-container.xml file after beanshell-container container like this
> <container name="birt-container" class="org.ofbiz.birt.container.BirtContainer">
>         <property name="delegator-name" value="default"/>
>         <property name="dispatcher-name" value="birt-dispatcher"/>
>         <property name="delegator-group-helper-name" value="org.ofbiz"/>
>     </container>
> 9. compile birt component
> 10. start ofbiz

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2347) BIRT Component

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12707373#action_12707373 ]

chris snow commented on OFBIZ-2347:
-----------------------------------

What version of Birt runtime have these instructions been based on?  I have just tried with 2.3.2.1 and I am receiving the following error when accessing https://localhost/birt/control/main:

java.lang.NoSuchMethodError: com.ibm.icu.util.UResourceBundle.getBundleInstance(Ljava/lang/String;Lcom/ibm/icu/util/ULocale;Ljava/lang/ClassLoader;)Lcom/ibm/icu/util/UResourceBundle;
        org.eclipse.birt.chart.reportitem.i18n.Messages.<clinit>(Messages.java:30)
        org.eclipse.birt.chart.reportitem.ChartReportItemImpl.validate(ChartReportItemImpl.java:739)
        org.eclipse.birt.report.model.api.validators.ExtensionValidator.doValidate(ExtensionValidator.java:138)
        org.eclipse.birt.report.model.api.validators.ExtensionValidator.validate(ExtensionValidator.java:80)
        org.eclipse.birt.report.model.validators.ValidationNode.perform(ValidationNode.java:133)
        org.eclipse.birt.report.model.validators.ValidationExecutor.perform(ValidationExecutor.java:77)
        org.eclipse.birt.report.model.core.DesignElement.validateWithContents(DesignElement.java:2057)
        org.eclipse.birt.report.model.core.DesignElement.validateWithContents(DesignElement.java:2095)
        org.eclipse.birt.report.model.core.DesignElement.validateWithContents(DesignElement.java:2087)
        org.eclipse.birt.report.model.core.DesignElement.validateWithContents(DesignElement.java:2095)
        org.eclipse.birt.report.model.core.DesignElement.validateWithContents(DesignElement.java:2067)
        org.eclipse.birt.report.model.core.Module.semanticCheck(Module.java:1388)
        org.eclipse.birt.report.model.core.Module.doClone(Module.java:824)
        org.eclipse.birt.report.model.api.ModuleHandle.copy(ModuleHandle.java:3287)
        org.eclipse.birt.report.engine.api.impl.ReportRunnable.cloneRunnable(ReportRunnable.java:209)
        org.eclipse.birt.report.engine.api.impl.EngineTask.prepareDesign(EngineTask.java:1346)
        org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:88)
        org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:72)
        org.ofbiz.birt.BirtWorker.exportReport(BirtWorker.java:109)
        org.ofbiz.webapp.view.BirtViewHandler.render(BirtViewHandler.java:67)
        org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:643)
        org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:427)
        org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
        org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:248)


> BIRT Component
> --------------
>
>                 Key: OFBIZ-2347
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2347
>             Project: OFBiz
>          Issue Type: New Feature
>    Affects Versions: SVN trunk
>         Environment: software
>            Reporter: Chatree Srichart
>             Fix For: SVN trunk
>
>         Attachments: birt.zip
>
>
> I have component for use Eclipse BIRT as report builder.
> Features:
> 1. BIRT View Handler
> 2. BIRT Email Service
> I hope contributers contribute it to trunk.
> INSTALLATION
> 1. download birt.zip from attachment file
> 2. extract birt.zip
> 3. copy birt folder to hot-deploy folder
> 4. download Eclipse BIRT runtime from http://download.eclipse.org/birt/downloads/
> 5. extract birt-runtime-x_x_x.zip
> 6. copy all jar file from birt-runtime-x_x_x/ReportEngine/lib folder to hot-deploy/birt/lib folder
> 7. change birt.engine.home property in hot-deploy/birt/config/birt.properties to your ReportEngine path in birt-runtime_x_x_x folder
> 8. add birt-container in ofbiz-container.xml file after beanshell-container container like this
> <container name="birt-container" class="org.ofbiz.birt.container.BirtContainer">
>         <property name="delegator-name" value="default"/>
>         <property name="dispatcher-name" value="birt-dispatcher"/>
>         <property name="delegator-group-helper-name" value="org.ofbiz"/>
>     </container>
> 9. compile birt component
> 10. start ofbiz

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2347) BIRT Component

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12707756#action_12707756 ]

Chatree Srichart commented on OFBIZ-2347:
-----------------------------------------

I'm sorry chris snow, I post not enough information. I had tried with birt-runtime version 2.3.1. You can change it and try again.

> BIRT Component
> --------------
>
>                 Key: OFBIZ-2347
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2347
>             Project: OFBiz
>          Issue Type: New Feature
>    Affects Versions: SVN trunk
>         Environment: software
>            Reporter: Chatree Srichart
>             Fix For: SVN trunk
>
>         Attachments: birt.zip
>
>
> I have component for use Eclipse BIRT as report builder.
> Features:
> 1. BIRT View Handler
> 2. BIRT Email Service
> I hope contributers contribute it to trunk.
> INSTALLATION
> 1. download birt.zip from attachment file
> 2. extract birt.zip
> 3. copy birt folder to hot-deploy folder
> 4. download Eclipse BIRT runtime from http://download.eclipse.org/birt/downloads/
> 5. extract birt-runtime-x_x_x.zip
> 6. copy all jar file from birt-runtime-x_x_x/ReportEngine/lib folder to hot-deploy/birt/lib folder
> 7. change birt.engine.home property in hot-deploy/birt/config/birt.properties to your ReportEngine path in birt-runtime_x_x_x folder
> 8. add birt-container in ofbiz-container.xml file after beanshell-container container like this
> <container name="birt-container" class="org.ofbiz.birt.container.BirtContainer">
>         <property name="delegator-name" value="default"/>
>         <property name="dispatcher-name" value="birt-dispatcher"/>
>         <property name="delegator-group-helper-name" value="org.ofbiz"/>
>     </container>
> 9. compile birt component
> 10. start ofbiz

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-2347) BIRT Component

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-2347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chatree Srichart updated OFBIZ-2347:
------------------------------------

    Description:
I have component for use Eclipse BIRT as report builder.
Features:
1. BIRT View Handler
2. BIRT Email Service

I hope contributers contribute it to trunk.

INSTALLATION
1. download birt.zip from attachment file
2. extract birt.zip
3. copy birt folder to hot-deploy folder
4. download Eclipse BIRT runtime from http://download.eclipse.org/birt/downloads/
5. extract birt-runtime-x_x_x.zip
6. copy all jar file from birt-runtime-x_x_x/ReportEngine/lib folder to hot-deploy/birt/lib folder
7. change birt.engine.home property in hot-deploy/birt/config/birt.properties to your ReportEngine path in birt-runtime_x_x_x folder
8. add birt-container in ofbiz-container.xml file after beanshell-container container like this
<container name="birt-container" class="org.ofbiz.birt.container.BirtContainer">
        <property name="delegator-name" value="default"/>
        <property name="dispatcher-name" value="birt-dispatcher"/>
        <property name="delegator-group-helper-name" value="org.ofbiz"/>
    </container>
9. compile birt component
10. start ofbiz

** I have use birt-runtime version 2.3.1

  was:
I have component for use Eclipse BIRT as report builder.
Features:
1. BIRT View Handler
2. BIRT Email Service

I hope contributers contribute it to trunk.

INSTALLATION
1. download birt.zip from attachment file
2. extract birt.zip
3. copy birt folder to hot-deploy folder
4. download Eclipse BIRT runtime from http://download.eclipse.org/birt/downloads/
5. extract birt-runtime-x_x_x.zip
6. copy all jar file from birt-runtime-x_x_x/ReportEngine/lib folder to hot-deploy/birt/lib folder
7. change birt.engine.home property in hot-deploy/birt/config/birt.properties to your ReportEngine path in birt-runtime_x_x_x folder
8. add birt-container in ofbiz-container.xml file after beanshell-container container like this
<container name="birt-container" class="org.ofbiz.birt.container.BirtContainer">
        <property name="delegator-name" value="default"/>
        <property name="dispatcher-name" value="birt-dispatcher"/>
        <property name="delegator-group-helper-name" value="org.ofbiz"/>
    </container>
9. compile birt component
10. start ofbiz


> BIRT Component
> --------------
>
>                 Key: OFBIZ-2347
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2347
>             Project: OFBiz
>          Issue Type: New Feature
>    Affects Versions: SVN trunk
>         Environment: software
>            Reporter: Chatree Srichart
>             Fix For: SVN trunk
>
>         Attachments: birt.zip
>
>
> I have component for use Eclipse BIRT as report builder.
> Features:
> 1. BIRT View Handler
> 2. BIRT Email Service
> I hope contributers contribute it to trunk.
> INSTALLATION
> 1. download birt.zip from attachment file
> 2. extract birt.zip
> 3. copy birt folder to hot-deploy folder
> 4. download Eclipse BIRT runtime from http://download.eclipse.org/birt/downloads/
> 5. extract birt-runtime-x_x_x.zip
> 6. copy all jar file from birt-runtime-x_x_x/ReportEngine/lib folder to hot-deploy/birt/lib folder
> 7. change birt.engine.home property in hot-deploy/birt/config/birt.properties to your ReportEngine path in birt-runtime_x_x_x folder
> 8. add birt-container in ofbiz-container.xml file after beanshell-container container like this
> <container name="birt-container" class="org.ofbiz.birt.container.BirtContainer">
>         <property name="delegator-name" value="default"/>
>         <property name="dispatcher-name" value="birt-dispatcher"/>
>         <property name="delegator-group-helper-name" value="org.ofbiz"/>
>     </container>
> 9. compile birt component
> 10. start ofbiz
> ** I have use birt-runtime version 2.3.1

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2347) BIRT Component

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12712348#action_12712348 ]

Chatree Srichart commented on OFBIZ-2347:
-----------------------------------------

็Hi chris snow, I tried version 2.3.2, It work fine. You should try again. Follow this,
1. Copy all jar files from ReportEngine lib folder in to lib folder of birt component.
2. Change birt.engine.home property in birt.properties file to ReportEngine path.
3. Run ./ant clean-all in ofbiz folder. (Importance)
4. Run ./ant for compile
5. Start ofbiz.


> BIRT Component
> --------------
>
>                 Key: OFBIZ-2347
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2347
>             Project: OFBiz
>          Issue Type: New Feature
>    Affects Versions: SVN trunk
>         Environment: software
>            Reporter: Chatree Srichart
>             Fix For: SVN trunk
>
>         Attachments: birt.zip
>
>
> I have component for use Eclipse BIRT as report builder.
> Features:
> 1. BIRT View Handler
> 2. BIRT Email Service
> I hope contributers contribute it to trunk.
> INSTALLATION
> 1. download birt.zip from attachment file
> 2. extract birt.zip
> 3. copy birt folder to hot-deploy folder
> 4. download Eclipse BIRT runtime from http://download.eclipse.org/birt/downloads/
> 5. extract birt-runtime-x_x_x.zip
> 6. copy all jar file from birt-runtime-x_x_x/ReportEngine/lib folder to hot-deploy/birt/lib folder
> 7. change birt.engine.home property in hot-deploy/birt/config/birt.properties to your ReportEngine path in birt-runtime_x_x_x folder
> 8. add birt-container in ofbiz-container.xml file after beanshell-container container like this
> <container name="birt-container" class="org.ofbiz.birt.container.BirtContainer">
>         <property name="delegator-name" value="default"/>
>         <property name="dispatcher-name" value="birt-dispatcher"/>
>         <property name="delegator-group-helper-name" value="org.ofbiz"/>
>     </container>
> 9. compile birt component
> 10. start ofbiz
> ** I have use birt-runtime version 2.3.1

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2347) BIRT Component

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12764943#action_12764943 ]

Hans Bakker commented on OFBIZ-2347:
------------------------------------

====== a request to make a branch in SVN, for community input=============
The originator of this Jira issue is now working here with me. I had a look at this change and it looks pretty interesting but involved. At the moment we should look at it as a proof of concept which need the opinion of the community.

It is adding a new option in webtools called 'birt'. In there you can run reports which are created inside Birt in Eclipse. The reports are shown paged, in pdf and can be sent by email.

some points for discussion:
1. we can add the Birt report engine to ofbiz the license is the Eclipse license so compatible
2. It will add a lot of jar files, some of which we already have.(needs cleanup)
3. The originator added the function of using jsp tags within ftl....a lot of work to change it in ftl only.
4. Currently ofbiz and birt needs to be on the same computer, an import function needs to be added or the reports will be added as seed data.
5. only one report can be shown, need to add a report selector with a related entity.

Because this whole contribution is not clean yet but is rather difficult to install I would like to propose to create a branch for it.

So what does the community think? If no objection i will create the branch in a couple of days.

Regards,
Hans

> BIRT Component
> --------------
>
>                 Key: OFBIZ-2347
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2347
>             Project: OFBiz
>          Issue Type: New Feature
>    Affects Versions: SVN trunk
>         Environment: software
>            Reporter: Chatree Srichart
>            Assignee: Hans Bakker
>             Fix For: SVN trunk
>
>         Attachments: birt.zip
>
>
> I have component for use Eclipse BIRT as report builder.
> Features:
> 1. BIRT View Handler
> 2. BIRT Email Service
> I hope contributers contribute it to trunk.
> INSTALLATION
> 1. download birt.zip from attachment file
> 2. extract birt.zip
> 3. copy birt folder to hot-deploy folder
> 4. download Eclipse BIRT runtime from http://download.eclipse.org/birt/downloads/
> 5. extract birt-runtime-x_x_x.zip
> 6. copy all jar file from birt-runtime-x_x_x/ReportEngine/lib folder to hot-deploy/birt/lib folder
> 7. change birt.engine.home property in hot-deploy/birt/config/birt.properties to your ReportEngine path in birt-runtime_x_x_x folder
> 8. add birt-container in ofbiz-container.xml file after beanshell-container container like this
> <container name="birt-container" class="org.ofbiz.birt.container.BirtContainer">
>         <property name="delegator-name" value="default"/>
>         <property name="dispatcher-name" value="birt-dispatcher"/>
>         <property name="delegator-group-helper-name" value="org.ofbiz"/>
>     </container>
> 9. compile birt component
> 10. start ofbiz
> ** I have use birt-runtime version 2.3.1

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-2347) BIRT Component

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-2347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hans Bakker updated OFBIZ-2347:
-------------------------------

    Attachment: birtfiles.txt

this file contains a list of the files which will be added/modified if birt is added to ofbiz.

> BIRT Component
> --------------
>
>                 Key: OFBIZ-2347
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2347
>             Project: OFBiz
>          Issue Type: New Feature
>    Affects Versions: SVN trunk
>         Environment: software
>            Reporter: Chatree Srichart
>            Assignee: Hans Bakker
>             Fix For: SVN trunk
>
>         Attachments: birt.zip, birtfiles.txt
>
>
> I have component for use Eclipse BIRT as report builder.
> Features:
> 1. BIRT View Handler
> 2. BIRT Email Service
> I hope contributers contribute it to trunk.
> INSTALLATION
> 1. download birt.zip from attachment file
> 2. extract birt.zip
> 3. copy birt folder to hot-deploy folder
> 4. download Eclipse BIRT runtime from http://download.eclipse.org/birt/downloads/
> 5. extract birt-runtime-x_x_x.zip
> 6. copy all jar file from birt-runtime-x_x_x/ReportEngine/lib folder to hot-deploy/birt/lib folder
> 7. change birt.engine.home property in hot-deploy/birt/config/birt.properties to your ReportEngine path in birt-runtime_x_x_x folder
> 8. add birt-container in ofbiz-container.xml file after beanshell-container container like this
> <container name="birt-container" class="org.ofbiz.birt.container.BirtContainer">
>         <property name="delegator-name" value="default"/>
>         <property name="dispatcher-name" value="birt-dispatcher"/>
>         <property name="delegator-group-helper-name" value="org.ofbiz"/>
>     </container>
> 9. compile birt component
> 10. start ofbiz
> ** I have use birt-runtime version 2.3.1

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2347) BIRT Component

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12767017#action_12767017 ]

chris snow commented on OFBIZ-2347:
-----------------------------------

Hi Hans, how do I get the code in the branch?

Many thanks,

Chris

> BIRT Component
> --------------
>
>                 Key: OFBIZ-2347
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2347
>             Project: OFBiz
>          Issue Type: New Feature
>    Affects Versions: SVN trunk
>         Environment: software
>            Reporter: Chatree Srichart
>            Assignee: Hans Bakker
>             Fix For: SVN trunk
>
>         Attachments: birt.zip, birtfiles.txt
>
>
> I have component for use Eclipse BIRT as report builder.
> Features:
> 1. BIRT View Handler
> 2. BIRT Email Service
> I hope contributers contribute it to trunk.
> INSTALLATION
> 1. download birt.zip from attachment file
> 2. extract birt.zip
> 3. copy birt folder to hot-deploy folder
> 4. download Eclipse BIRT runtime from http://download.eclipse.org/birt/downloads/
> 5. extract birt-runtime-x_x_x.zip
> 6. copy all jar file from birt-runtime-x_x_x/ReportEngine/lib folder to hot-deploy/birt/lib folder
> 7. change birt.engine.home property in hot-deploy/birt/config/birt.properties to your ReportEngine path in birt-runtime_x_x_x folder
> 8. add birt-container in ofbiz-container.xml file after beanshell-container container like this
> <container name="birt-container" class="org.ofbiz.birt.container.BirtContainer">
>         <property name="delegator-name" value="default"/>
>         <property name="dispatcher-name" value="birt-dispatcher"/>
>         <property name="delegator-group-helper-name" value="org.ofbiz"/>
>     </container>
> 9. compile birt component
> 10. start ofbiz
> ** I have use birt-runtime version 2.3.1

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2347) BIRT Component

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12767021#action_12767021 ]

Bruno Busco commented on OFBIZ-2347:
------------------------------------

Hi Chris,
you should use a svn client (like Tortoise) and perform a checkout from this url:
http://svn.apache.org/repos/asf/ofbiz/branches/addBirt

HTH Bruno

> BIRT Component
> --------------
>
>                 Key: OFBIZ-2347
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2347
>             Project: OFBiz
>          Issue Type: New Feature
>    Affects Versions: SVN trunk
>         Environment: software
>            Reporter: Chatree Srichart
>            Assignee: Hans Bakker
>             Fix For: SVN trunk
>
>         Attachments: birt.zip, birtfiles.txt
>
>
> I have component for use Eclipse BIRT as report builder.
> Features:
> 1. BIRT View Handler
> 2. BIRT Email Service
> I hope contributers contribute it to trunk.
> INSTALLATION
> 1. download birt.zip from attachment file
> 2. extract birt.zip
> 3. copy birt folder to hot-deploy folder
> 4. download Eclipse BIRT runtime from http://download.eclipse.org/birt/downloads/
> 5. extract birt-runtime-x_x_x.zip
> 6. copy all jar file from birt-runtime-x_x_x/ReportEngine/lib folder to hot-deploy/birt/lib folder
> 7. change birt.engine.home property in hot-deploy/birt/config/birt.properties to your ReportEngine path in birt-runtime_x_x_x folder
> 8. add birt-container in ofbiz-container.xml file after beanshell-container container like this
> <container name="birt-container" class="org.ofbiz.birt.container.BirtContainer">
>         <property name="delegator-name" value="default"/>
>         <property name="dispatcher-name" value="birt-dispatcher"/>
>         <property name="delegator-group-helper-name" value="org.ofbiz"/>
>     </container>
> 9. compile birt component
> 10. start ofbiz
> ** I have use birt-runtime version 2.3.1

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2347) BIRT Component

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12767028#action_12767028 ]

Hans Bakker commented on OFBIZ-2347:
------------------------------------

Hi Chris,

Bruno gave you the way to try it out; the svn download also contains
ofbiz itself. The birt addition is not yet in the trunk, that will only
happen if the community agrees with it, because it rather a large
addition.... We are currently improving it....

Regards,
Hans




> BIRT Component
> --------------
>
>                 Key: OFBIZ-2347
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2347
>             Project: OFBiz
>          Issue Type: New Feature
>    Affects Versions: SVN trunk
>         Environment: software
>            Reporter: Chatree Srichart
>            Assignee: Hans Bakker
>             Fix For: SVN trunk
>
>         Attachments: birt.zip, birtfiles.txt
>
>
> I have component for use Eclipse BIRT as report builder.
> Features:
> 1. BIRT View Handler
> 2. BIRT Email Service
> I hope contributers contribute it to trunk.
> INSTALLATION
> 1. download birt.zip from attachment file
> 2. extract birt.zip
> 3. copy birt folder to hot-deploy folder
> 4. download Eclipse BIRT runtime from http://download.eclipse.org/birt/downloads/
> 5. extract birt-runtime-x_x_x.zip
> 6. copy all jar file from birt-runtime-x_x_x/ReportEngine/lib folder to hot-deploy/birt/lib folder
> 7. change birt.engine.home property in hot-deploy/birt/config/birt.properties to your ReportEngine path in birt-runtime_x_x_x folder
> 8. add birt-container in ofbiz-container.xml file after beanshell-container container like this
> <container name="birt-container" class="org.ofbiz.birt.container.BirtContainer">
>         <property name="delegator-name" value="default"/>
>         <property name="dispatcher-name" value="birt-dispatcher"/>
>         <property name="delegator-group-helper-name" value="org.ofbiz"/>
>     </container>
> 9. compile birt component
> 10. start ofbiz
> ** I have use birt-runtime version 2.3.1

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2347) BIRT Component

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12767237#action_12767237 ]

Hans Bakker commented on OFBIZ-2347:
------------------------------------

we have added a help file to the webtools -> birt function. There is described the option within ofbiz and how to look at the demo product report within eclipse/birt.

Our next action will be the move of all temporary files created by the birt reportengine to the runtime directory.

Regards, Hans

> BIRT Component
> --------------
>
>                 Key: OFBIZ-2347
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2347
>             Project: OFBiz
>          Issue Type: New Feature
>    Affects Versions: SVN trunk
>         Environment: software
>            Reporter: Chatree Srichart
>            Assignee: Hans Bakker
>             Fix For: SVN trunk
>
>         Attachments: birt.zip, birtfiles.txt
>
>
> I have component for use Eclipse BIRT as report builder.
> Features:
> 1. BIRT View Handler
> 2. BIRT Email Service
> I hope contributers contribute it to trunk.
> INSTALLATION
> 1. download birt.zip from attachment file
> 2. extract birt.zip
> 3. copy birt folder to hot-deploy folder
> 4. download Eclipse BIRT runtime from http://download.eclipse.org/birt/downloads/
> 5. extract birt-runtime-x_x_x.zip
> 6. copy all jar file from birt-runtime-x_x_x/ReportEngine/lib folder to hot-deploy/birt/lib folder
> 7. change birt.engine.home property in hot-deploy/birt/config/birt.properties to your ReportEngine path in birt-runtime_x_x_x folder
> 8. add birt-container in ofbiz-container.xml file after beanshell-container container like this
> <container name="birt-container" class="org.ofbiz.birt.container.BirtContainer">
>         <property name="delegator-name" value="default"/>
>         <property name="dispatcher-name" value="birt-dispatcher"/>
>         <property name="delegator-group-helper-name" value="org.ofbiz"/>
>     </container>
> 9. compile birt component
> 10. start ofbiz
> ** I have use birt-runtime version 2.3.1

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2347) BIRT Component

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12768481#action_12768481 ]

chris snow commented on OFBIZ-2347:
-----------------------------------

Hi Hans,  

I have just tested the webtools version and it is looking good.  This would be a fantastic addition to trunk!

Eventually will you provide an example of a report that uses a form for the user to enter parameters values for the report?

Many thanks,

Chris



> BIRT Component
> --------------
>
>                 Key: OFBIZ-2347
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2347
>             Project: OFBiz
>          Issue Type: New Feature
>    Affects Versions: SVN trunk
>         Environment: software
>            Reporter: Chatree Srichart
>            Assignee: Hans Bakker
>             Fix For: SVN trunk
>
>         Attachments: birt.zip, birtfiles.txt
>
>
> I have component for use Eclipse BIRT as report builder.
> Features:
> 1. BIRT View Handler
> 2. BIRT Email Service
> I hope contributers contribute it to trunk.
> INSTALLATION
> 1. download birt.zip from attachment file
> 2. extract birt.zip
> 3. copy birt folder to hot-deploy folder
> 4. download Eclipse BIRT runtime from http://download.eclipse.org/birt/downloads/
> 5. extract birt-runtime-x_x_x.zip
> 6. copy all jar file from birt-runtime-x_x_x/ReportEngine/lib folder to hot-deploy/birt/lib folder
> 7. change birt.engine.home property in hot-deploy/birt/config/birt.properties to your ReportEngine path in birt-runtime_x_x_x folder
> 8. add birt-container in ofbiz-container.xml file after beanshell-container container like this
> <container name="birt-container" class="org.ofbiz.birt.container.BirtContainer">
>         <property name="delegator-name" value="default"/>
>         <property name="dispatcher-name" value="birt-dispatcher"/>
>         <property name="delegator-group-helper-name" value="org.ofbiz"/>
>     </container>
> 9. compile birt component
> 10. start ofbiz
> ** I have use birt-runtime version 2.3.1

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2347) BIRT Component

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12768483#action_12768483 ]

chris snow commented on OFBIZ-2347:
-----------------------------------

Forget my last comment about an example - I've just seen the help file describing how to do it!

> BIRT Component
> --------------
>
>                 Key: OFBIZ-2347
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2347
>             Project: OFBiz
>          Issue Type: New Feature
>    Affects Versions: SVN trunk
>         Environment: software
>            Reporter: Chatree Srichart
>            Assignee: Hans Bakker
>             Fix For: SVN trunk
>
>         Attachments: birt.zip, birtfiles.txt
>
>
> I have component for use Eclipse BIRT as report builder.
> Features:
> 1. BIRT View Handler
> 2. BIRT Email Service
> I hope contributers contribute it to trunk.
> INSTALLATION
> 1. download birt.zip from attachment file
> 2. extract birt.zip
> 3. copy birt folder to hot-deploy folder
> 4. download Eclipse BIRT runtime from http://download.eclipse.org/birt/downloads/
> 5. extract birt-runtime-x_x_x.zip
> 6. copy all jar file from birt-runtime-x_x_x/ReportEngine/lib folder to hot-deploy/birt/lib folder
> 7. change birt.engine.home property in hot-deploy/birt/config/birt.properties to your ReportEngine path in birt-runtime_x_x_x folder
> 8. add birt-container in ofbiz-container.xml file after beanshell-container container like this
> <container name="birt-container" class="org.ofbiz.birt.container.BirtContainer">
>         <property name="delegator-name" value="default"/>
>         <property name="dispatcher-name" value="birt-dispatcher"/>
>         <property name="delegator-group-helper-name" value="org.ofbiz"/>
>     </container>
> 9. compile birt component
> 10. start ofbiz
> ** I have use birt-runtime version 2.3.1

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2347) BIRT Component

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770038#action_12770038 ]

chris snow commented on OFBIZ-2347:
-----------------------------------

I am having a problem passing parameters to a report:

message ERROR rendering error page [/error/error.jsp], but here is the error text: org.eclipse.birt.report.engine.api.impl.ParameterValidationException: Required parameter rpStockRef is not set.

description The server encountered an internal error (ERROR rendering error page [/error/error.jsp], but here is the error text: org.eclipse.birt.report.engine.api.impl.ParameterValidationException: Required parameter rpStockRef is not set.) that prevented it from fulfilling this request.

rpStockRef is the report parameter defined in the report.

This is my form:

<form name="Report1" type="single" target="Report1Action" default-map-name="listName">
  <field name="stockRef"><text-find size="10"/></field>
  <field name=" "><display/></field>
  <field name="showReport" title=" ">
      <hyperlink target="Report1Action"  description="Display as pdf in new tab" target-window="new"/>
  </field>
  <field name="Submit"><submit/></field>
</form>

The controller:

<request-map uri="Report1Action">
    <security https="true" auth="true"/>
    <event type="service" path="org.ofbiz.snows.snows.snowsServices" invoke="Report1Action"/>
    <response name="success" type="view" value="Report1Action"/>
</request-map>

<view-map name="Report1Action" type="birt" page="component://snows/reports/collection_list.rptdesign" content-type="application/pdf"/>

This works without the service and manadatory parameters on the report. This is the service:

<service name="Report1Action" engine="simple"
        location="org/ofbiz/snows/snows/snowsServices.xml" invoke="Report1Action">
    <description>Report1Action</description>
    <attribute name="birtParameters" type="Map" mode="OUT"/>
</service>

   <simple-method method-name="Report1Action" short-description="Report1Action">        
        <set field="birtParameters.rpStockRef" value="5199A"/>
        <field-to-result field="birtParameters"/>
   </simple-method>

Note that I have hard coded the field value initally. I tried it with the mode set as IN, OUT and INOUT.

> BIRT Component
> --------------
>
>                 Key: OFBIZ-2347
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2347
>             Project: OFBiz
>          Issue Type: New Feature
>    Affects Versions: SVN trunk
>         Environment: software
>            Reporter: Chatree Srichart
>            Assignee: Hans Bakker
>             Fix For: SVN trunk
>
>         Attachments: birt.zip, birtfiles.txt
>
>
> I have component for use Eclipse BIRT as report builder.
> Features:
> 1. BIRT View Handler
> 2. BIRT Email Service
> I hope contributers contribute it to trunk.
> INSTALLATION
> 1. download birt.zip from attachment file
> 2. extract birt.zip
> 3. copy birt folder to hot-deploy folder
> 4. download Eclipse BIRT runtime from http://download.eclipse.org/birt/downloads/
> 5. extract birt-runtime-x_x_x.zip
> 6. copy all jar file from birt-runtime-x_x_x/ReportEngine/lib folder to hot-deploy/birt/lib folder
> 7. change birt.engine.home property in hot-deploy/birt/config/birt.properties to your ReportEngine path in birt-runtime_x_x_x folder
> 8. add birt-container in ofbiz-container.xml file after beanshell-container container like this
> <container name="birt-container" class="org.ofbiz.birt.container.BirtContainer">
>         <property name="delegator-name" value="default"/>
>         <property name="dispatcher-name" value="birt-dispatcher"/>
>         <property name="delegator-group-helper-name" value="org.ofbiz"/>
>     </container>
> 9. compile birt component
> 10. start ofbiz
> ** I have use birt-runtime version 2.3.1

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

123