Discussions
Categories
- 17.9K All Categories
- 3.4K Industry Applications
- 3.3K Intelligent Advisor
- 63 Insurance
- 535.7K On-Premises Infrastructure
- 138.1K Analytics Software
- 38.6K Application Development Software
- 5.6K Cloud Platform
- 109.3K Database Software
- 17.5K Enterprise Manager
- 8.8K Hardware
- 71K Infrastructure Software
- 105.2K Integration
- 41.5K Security Software
Cant able insert adf tag into portlet pages in webcenter portal

Hi all
I need to insert af tags into webcenter portlet pages , when i am trying to do it causing error like (ADFC-06015: An exception occurred when invoking a task flow initializer)
I want to know this process is possible or not?
Thanks
Manikandan.J
Answers
-
Hi,
Can you share your code and what exactly you are trying to reach.
-
Which tag u adding and where. Share more info or code
-
The below code for one sample jspx page:
<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:f="http://java.sun.com/jsf/core"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich" xmlns:dvt="http://xmlns.oracle.com/dss/adf/faces">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<f:view>
<af:document title="impl.jspx" id="d1" binding="#{backingBeanScope.backing_impl.d1}">
<af:messages id="m1" binding="#{backingBeanScope.backing_impl.m1}"/>
<af:form id="f1" binding="#{backingBeanScope.backing_impl.f1}">
<dvt:pieChart id="pieChart1" var="row" value="#{bindings.AdfEmpView11.collectionModel}"
binding="#{backingBeanScope.backing_impl.pieChart1}">
<dvt:chartLegend id="cl1"/>
<dvt:pieDataItem id="di1" label="#{row.Deptno} #{row.Ename} #{row.Job} #{row.Mgr} #{row.Sal}"
value="#{row.Comm}" binding="#{backingBeanScope.backing_impl.di1}"/>
</dvt:pieChart>
<af:listView value="#{bindings.AdfEmpView13.collectionModel}" var="item"
emptyText="#{bindings.AdfEmpView13.viewable ? 'No data to display.' : 'Access Denied.'}"
fetchSize="#{bindings.AdfEmpView13.rangeSize}" id="lv1"
binding="#{backingBeanScope.backing_impl.lv1}">
<af:listItem id="li1" binding="#{backingBeanScope.backing_impl.li1}">
<af:panelGroupLayout layout="horizontal" id="pgl1"
binding="#{backingBeanScope.backing_impl.pgl1}">
<f:facet name="separator">
<af:spacer width="10" id="s1" binding="#{backingBeanScope.backing_impl.s1}"/>
</f:facet>
<af:outputFormatted value="#{item.bindings.Empno.inputValue}" id="of1"
binding="#{backingBeanScope.backing_impl.of1}">
<af:convertNumber groupingUsed="false"
pattern="#{bindings.AdfEmpView13.hints.Empno.format}"/>
</af:outputFormatted>
<af:outputFormatted value="#{item.bindings.Ename.inputValue}" id="of2"
binding="#{backingBeanScope.backing_impl.of2}"/>
<af:outputFormatted value="#{item.bindings.Job.inputValue}" id="of3"
binding="#{backingBeanScope.backing_impl.of3}"/>
<af:outputFormatted value="#{item.bindings.Mgr.inputValue}" id="of4"
binding="#{backingBeanScope.backing_impl.of4}">
<af:convertNumber groupingUsed="false"
pattern="#{bindings.AdfEmpView13.hints.Mgr.format}"/>
</af:outputFormatted>
<af:outputFormatted value="#{item.bindings.Hiredate.inputValue}" id="of5"
binding="#{backingBeanScope.backing_impl.of5}">
<af:convertDateTime pattern="#{bindings.AdfEmpView13.hints.Hiredate.format}"/>
</af:outputFormatted>
<af:outputFormatted value="#{item.bindings.Sal.inputValue}" id="of6"
binding="#{backingBeanScope.backing_impl.of6}">
<af:convertNumber groupingUsed="false"
pattern="#{bindings.AdfEmpView13.hints.Sal.format}"/>
</af:outputFormatted>
<af:outputFormatted value="#{item.bindings.Comm.inputValue}" id="of7"
binding="#{backingBeanScope.backing_impl.of7}">
<af:convertNumber groupingUsed="false"
pattern="#{bindings.AdfEmpView13.hints.Comm.format}"/>
</af:outputFormatted>
</af:panelGroupLayout>
</af:listItem>
</af:listView>
</af:form>
</af:document>
</f:view>
<!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_impl-->
</jsp:root>
-
Then i need to add this code into the above page , which is simple output text only.
<af:outputLabel value="outputLabel1" id="ol1"
binding="#{backingBeanScope.backing_impl.ol1}"/>
-
if i understand you correctly. you need to add output text in the page on top.Place it after af:document. What error u getting. Where you adding this task?
-
i am adding this code in webcenter portlets pages under source
-
You mean portal page? Are you using taskflow or portlet? it will not work. Either add as label from web development folder and show as text
-
Yes portal page under the portlet .. ok thanks for your response