[jira] Commented: (OFBIZ-242) <@ofbizContentUrl> tag doesn't work in screenfop

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-242) <@ofbizContentUrl> tag doesn't work in screenfop

Nicolas Malin (Jira)

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

Jacopo Cappellato commented on OFBIZ-242:
-----------------------------------------

Or maybe we should commit the above change to fop.xconf and add a note to the production setup guide to remember to edit it; then we should get rid of all the references to localhost in the xsl-fo screen templates.



> <@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.