Hi Chris,
take a look to the ListTaskContent form, in the
/ofbiz/specialpurpose/projectmgr/widget/forms/TaskForms.xml file. I'm
sure you will find what you need in it !
Regards,
Le 19/10/2009 01:03, Chris Snow a écrit :
I'm just working my way through the content component and I would like
to display a link to download a PDF file. If I setup the DataResource
and Content as follows, how can I display the content?
<DataResource
dataResourceId="DR1105b"
dataResourceTypeId="OFBIZ_FILE_BIN"
objectInfo="/applications/content/data/pdftest2.pdf"
mimeTypeId="application/pdf"
/>
<Content
contentId="CDI1105"
dataResourceId="DR1105b"
contentTypeId="DOCUMENT"
/>
If the DataResource was ELECTRONIC_TEXT, I could display it in a screen
like so:
<widgets>
<content content-id="CDI1105" />
</widgets>
How can I adapt this to work for the PDF download link?
Many thanks in advance,
Chris
--
Erwan