This is the standard pattern for Product Content, as mentioned in various 
places. If there is a field on the Product entity for a given 
ProductContentType and it is not empty, then it will be used instead of looking 
up content through the ProductContent entity.

-David


On Mon, 28 Jul 2008 23:40:57 +0200, "Bruno Busco" <[EMAIL PROTECTED]> wrote:
> For instance it seems that the images displayed in the ecommerce are using
> the URL in the Product entity and not going through the content manager.
> Should we implement a different thing for the "No photo available" image?
> 
> 
> 2008/7/28 Bruno Busco <[EMAIL PROTECTED]>
> 
>> Many thanks,
>> now it is very clear and I was able to link all content and DataResourse
>> together.
>>
>> BTW, was this the suggested way to implement the locale dependent "No
> photo
>> available" image?
>>
>>
>> 2008/7/28 David E. Jones (JIRA) <[EMAIL PROTECTED]>
>>
>>
>>>    [
>>>
> https://issues.apache.org/jira/browse/OFBIZ-1897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12617547#action_12617547]
>>>
>>> David E. Jones commented on OFBIZ-1897:
>>> ---------------------------------------
>>>
>>> Localization in content rendering is done through the Content entity,
>>> using the ContentAssoc with a type of alternate locale.
>>>
>>> DataResource records are much more simple and meant to be in a single
>>> locale, and not have related data resources in alternate locales (in
> other
>>> words the association is done through the alternate locale).
>>>
>>> You can look at the ecommerce/data product demo data to see some
> examples
>>> of products with content in multiple locales.
>>>
>>> > Product default image I18N (CONTRIBUTION)
>>> > -----------------------------------------
>>> >
>>> >                 Key: OFBIZ-1897
>>> >                 URL: https://issues.apache.org/jira/browse/OFBIZ-1897
>>> >             Project: OFBiz
>>> >          Issue Type: Improvement
>>> >          Components: order
>>> >    Affects Versions: SVN trunk
>>> >         Environment: Ubuntu 8.04, JDK 1.5
>>> >            Reporter: J.Enrique Ruiz (DiSiD Technologies S.L.)
>>> >             Fix For: SVN trunk
>>> >
>>> >         Attachments: defaultImage-I18N.patch
>>> >
>>> >
>>> > I have added support for internationalizing the Product's
>>> defaultImage.jpg.
>>> > Attached I have included the patch.
>>> > Best regards.
>>>
>>> --
>>> This message is automatically generated by JIRA.
>>> -
>>> You can reply to this email to add a comment to the issue online.
>>>
>>>
>>
> 
> 

Reply via email to