[
https://issues.apache.org/jira/browse/OFBIZ-242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12539454 ]
Marco Risaliti commented on OFBIZ-242:
--------------------------------------
I have found this example of code on how to retrieve the baseUrl set into the fop.xconf and the setting it dynamically at runtime but I have not tested and I didn't know if it solve this issue.
I will put this link only if someone is interested on it:
http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200701.mbox/%3C45A76E23.4030308@...%3EI have found looking at fopfactory+getBaseURLfromConfig on google.
Thanks
Marco
> <@ofbizContentUrl> tag doesn't work in screenfop
> ------------------------------------------------
>
> Key: OFBIZ-242
> URL:
https://issues.apache.org/jira/browse/OFBIZ-242> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Reporter: Jacopo Cappellato
> Assignee: Jacopo Cappellato
> Priority: Minor
>
> Based on a bug report from Si Chen:
> When I use
> <fo:external-graphic src="<@ofbizContentUrl>/images/ofbiz_powered.gif</@ofbizContentUrl>" overflow="hidden" width="88pt" height="31pt"/>
> I get this error:
> 137827 (http-0.0.0.0-8443-Processor2) [ ExternalGraphic.java:302:ERROR] Error while creating area : Error with image URL: /images/ofbiz_powered.gif (No such file or directory) and no base URL is specified
> And no picture shows up (but the PDF still generates.)
> It seems that ofbizContentUrl tag is there but the properties for it are not set...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.