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

Jacques Le Roux commented on OFBIZ-4952:
----------------------------------------

Chatree and all, about 

>I am not sure if the patch will solve other problems. This path is just 
>helpful if a user want to use BIRT web viwer.

To be clear, one thing in your patch (disregarding it's usefulness, as Taher 
pointed out) that would be a blocker is the birt to order components 
dependency, through the order controller call. 

On the other hand, the only solution so far, is to use the commented out 
webapps in Birt ofbiz-component.xml file. But those break the contextual help. 
So I will implemented a way to make the birt to order dependency a loose 
coupling. This, by introducing a if-present attribute to the include element in 
controller.  Basically, when used, it will check for component presence (only 
component so far). And if not it will throw a warning rather than an error and 
a stack. The idea is to prevent showing errors in future releases, where 
specialpurpose will (so far) contain only the ecommerce component. The warning 
message will suggest to checkout the relevant specialpurpose component/s from 
trunk if necessary or to simply neglect the warning.
                
> BIRT Web Viewer Integration
> ---------------------------
>
>                 Key: OFBIZ-4952
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4952
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: framework
>    Affects Versions: SVN trunk
>         Environment: Ubuntu 12.04
>            Reporter: Chatree Srichart
>            Assignee: Jacques Le Roux
>              Labels: birt, viewer
>             Fix For: SVN trunk
>
>         Attachments: birt_web_content.png, birt_web_viewer.patch, 
> birt_web_viewer.patch, birt_web_viewer.patch, OFBIZ-4952 error stack.log
>
>   Original Estimate: 0.05h
>  Remaining Estimate: 0.05h
>
> Hello all,
> I have created a patch to solve a viewer servlet problem and uncomment the 
> viewer servlet in the birt webapp. To do this will allow a user to use BIRT 
> Web Viewer to render a report by coping a webcontent directory from 
> birt-runtime-x_x_x/WebViewerExample directory and paste into the birt webapp 
> directory ($OFBIZ_HOME/specialpurpose/example/webapp/birt).
> These are URLs to render example reports using BIRT Web Viewer.
> http://localhost:8080/birt/frameset?__report=component://example/webapp/birt/report/example.rptdesign
> http://localhost:8080/birt/frameset?__report=component://example/webapp/birt/report/chart.rptdesign
> Regards,
> Chatree Srichart

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to