Skip to Main Content

Application Development Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Multiple content facets in Portal?

Bijesh KrishnadasJul 5 2011 — edited Jul 6 2011
Hi All,

I have a requirement where the template divides the content area into 2 columns - center and right (similar to many wordpress templates). All three have to be editable by the Administrator to add content.

I tried this by creating two facetRefs content and content2. Then in my page, I added two pageEditorPanel in each facet (see below). However this throws an error - java.lang.IllegalStateException: Duplicate component id: 'pePanel', first used in tag: 'oracle.adfinternal.view.faces.taglib.region.RegionTag'

<f:facet name="content">
<pe:pageCustomizable id="hm_pgc1">
<cust:panelCustomizable id="hm_pnc1" layout="scroll"/>
<f:facet name="editor">
<pe:pageEditorPanel id="pep1"/>
</f:facet>
</pe:pageCustomizable>
</f:facet>
<f:facet name="content2">
<pe:pageCustomizable id="hm_pgc2">
<cust:panelCustomizable id="hm_pnc2" layout="scroll"/>
<f:facet name="editor">
<pe:pageEditorPanel id="pep2"/>
</f:facet>
</pe:pageCustomizable>
</f:facet>

Now, I know I can probably use layout elements within a page (not template) to achieve this but this won't be auto-applied for a page created at runtime (for e.g.)

Any ideas out there?
This post has been answered by 2827010 on Jul 6 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 3 2011
Added on Jul 5 2011
2 comments
210 views