Users - content component question

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

Users - content component question

Hans Bakker
Currently i am implementing a part of the content component into the
opentravelsystem.

If i look at the content component datamodel i see the following:
a content table which can contain content items with the type "publishpoint"
and "document" which can be related to each other over the ContentAssoc
table.

If i specify a 'publishpoint' contentId in a widget form and link a 'document'
contentId to the 'publishpoint' contentId in the contentAssoc table,
shouldn't the dataresource 'document' of the document content be displayed?

currently i get and error that the resourceId cannot be found....because the
publishpoint does not have a resourceid....

Al or David or can anyone help?

--
Regards,
Hans Bakker
ANT Websystems Co.,Ltd (http://www.antwebsystems.com)

If you want to verify that this message really originates from
from the above person, download the public key from:
http://www.antwebsystems.com/hbakkerAntwebsystems.asc

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users

attachment0 (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Users - content component question

Charles Johnson-4


Hans Bakker wrote:

>Currently i am implementing a part of the content component into the
>opentravelsystem.
>
>If i look at the content component datamodel i see the following:
>a content table which can contain content items with the type "publishpoint"
>and "document" which can be related to each other over the ContentAssoc
>table.
>
>If i specify a 'publishpoint' contentId in a widget form and link a 'document'
>contentId to the 'publishpoint' contentId in the contentAssoc table,
>shouldn't the dataresource 'document' of the document content be displayed?
>
>currently i get and error that the resourceId cannot be found....because the
>publishpoint does not have a resourceid....
>
>Al or David or can anyone help?
>
>  
>
>------------------------------------------------------------------------
>
>
>_______________________________________________
>Users mailing list
>[hidden email]
>http://lists.ofbiz.org/mailman/listinfo/users
>
Studying the following may help - you need a DataResource associated
with your Content:

http://www.cehjohnson.btinternet.co.uk/ofbiz/content-hierarchy.htm

CJ
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users