You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Chris Howe (JIRA)" <ji...@apache.org> on 2006/12/18 08:51:22 UTC

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

    [ http://issues.apache.org/jira/browse/OFBIZ-242?page=comments#action_12459205 ] 
            
Chris Howe commented on OFBIZ-242:
----------------------------------

This is not a bug, rather a feature in how a browser compensates for relative paths.  

You can do one of the following:
1) Complain to Adobe or your pdf reader vendor of choice to allow for relative paths
2) set your WebSite entity record to have both Standard Content Prefix and Secure Content Prefix
3) set your url.properties to have both content.url.prefix.secure and content.url.prefix.standard

Since pdf files are meant to be read in a setting away from where you obtained the document, I don't think Adobe will do anything about it.

> <@ofbizContentUrl> tag doesn't work in screenfop
> ------------------------------------------------
>
>                 Key: OFBIZ-242
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-242
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: framework
>            Reporter: Jacopo Cappellato
>            Priority: Minor
>
> Based on a bug report from Si Chen:
> When I use
> <fo:external-graphic src="<@o...@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.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira