Posted by
Andrew Sykes on
Mar 15, 2006; 5:16pm
URL: http://ofbiz.116.s1.nabble.com/Users-Calling-a-web-service-using-perl-tp137911p137917.html
David,
Here's some more detail.
The content is associated with the seed reader and defined like so...
<DataResource dataResourceId="WELCOME"
dataResourceTypeId="OFBIZ_FILE_BIN" dataTemplateTypeId="NONE"
mimeTypeId="image/gif" objectInfo="/hot-
deploy/project/webapp/projectbranding/Welcome.gif" isPublic="Y"
createdDate="2006-03-10 16:44:02.138" createdByUserLogin="admin"/>
<Content contentId="WELCOME" contentTypeId="DOCUMENT"
dataResourceId="WELCOME" contentName="Welcome" description="Welcome"
createdDate="2006-03-10 16:44:48.408" createdByUserLogin="admin"/>
I run "ant run-install-seed run"
I go to the frontpage. The page renders fine, but does not show
Welcome.gif. The HTML for Welcome.gif is there, but the image itself
does not show.
<img src="/content/control/img?imgId=WELCOME"/>
I said before that looking up the DataResource seemed to fix this, I
think it depends more on actually being logged in. If I log in, the
content appears, if I then logout, the content disappears again.
--
Kind Regards
Andrew Sykes <
[hidden email]>
Sykes Development Ltd
http://www.sykesdevelopment.com
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users