Hi,
We are using the below code to display the primary attirbutes. In this CTD having Relator for Image sections to manage images for CI.
We want to display lists of Images if CI has. So, how to display relator content by using bean / attributes?
| Name | XML Name | Bean Property Name | Widget | Column |
| ID | PRESS-RELEASE-ID | id | GUID | PRESS_RELEASE.ID |
| Title | PRESS-RELEASE-TITLE | title | Text Field CCE | PRESS_RELEASE.TITLE |
| Body | PRESS-RELEASE-BODY | body | TinyMCE CCE | PRESS_RELEASE.BODY |
| ID | PRESS-MEDIA-ID | relatedId | GUID | PRESS_MEDIA.ID |
| Related Images | PRESS-MEDIA-PARENT-KEY | relatedParentId | Relator CCE | PRESS_MEDIA.PARENT_KEY |
| Related Image | PRESS-MEDIA-RELATED-ITEM | relatedItem | Content Select CCE | PRESS_MEDIA.RELATED_ITEM |
Primary:
<div id="content-header"><b>${content.title}</b></div>
<div id="content">${content.body}</div>
Relator:
<div id="content-header"><b>${content.relatedId}</b></div>
Getting error like this: javax.el.PropertyNotFoundException: Property 'relatedtId' not found on type com.qu.contentbean.Qu_press_releaseImpl
So, How to use relator contents. Please suggest to achieve it.
Thanks
Jayaram