Forum Stats

  • 3,815,685 Users
  • 2,259,067 Discussions
  • 7,893,206 Comments

Discussions

Cant able insert adf tag into portlet pages in webcenter portal

3236165
3236165 Member Posts: 20
edited Jul 19, 2016 6:53AM 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

Tagged:

Answers

  • Mohamed Mitkees
    Mohamed Mitkees Member Posts: 31
    edited Jul 19, 2016 2:24AM

    Hi,

    Can you share your code and what exactly you are trying to reach.

  • vinaykumar2
    vinaykumar2 Member Posts: 2,578
    edited Jul 19, 2016 5:31AM

    Which tag u adding and where. Share more info or code

  • 3236165
    3236165 Member Posts: 20
    edited Jul 19, 2016 6:08AM

    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>

  • 3236165
    3236165 Member Posts: 20
    edited Jul 19, 2016 6:09AM

    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}"/>

  • vinaykumar2
    vinaykumar2 Member Posts: 2,578
    edited Jul 19, 2016 6:13AM

    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?

  • 3236165
    3236165 Member Posts: 20
    edited Jul 19, 2016 6:16AM

    i am adding this code in webcenter portlets pages under source

  • vinaykumar2
    vinaykumar2 Member Posts: 2,578
    edited Jul 19, 2016 6:48AM

    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

  • 3236165
    3236165 Member Posts: 20
    edited Jul 19, 2016 6:53AM

    Yes portal page under the portlet .. ok thanks for your response

This discussion has been closed.