ADF-Faces Migration from EA11 to EA13

I tried to migrate my ADF-Faces application from version EA11 to EA13. Change taglib definition in *.jspx and some changes at tag level (e.g. showOneTabs). Recompile everything and deployed it to an OC4J 10.1.3. Deployment OK, but if I try to contact my application I got following error:
javax.servlet.jsp.JspException: oracle.adf.view.faces.context.AdfFacesContext.getAgent()Loracle/adf/view/faces/context/Agent;
     at com.sun.faces.taglib.jsf_core.ViewTag.doStartTag(ViewTag.java:117)
     at index2e_jspx._jspService(_index_2e_jspx.java:49)
     [SRC:/index.jspx:8]
Please tell me what's wrong!
Thanks, Peter

I got it!
The reason was, in directory ../public_html/WEB-INF/lib there was still a jar (adf-faces-api-ea11.jar) from the old EA11 (only this one - funny), and this jar was also included in deployed WAR. I removed this old jar, deploy my application again and the error no more occures.
Thanks!

Similar Messages

  • How to generate ADF Faces Tree from table ?

    Hi,
    i want to create menu for my application using ADF Faces af:tree component.i have one table containing : menu_id and parent_id , which use for describing relationship between menu ( parent/child ).
    Fact : i've already know how to create adf faces af:tree component from master/detail relationship tables.
    The question : how to create adf faces af:tree component from recursive master/detail relationship in one table ?
    to clearer understand my question,this is my MENU_DATA table script :
    CREATE TABLE MENU_DATA
    MENU_ID VARCHAR2(5 BYTE),
    DESCRIPTION VARCHAR2(50 BYTE),
    OPENLINK VARCHAR2(200 BYTE),
    PARENT_ID VARCHAR2(5 BYTE)
    this is what i mean recursive master/detail relationship ...
    ALTER TABLE MENU_DATA ADD (
    CONSTRAINT FK_PARENT_MENU_ID
    FOREIGN KEY (PARENT_ID)
    REFERENCES MENU_DATA (MENU_ID));
    Thanks a lot for help gurus...
    Ricky HP

    I have the same question on my mind...
    Without creating n (same number of level depth) VO, how can I build a recursive ADF Faces Tree ???

  • ADF Faces - Dialog from code

    Hi everyone,
    I need to open a dialog window which is not actually in any .jsp file, but it's being coded at the backed bean.
    any ideas how to do it?
    thanks in advance

    I'm working over a jsp page which represent a master entity. there is a table, to represent the detail, on this file, where the columns are loaded dinamically. so far it works...
    at the footer of this table there are action buttons to insert, update or delete a detail. the fields in the popup, to insert a new detail for instance, are to be built dinamically.
    I have setup a jsp for the detail using the same backedbean then for the master. the form has a binding, and so does a panelGrid where i want to add the new fields
    I have a method where i'm creating the new fields, which is called at the getForm method, but when i try to get the childre's reference from the panelGrid i get a null pointer exception
    any ideas how to solve this?

  • What is the best way to submit an ADF Faces form from a backing bean?

    I would like to submit a JSF form at the end of a backing bean method (actually a ReturnEvent), and wonder if someone could supply an example of the "best practices" approach.
    Thanks!!
    Jeffrey

    Thanks for the reply Frank!
    Actually, what I want would be the equivalent of a resetActionListener.
    After performing "bindings.getOperationBinding("DeleteTrip").execute()" I would like the page to redraw itself with empty controls.
    I have included a resetActionListener in my commandLink, but the page is not redrawn after the operation.
    If I hit the reload button on my browser (after the operation has completed), I get the desired behavior.
    I've just added this comment to someone else's question you replied to on the following thread:
    Re: How to programatically resetAction after rollback?
    Thanks again!!
    Jeffrey

  • JDeveloper ADF Faces Problem: Expression language

    Error(): Expression Language not supported in compile time attribute test
    I have followed an ADF Faces example from the Oracle Website. Concerning a database + ADF Faces
    http://www.oracle.com/technology/pub/articles/cioroianu_jsfadf_v4.html
    I followed the tutorial correct but everytime i try to run it. I get following error:
    Error(): Expression Language not supported in compile time attribute test
    It has something to do with following line of code
    <c:if test="${subscriber == null || !subscriber.loggedIn}">
    The error appears on every page where "<c:" appears.
    I have imported the right class library
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
    Does anybody have any idea what i can do?

    Dear Tim,
    What a chance!!! I've got the same problem as you?!
    I've tried almost everything, but still haven't succeeded to solve it!
    Hopefully someone can help us.
    Greetings

  • ADF Faces not found at Component Palette..

    I am a Tertiary Student currently doing a project using Jdeveloper 11G version 11.1.1.3.0 . I am currently doing a project on Login.jspx. I am unable to select the ADF Faces page from the Component Palette and unable to Locate the Panel Header component in the Layout layer of the Component Palette. May I know is there any other way to be able to locate the ADF Faces Page or the panel header?
    Thanks.

    Make sure you have the 'ADF Faces' and ADF Page Flow' technologies selected to your project.
    Open the ViewController project properties and select the last node in the tree ('Technology Scope'). The two mentioned scopes should be on the selected side to see the stuff you are looking for in the component palette.
    Timo

  • ADF faces jar files needed (urgent)

    Hi,
    I have downloaded one sample adf faces application from oracle site, but it does not have the jar files. They are saying that you can download the neccassary jar files from the Oracle Technology Network (OTN) Web site as a .zip archive that contains the tag libraries, documentation, and a Web application example.
    But i was not able to locate the specified zip file in OTN web site. If someone knows please tell me from where should i download the specfied jar file.
    I have downloaded the sample appl from the following link..
    http://www.oracle.com/technology/pub/articles/cioroianu_jsfadf_v4.html
    Thanks in advance..
    Regards,
    Saravanam

    Hi,
    This is a very old how-to that was released during JDeveloper preview. If you go to otn.oracle.com/proucts/jdev --> JSF then you can find the download reference.
    The newer - production class - ADF Faces jar files are not for download separately but are part of Oracle JDeveloper and available in its jlib directory. So you could go download JDeveloper and get adf-faces.jar
    Frank

  • ADF Faces and MapViewer

    Hello,
    i'm investigating the possibility to write an ADF Faces MapViewer Client. I'm especially thinking of some Google Maps style navigation, e.g. panning by dragging the map.
    I'd like to use AJAX to prevent full page reloads, so if i drag the map only the map image is reloaded.
    Now the question are:
    1. How do i extend the ADF Faces Components with AJAX Scripts without breaking the ADF Faces PPR concept?
    2. Is it possible to trigger the reload of an ADF Faces component from my javascript?
    3. Is it possibe to extend the java classes for the components or the renderer with my own code?
    4. Has anyone already created an example that uses ADF Faces and MapViewer?
    Thanks for help,
    Dirk

    Hi,
    I just talk with our admin. The problem was server port 8080. Some of internet providers (also one of the biggest Polish) blocks this port. It's a reason - when I change internet connection to other everythig works OK. I thing it would be nice to change server port to default 80, if you want to make this application accessile for all.
    Kuba

  • No registered window of ADF FACES

    I had to upgrade jdeveloper11g R1 to R2 ,then appear a issue of application runtime,as follows:
    oracle.adfinternal.view.faces.activedata.SessionDataUpdateManager __getPageDataUpdateManager
    严重: 窗口没有名称时无法注册活动数据 (no registered active data when the window does not have a name)
    Who can help me to solve this problem?

    Thank you for your reply!
    I just put the class library of the ADF FACES runtime from R1 to replace the R2 of JAR file, but won't appear the problem In the R1.
    used libraries in the R1,as follows:
    adf-controller.jar
    adf-controller-api.jar
    adf-controller-rt-common.jar
    adfdt_common.jar
    adflibfilter.jar
    adflogginghandler.jar
    adfm.jar
    adfmweb.jar
    adf-pageflow-dtrt.jar
    adf-pageflow-fwk.jar
    adf-pageflow-impl.jar
    adf-pageflow-rc.jar
    adf-richclient-api-11.jar
    adf-richclient-impl-11.jar
    trinidad-api.jar
    trinidad-impl.jar
    adf-share-base.jar
    adf-share-ca.jar
    adf-share-support.jar
    antlr-2.7.6.jar
    cache.jar
    cglib-2.2.0.jar
    dms.jar
    mdsrt.jar
    ojdl.jar
    share.jar
    xmlef.jar
    xmlparserv2.jar
    jrf-api.jar
    dom4j-1.6.1.jar
    glassfish.jsf_1.2.9.0.jar
    javax.jsf_1.0.0.0_1-2.jar
    glassfish.jstl_1.2.0.1.jar
    commons-beanutils-1.8.3.jar
    commons-collections-3.2.jar
    commons-logging-1.1.1.jar
    javassist-3.12.0.GA.jar
    javatools-nodeps.jar
    jta-1.1.jar
    Whether in the R2 needs to be added some other class library?

  • Has anyone migrated from UIX to ADF Faces?

    We are currently on JDeveloper 10.2. We have built applications using UIX. Now we want to upgrade to JDeveloper 10.3. I am trying to find out if there is easy conversion path for the upgrade from UIX to ADF faces.
    Are there any tools available to do this conversion or do I have to rebuild the same UI using ADF faces?
    If you have dont this, can you please share your experiences?
    Thanks,
    Uma

    Hi,
    you can read about the migration utility at http://www.oracle.com/technology/products/jdev/howtos/1013/uix/index.html
    Frank

  • ADF migration from 11.1.1.1.0 to 11.1.1.2.0 : template management issue

    Hello,
    I'm trying to migrate my applications from ADF 11.1.1.1 to ADF 11.1.1.2. One of these apps is based on a page template, and doesn't work anymore.
    Here's one of the jspx (I removed all unnecessary elements). The page is a simple table based on a ViewObject. The bottom facet displays a "Comments" tag, which is linked to the "Comments" field of the selected row
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:afh="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
       <jsp:directive.page contentType="text/html;charset=windows-1252"/>
       <f:view  locale="#{localeManager.userLocale}">
        <f:loadBundle basename="Locale.messageBundle" var="bundle"/>
          <af:document id="d1" title="#{sessionScope.contextTitle} : your mobile time registration system"
                       uncommittedDataWarning="on">
             <af:messages id="m1"/>
             <af:form id="f1">
                *<af:pageTemplate viewId="/MTRSTemplate.jspx" id="pt1" value="#{bindings.pageTemplateBinding}">*
                   <f:facet name="header">
                   </f:facet>                
                   <f:facet name="main">
                   <af:panelStretchLayout id="psl2"  inlineStyle="margin:10px;"
                                          bottomHeight="0">
                      <f:facet name="center">
                      <af:table value="#{bindings.PersonReport.collectionModel}"
                                var="row" width="100%"
                                rows="#{bindings.PersonReportIterator.rangeSize}"
                                emptyText="#{bindings.PersonReport.viewable ? 'No data to display.' : 'Access Denied.'}"
                                fetchSize="#{bindings.PersonReportIterator.rangeSize}"
                                rowBandingInterval="1"
                                filterModel="#{bindings.PersonReportIterator.queryDescriptor}"
                                queryListener="#{bindings.PersonReportIterator.processQuery}"
                                selectedRowKeys="#{bindings.PersonReport.collectionModel.selectedRow}"
                                selectionListener="#{bindings.PersonReport.collectionModel.makeCurrent}"
                                filterVisible="true" varStatus="vs"
                                rowSelection="single" id="tbl1"
                                verticalGridVisible="true"
                                horizontalGridVisible="false"
                                binding="#{dataManagerBean.activityCollectionModel}">
                               <af:column id="persDet" headerClass="HeaderGroup"
                                    headerText="#{bundle.daily_CPerson}">
                            <af:column align="center"
                                       headerText=" "
                                       headerClass="tableHeader"
                                       styleClass="columnData" id="column1" width="20">
                               <af:image id="flag" source="images/flags/flag_#{row.AdminStatusFlagColor}.png" rendered="#{row.AdminStatusFlagColor != null ? true : false}"
                                         shortDesc="#{row.AdminStatusFlagColor}"/>
                            </af:column>
                            <af:column sortProperty="PersonCompanyNr"
                                       sortable="true" align="center"
                                       headerText="#{bundle.daily_CPCompanyNr}"
                                       headerClass="tableHeader"
                                       styleClass="columnData" id="c7" width="45">
                               <af:outputText value="#{row.PersonCompanyNr}" id="ot3"/>
                            </af:column>                       
                            <af:column sortProperty="PersonLastName" sortable="true"
                                       styleClass="columnDataExtended"
                                       headerText="#{bundle.daily_CPName}"
                                       headerClass="tableHeader" id="c6"
                                       width="120" align="left">
                                     <af:outputText value="#{row.PersonLastName} #{row.PersonFirstName}" inlineStyle="margin-left:2px;"
                                              id="ot8" shortDesc="Person details :&#13;Tel: #{row.PersonMobile} &#13;Mail: #{row.PersonMobile} &#13;Address: #{row.PersonStreetNr}, #{row.PersonStreet}&#13;#{row.PersonPostCode}, #{row.PersonLocation}"/>                                
                            </af:column>
                        </af:column>
                         <af:column id="noDet" headerClass="HeaderGroup">
                            <f:facet name="header">
                               <af:outputText id="notext" value=""/>
                            </f:facet>
                            <af:column sortProperty="DateDay" sortable="true"
                                       align="center" headerText="#{bundle.daily_CDate}"
                                       headerClass="tableHeader"
                                       styleClass="columnData" id="c13" width="60">
                               <af:outputText value="#{row.DateDay}"
                                              id="ot4">
                                  <af:convertDateTime pattern="#{bindings.PersonReport.hints.DateDay.format}"/>
                               </af:outputText>
                            </af:column>
                            </af:column>
                            <af:column id="planDet" headerClass="HeaderGroup"
                                    width="330">
                            <f:facet name="header">
                               <af:outputText id="plan" value="#{bundle.daily_CPlan}"/>
                            </f:facet>
                            <af:column width="180" align="left"
                                       headerText="#{bundle.daily_CCustCost}"
                                       headerClass="tableHeader"
                                       styleClass="columnData" id="c8"
                                       >
                               <af:outputText value="#{row.PlanCustomerCompanyNr} #{row.PlanCustomerName} - #{row.PlanCostCenterCompanyNr} #{row.PlanCostCenterName}"
                                              id="outputText1" inlineStyle="margin-left:2px;" shortDesc="Contact Details :&#13;#{row.PlanContactCompanyNr} #{row.PlanContactLastName} #{row.PlanContactFirstName}&#13;Tel: #{row.PlanContactMobile} &#13;Mail: #{row.PlanContactEmail}"/>
                            </af:column>
                            <af:column sortProperty="PlanStartTime"
                                       sortable="true" align="center" width="40"
                                       headerText="#{bundle.daily_CStart}" headerClass="tableHeader"
                                       styleClass="columnData" id="c9"
                                       >
                               <af:outputText value="#{row.PlanStartTime}"
                                              id="ot10">
                                  <af:convertDateTime pattern="#{bindings.PersonReport.hints.PlanStartTime.format}"/>
                               </af:outputText>
                            </af:column>
                            <af:column sortProperty="PlanStopTime"
                                       sortable="true" align="center" width="40"
                                       headerText="#{bundle.daily_CStop}"
                                       headerClass="tableHeader"
                                       styleClass="columnDataExtended" id="c14"
                                       >
                               <af:outputText value="#{row.PlanStopTime}"
                                              id="ot12">
                                  <af:convertDateTime pattern="#{bindings.PersonReport.hints.PlanStopTime.format}"/>
                               </af:outputText>
                            </af:column>
                            <af:column sortProperty="PlanDuration"
                                       sortable="true" align="center" width="40"
                                       headerText="#{bundle.daily_CDuration}" headerClass="tableHeader" id="c10"
                                       styleClass="columnData"
                                       >
                                <af:outputText value="#{row.PlanDuration}"
                                               id="outputText4"/>
                            </af:column>
                         </af:column>
                         <af:column id="repDet" headerClass="HeaderGroup">
                            <f:facet name="header">
                               <af:outputText id="rep" value="#{bundle.daily_CReport}"/>
                            </f:facet>
                            <af:column align="left"
                                       headerText="#{bundle.daily_CCustCost}"
                                       headerClass="tableHeader"
                                       styleClass="columnData" id="c5" width="180"
                                       >
                               <af:outputText value="#{row.ReportCustomerCompanyNr} #{row.ReportCustomerName} - #{row.ReportCostCenterCompanyNr} #{row.ReportCostCenterName}"
                                              id="ot9" inlineStyle="margin-left:2px;" shortDesc="Contact Details :&#13;#{row.ReportContactCompanyNr} #{row.ReportContactLastName} #{row.ReportContactFirstName}&#13;Tel: #{row.ReportContactMobile} &#13;Mail: #{row.ReportContactEmail}"/>
                            </af:column>
                            <af:column sortProperty="ReportStartTime" sortable="true"
                                       align="center" headerText="#{bundle.daily_CStart}"
                                       headerClass="tableHeader"
                                       styleClass="columnData" id="c3" width="40"
                                       >
                               <af:outputText value="#{row.ReportStartTime}"
                                              id="ot11">
                                  <af:convertDateTime pattern="#{bindings.PersonReport.hints.ReportStartTime.format}"/>
                               </af:outputText>
                            </af:column>
                            <af:column sortProperty="ReportStopTime" sortable="true"
                                       align="center" headerText="#{bundle.daily_CStop}"
                                       headerClass="tableHeader"
                                       styleClass="columnData" id="column3" width="40"
                                       >
                               <af:outputText value="#{row.ReportStopTime}"
                                              id="ot6">
                                  <af:convertDateTime pattern="#{bindings.PersonReport.hints.ReportStopTime.format}"/>
                               </af:outputText>
                            </af:column>
                            <af:column sortProperty="ReportDuration"
                                       sortable="true" align="center" width="40"
                                       headerText="#{bundle.daily_CDuration}" headerClass="tableHeader"
                                       id="column4"
                                       styleClass="columnData"
                                       >
                                <af:outputText value="#{row.ReportDuration}"
                                              id="outputText2"/>
                            </af:column>
                            </af:column>
                            <af:column id="noDet2" headerClass="HeaderGroupEnd">
                            <f:facet name="header">
                               <af:outputText id="notext2" value=""/>
                            </f:facet>
                         </af:column>   
                      </af:table>
                      </f:facet>                 
                      </af:panelStretchLayout>
                   </f:facet>
                   <f:facet name="bottom">
                      <af:panelStretchLayout id="psl3" inlineStyle="margin:10px;">
                          <f:facet name="top">
                                <af:panelFormLayout id="pfl3" partialTriggers="tbl1">
                                      <af:inputText label ="#{bundle.daily_CComments}" value="#{bindings.Comments.inputValue}"
                                                    readOnly="true" 
                                                    inlineStyle="height:80px;"
                                                    id="ot1" rows="3" columns="100"/>
                                </af:panelFormLayout>
                             </f:facet>
                      </af:panelStretchLayout>                 
                   </f:facet>
                </af:pageTemplate>
             </af:form>
          </af:document>
       </f:view>
    </jsp:root>The pageDef for this page :
    <?xml version="1.0" encoding="UTF-8" ?>
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
                    version="11.1.1.54.7" id="dailyActivityReportPageDef"
                    Package="com.traxxeo.mtrs.view.pageDefs">
      <parameters/>
      <executables>
        <variableIterator id="variables"/>
        *<page path="com.traxxeo.mtrs.view.pageDefs.MTRSTemplatePageDef"*
              *id="pageTemplateBinding" Refresh="ifNeeded" />*
        <iterator Binds="PersonReport" RangeSize="25"
                  DataControl="MTRSAppModuleDataControl"
                  id="PersonReportIterator"/>
      </executables>
      <bindings>
        <tree IterBinding="PersonReportIterator"
              id="PersonReport">
          <nodeDefinition DefName="com.traxxeo.mtrs.model.views.PersonReport"
                          Name="PersonReport0">
            <AttrNames>
              <Item Value="AdminStatusAdminStatusId"/>
              <Item Value="AdminStatusId"/>
              <Item Value="AdminStatusName"/>
              <Item Value="ApprovalDate"/>
              <Item Value="Comments"/>
              <Item Value="DateDay"/>
              <Item Value="ExportDate"/>
              <Item Value="FunctionTypeFunctionTypeId"/>
              <Item Value="FunctionTypeName"/>
              <Item Value="PersonCategoryId"/>
              <Item Value="PersonCompanyNr"/>
              <Item Value="PersonCountry"/>
              <Item Value="PersonEmail"/>
              <Item Value="PersonFirstName"/>
              <Item Value="PersonId"/>
              <Item Value="PersonLastName"/>
              <Item Value="PersonLocation"/>
              <Item Value="PersonMobile"/>
              <Item Value="PersonPersonId"/>
              <Item Value="PersonPostCode"/>
              <Item Value="PersonReportId"/>
              <Item Value="PersonStreet"/>
              <Item Value="PersonStreetNr"/>
              <Item Value="PlanContactCompanyNr"/>
              <Item Value="PlanContactContactId"/>
              <Item Value="PlanContactCostCenterId"/>
              <Item Value="PlanContactEmail"/>
              <Item Value="PlanContactFirstName"/>
              <Item Value="PlanContactId"/>
              <Item Value="PlanContactLastName"/>
              <Item Value="PlanContactMobile"/>
              <Item Value="PlanCostCenterCompanyNr"/>
              <Item Value="PlanCostCenterCostCenterId"/>
              <Item Value="PlanCostCenterCustomerId"/>
              <Item Value="PlanCostCenterName"/>
              <Item Value="PlanCustomerCompanyNr"/>
              <Item Value="PlanCustomerCustomerId"/>
              <Item Value="PlanCustomerName"/>
              <Item Value="PlanDuration"/>
              <Item Value="PlanFunctionTypeId"/>
              <Item Value="PlanStartTime"/>
              <Item Value="PlanStopTime"/>
              <Item Value="ReportContactCompanyNr"/>
              <Item Value="ReportContactContactId"/>
              <Item Value="ReportContactCostCenterId"/>
              <Item Value="ReportContactEmail"/>
              <Item Value="ReportContactFirstName"/>
              <Item Value="ReportContactId"/>
              <Item Value="ReportContactLastName"/>
              <Item Value="ReportContactMobile"/>
              <Item Value="ReportCostCenterCompanyNr"/>
              <Item Value="ReportCostCenterCostCenterId"/>
              <Item Value="ReportCostCenterCustomerId"/>
              <Item Value="ReportCostCenterName"/>
              <Item Value="ReportCustomerCompanyNr"/>
              <Item Value="ReportCustomerCustomerId"/>
              <Item Value="ReportCustomerName"/>
              <Item Value="ReportDuration"/>
              <Item Value="ReportStartTime"/>
              <Item Value="ReportStatusId"/>
              <Item Value="ReportStatusName"/>
              <Item Value="ReportStatusReportStatusId"/>
              <Item Value="ReportStopTime"/>
              <Item Value="WorkCodeId"/>
              <Item Value="WorkCodeName"/>
              <Item Value="WorkCodeWorkCodeId"/>
              <Item Value="AdminStatusFlagColor"/>
            </AttrNames>
          </nodeDefinition>
        </tree>
        <attributeValues IterBinding="PersonReportIterator" id="Comments">
          <AttrNames>
            <Item Value="Comments"/>
          </AttrNames>
        </attributeValues>
      </bindings>
    </pageDefinition>The template page :
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=windows-1252"/>
      <f:loadBundle basename="Locale.messageBundle" var="bundle"/>
      <!--<link href="styles/main.css" rel="stylesheet" type="text/css"/>--> 
      <af:pageTemplateDef var="attrs">  
        <af:xmlContent>
          <component xmlns="http://xmlns.oracle.com/adf/faces/rich/component">
            <display-name>MTRSTemplate</display-name>
                    <facet>
                        <facet-name>
                            main
                        </facet-name>
                    </facet>
                    <facet>
                        <facet-name>
                            header
                        </facet-name>
                    </facet>
                    <facet>
                        <facet-name>
                            bottom
                        </facet-name>
                    </facet>
                </component>
        </af:xmlContent>
                    <af:panelStretchLayout id="pst1h" inlineStyle="border:1px solid #D2D2D2;margin-top:7px;margin-left:2px;margin-right:3px; -moz-border-radius: 10px;background-color:#FFFFF0;">
                        <f:facet name="center">
                            <af:facetRef facetName="header"/>
                        </f:facet>
                    </af:panelStretchLayout>
                    <af:panelStretchLayout id="pst1m" topHeight="#{attrs.backButton != null ? 30 : 0}"
                                                   startWidth="10px"
                                                   styleClass="mainPanel">
                        <f:facet name="center">
                            <af:facetRef facetName="main"/>
                        </f:facet>
                    </af:panelStretchLayout>
                <af:panelStretchLayout id="pst1b" topHeight="#{attrs.bottomHeight}"
                                           inlineStyle="border:1px solid #D2D2D2; margin-top:10px; margin-left:2px; margin-right:3px; -moz-border-radius: 10px;">
                    <f:facet name="top">                      
                         <af:facetRef facetName="bottom"/>
                    </f:facet>               
                </af:panelStretchLayout>
      </af:pageTemplateDef>
    </jsp:root>and the template pageDef :
    <?xml version="1.0" encoding="UTF-8" ?>
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
                    version="11.1.1.54.7" id="MTRSTemplatePageDef"
                    Package="com.traxxeo.mtrs.view.pageDefs">
    </pageDefinition>With this configuration, an error is returned when page is displayed :
    javax.el.PropertyNotFoundException: Target Unreachable, 'Comments' returned null
         at com.sun.el.parser.AstValue.getTarget(AstValue.java:88)
         at com.sun.el.parser.AstValue.getType(AstValue.java:56)
         at com.sun.el.ValueExpressionImpl.getType(ValueExpressionImpl.java:180)
         at oracle.adfinternal.view.faces.renderkit.rich.ValueRenderer.getValueExpressionType(ValueRenderer.java:172)
         at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputTextRenderer.renderContentStyleAttributes(SimpleInputTextRenderer.java:409)
         Truncated. see log file for complete stacktraceWhen template is desactivated, the error disappears. It also disappears when I use #{bindings} instead of #{bindings.pageTemplateBinding} in the af:pageTemplate tag
    any idea?
    Thanks for your help
    Stephane

    Hello Frank,
    If I remove the "Comments" data, the table content displays correctly. However, when I try to scroll the table, after the 25 base range rows, the table refresh and goes back to first row, giving following error :
    <SortableModel><_toRowIndex> rowkey non valide : [oracle.jbo.Key[10714 ]] type : class java.util.Collections$SingletonList
    <SortableModel><_toRowIndex>
    java.lang.ClassCastException: java.util.Collections$SingletonList cannot be cast to java.lang.Integer
         at org.apache.myfaces.trinidad.model.SortableModel._toRowIndex(SortableModel.java:341)
         at org.apache.myfaces.trinidad.model.SortableModel.setRowKey(SortableModel.java:137)
         at org.apache.myfaces.trinidad.component.UIXCollection.setRowKey(UIXCollection.java:423)
         at oracle.adfinternal.view.faces.renderkit.rich.TableRendererUtils.validateRowIndex(TableRendererUtils.java:647)
         at oracle.adfinternal.view.faces.renderkit.rich.TableRendererUtils.getDataFetchStartAndSize(TableRendererUtils.java:671)
         at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer._handleDataFetch(TableRenderer.java:927)
         at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer.encodeAll(TableRenderer.java:494)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
         at org.apache.myfaces.trinidad.component.UIXCollection.encodeEnd(UIXCollection.java:527)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2572)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeCenterFacet(PanelStretchLayoutRenderer.java:273)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeCenterPane(PanelStretchLayoutRenderer.java:523)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeAll(PanelStretchLayoutRenderer.java:220)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
         at org.apache.myfaces.trinidad.render.RenderUtils.encodeRecursive(RenderUtils.java:70)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:410)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2572)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeCenterFacet(PanelStretchLayoutRenderer.java:273)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeCenterPane(PanelStretchLayoutRenderer.java:523)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeAll(PanelStretchLayoutRenderer.java:220)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2572)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:432)
         at oracle.adfinternal.view.faces.renderkit.rich.PageTemplateRenderer.encodeAll(PageTemplateRenderer.java:47)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.encodeEnd(ContextSwitchingComponent.java:153)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2572)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:432)
         at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:221)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2572)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:432)
         at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:820)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.__encodeRecursive(UIXComponentBase.java:1501)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeAll(UIXComponentBase.java:771)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:942)
         at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:271)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:202)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:685)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:261)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:193)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:54)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.traxxeo.mtrs.util.DisableUrlSessionFilter.doFilter(DisableUrlSessionFilter.java:42)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.traxxeo.mtrs.util.AuthenticationFilter.doFilter(AuthenticationFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)Please note that some errors appears before/after the stack :
    <UIXInclude><_setupIncludeContext> Appel interdit pour configurer le contexte d'une inclusion déjà en contexteWhat do you mean by 'which could be a case if you use EO in libraries'?
    Thanks for your help
    Stephane

  • Where can I download adf-faces-ea13.zip

    I have been reading:
    Using MyFaces with Oracle JDeveloper 10g (10.1.3) Preview
    http://www.oracle.com/technology/products/jdev/101/howtos/myfaces/index.html
    and
    How To Use ADF Faces With JDeveloper 10g
    http://www.oracle.com/technology/products/jdev/howtos/10g/adfjsf/how-to-adf-faces-10gjdev.htm
    but unfortunately I cannot find a place that I can download the file mentioned adf-faces-ea13.zip in these 2 article.
    Any help?
    Ming Man

    Thanks Frank,
    I have JDeveloper 10.1.3.3 with me, just that I want to learn more from those tutorial. Those articles should get updated if they can no longer be used, right?
    Regards,
    Ming Man

  • Any example customer has migrated from Oralce Forms to ADF?

    Any benchmark or how many customers have done the migration from Forms to ADF?
    Btw, is all kind of Froms convertible by Froms2ADF tools ?
    thanks for any suggestion.

    Here is my view on this:
    In general, people tend to underestimate the effort involved in migrating from Forms to ADF.
    Migration tools like the JHeadstart Forms2ADF Generator can be of help, but are by no means a silver bullet.
    When does JHeadstart save time
    The amount of work that can be saved by using the JHeadstart Forms2ADF Generator (JFG) very much depends on the structure of the Oracle Forms application at hand. The JHeadstart Forms2ADF Generator provides most savings for forms that have the following characteristics:
    - Standard-Forms data retrieval and data manipulation through blocks based on database tables, with master-detail relations defined between the block
    - Complex user interface, many (stacked) canvasses, many tabs, many list of values, and other display types
    - PL/SQL logic mostly limited to user interface dynamics: conditionally showing/hiding user interface items, and conditionally changing the properties of user interface items. While JHeadstart does not convert PL/SQL logic, this type of logic is easily implemented in the ADF application because JHeadstart provides many declarative property settings to implement this behavior.
    PL.SQL Logic
    JHeadstart has made the deliberate choice to not automatically convert the PL/SQL logic to Java. The reasons for this are:
    - It is impossible to automate the migration of a two-tier architecture (logic in Forms or in the database) to a three tier Model-View-Controller architecture as is common in JEE web applications, including ADF-based applications.
    - The architecture of the converted application should be identical to the best-practice architecture of an ADF application that is build from scratch. If the architecture is the same, the same skill set can be used to maintain both migrated applications and ADF applications build from scratch. In addition, by going for a best practice architecture, the application is more flexible, and can be maintained easier at lower cost.
    - When using the JHeadstart Forms2ADF Generator, you get this best-practice ADF architecture that is identical to ADF/JHeadstart applications that are built from scratch.
    Other Forms2ADF Considerations
    Even if it turns out the JFG adds value, there are many other questions the customer should ask himself before embarking on a Foms2ADF project. For example:
    - Apart from technical reasons like old Forms verisions no longer supported, are there real business reasons and business benefits for migrating that justify the migration effort?
    - To what extent is the application still meeting functional requirements?
    - Are there issues with stability and end user friendliness?
    - Old forms applications are typical "window-on-data" screens, you see the structure of the datamodel through the layout of the screens. Modern web 2.0 composite applications are more task-oriented with good support for human workflow. The customer should consider to what extent it wants to leverage all these new user interfaces capabilities that come with ADF Faces and WebCenter.
    - How does the application fits in the overall IT landscape of the customer? What interfaces to other systems exist, what (old/obsolete?) technology is used to implement those interfaces?
    - What about batch functionality and reporting facilities?
    - May be part of the functionality of the current system can be replaced with standard off-the-shelf software?
    - How sound, well structured and future proof is the underlying datamodel?
    - To what extent is the customer looking at service-orientated architectures? Whats the SOA maturity level of the customer?
    - Above questions help to answer the key question: how desirable and beneficial is it to migrate an old monolitic forms application 1:1 to a monolitic ADF aplication? How does that fit in overall IT strategy?
    - Organisational isues: who will migrate the system, who will maintain the system? Is outsourcing considered? etc.
    Some customer experiences
    Over the years I have been involved with a number of customers that migrated from Forms to ADF. With some of these customers we used the Forms2ADF Generator in the proof-of-concept phase to convince them of the combined power of ADF and JHeadstart. However, with NONE of these customers we used the Forms2ADF Generatpr during actual migration, for various reasons as listed above. All customers eventually chose to truly re-engineer the application while rebuilding in ADF achieving signifcant new business benefits that justified the investment. A choice recommended and encouraged by me, despite the fact I am the creator of the JFG. Note that ALL customers use JHeadstart heavily forbuilding the re-engineered ADF application, they just don't use the Forms2ADF generator, but the JHeadstart Application generator to create the ADF app from scratch.
    Other resources
    You also might want to take a look at the following presentations:
    - http://www.slideshare.net/stevendavelaar/forms2-adfsoa-ukoug
    - http://www.slideshare.net/stevendavelaar/jhs11-forms2-adfukoug
    - http://www.slideshare.net/oracle_imc_team/oracle-forms-modernization-strategies
    - http://www.slideshare.net/lucasjellema/forms-2-future-the-ongoing-journey-into-the-future-for-oracle-based-organizations
    Hope this helps,
    Steven Davelaar,
    JHeadstart Team

  • PPR does not work after migrating from ADF 11.1.1.0.2 to 11.1.1.1.1

    Hi, I'm able to programmatically refresh my UI components in ADF 11.1.1.0.2. After migrating my application to ADF 11.1.1.1.0 using the latest Jdev, I noticed that all the programmatically PPR no longer work. I'm using ADF Faces, managed beans and EJB. Data Control is not used.
    In addition, I noticed in Section 7:Rerendering Partial Page Content of the latest Web User Interface Developer's Guide(B31973-03), a new paragraph was added, stating that the clientComponent attribute of the target component should be set to "true" to enable PPR programmatically. An earlier version of the developer guide(B31973-01) does not have this paragraph.
    Given the huge amount of work required in going back to update the code, is there a way for me to set ADF 11gR1 to restore to the earlier behaviour in 11.1.1.0.2 by setting some parameter somwhere (e.g. in the web.xml)?

    No there is no such switch. If you don't want to go through your code (which should be possible by find in files with a regular expression), you have to switch back to 11.1.1.0.2.
    This would not be an option to me because of the buds fixed in 11.1.1.1.0.
    Think aoubt the next version which is scheduled later this year. There you will have the same problem. If you are not fixing the code you have to stay on 11.1.1.0.2 forever.
    Timo

  • Possible cause for Faces failures (migration from an older version)

    I've had no luck with Faces recognizing faces in images.
    I think that the issue is with how the images got to iPhoto.
    I imported 2000+ images from my iBook (iPhoto 04). Of those, Faces failed in ~>95% of the images. Today, I took two junky photos with Photobooth, including a dark and distant shot. Faces recognized that there was a face in the image, although it hadn't learned the face, yet (I know, that takes time).
    I believe the issue might have to do with the fact that I imported images from a distant version (i.e. coming from iPhoto 4 instead of iPhoto 07 or 08, or whatever).
    Or, possibly that I migrated from another machine as opposed to upgrading iPhoto on the same machine?
    Hopefully this line of reasoning will isolate the problem's cause.
    Please reply if you are having success or not, as well how your photos got into iPhoto '09 (i.e. Migration from another computer and type, prior iPhoto version, etc.)
    I'll start...
    I migrated my images from iPhoto 4 from an iBook (PPC) and have had very little, if any, success with Faces recognizing faces in images.
    Thanks!

    I just imported (from my Treo) three images that were exactly the same as the three successes from Photobooth.
    Being from different sources they cannot be the same. Maybe the face in the photo was the same but the rest of the file, i.e. the metadata is different. Some image sources write metadata differently and that can cause issue. It's probable that iPhoto is expecting the metadata to adhere strictly to the EXIF/ITPC standards and some of the sources don't in writing the metadata to the file.
    Report the problem to iPhoto via http://www.apple.com/feedback/iphoto.html and give the details of the photos as you've done here. That will help them better understand the issue and get a fix out.

Maybe you are looking for

  • The requested URL /Site/Home.html was not found on this server - HELP!

    NOT FOUND: The requested URL /Site/Home.html was not found on this server. This comes up when I type in my website address. I am new to this, have created my website on iweb, bought the domain name and purchased web hosting with 123-REG. I ask for th

  • Creating a PR for acquisition of an asset

    Hi everyone, This week some friend were talking about the process to buy an asset and we're a little bit concerned about the situation below. A user created at IMA11 a request to buy some laptops and then he created an internal investment order relat

  • Does anyone know how to post an official complaint to Apple?

    My newly arrived Iphone 5 about 3 days old and costs around $1000 has to be replaced with a refurbished Iphone 5. Here is the story: I was looking forward to Iphone 5 and pre-ordered it and waited for about 3 weeks. It arrived on Friday the 12th of O

  • Hiding Pages in ADOBE form using formcalc scripting.

    Hi Experts, I am new to ADOBE form and currently working on invoice print output. (NOT an  Interactive adobe form) My requirement is i wanted to print one main page and 5  different annexures(anexures are having different layouts so is in diff forms

  • Can't import my mailboxes from Tiger Mail into Leopard

    Hi everyone, I bought a new MBP and I'm now in the process of carefully importing my mailboxes from Tiger mail, on my Tiger backup HD, to the new mail program. I have about 20000 messages saved since 1999, sorted by project etc. Each time I select a