Include jspx page in af:regionDef

Does any body know how to include a jspx/jsp page in <af:regionDef>
tag
Thanks in advance

Make that as another region & you can include that region..
<af:regionDef var="attr">
<af:region id="_id0" regionType="AnotherRegion"/>
</af:regionDef>

Similar Messages

  • Including jspx page into Panel Tabbed !!

    Hi all,
    Jdeveloper 11g is really powerful ..
    I want to create windows explorer interface which consists of two main areas:
    First one represented as a tree and the second to show the details of the selected item in the tree. I want the detail area to be as tabbed so that multiple tabs can be seen at a time, I developed most of this issue.
    Here is my question:
    How to include a jspx page into one of the tabs (showDetailItem) created in the panel tabbed, I've tried <jsp:include> but it didn't work
    Regards,
    Bassam

    not sure what you mean by Panel Tabbed, but you should be able to do something like the following so that when user clicks on a tab, the proper page will load:
    <af:showOneTab binding="#{backing_bean.showOneTab1}"
    id="showOneTab1" position="above">
    <af:showDetailItem text="Tab Text"
    binding="#{backing_bean.showDetailItem1}"
    id="id"
    disclosed="#{some evaluation}">
    <!-- include header jsp -->
    <f:subview id="positionHeader">
    <jsp:include page="/Header.jspx"/>
    </f:subview>
    </af:showDetailItem>
    </af:showOneTab>
    the included jsp will need to be stripped of at least the <f:view> tag since it's being included in another page that will already have the <f:view> tag. Can't remember if there are other tags <afh:html>, <afh:body> which might need to be removed from the included jsp.

  • Include one *.jspx page in another

      Hello, I've got problem with including one *.jspx page in another.
    My pages:
    index.jspx:
    <?xml version='1.0' encoding='utf-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0" xmlns:f="http://java.sun.com/jsf/core"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
        <jsp:directive.page contentType="text/html;charset=utf-8"/>
        <f:view>
            <af:document id="fileExplorerDocument" title="jjj">
                <af:form id="f1">
                    <af:panelStretchLayout id="psl" topHeight="100" startWidth="10%" endWidth="10%">
                        <f:facet name="top">
                            <jsp:include page="/include.jspx" flush="true"/>
                        </f:facet>
                    </af:panelStretchLayout>
                </af:form>
            </af:document>
        </f:view>
    </jsp:root>
    and
    include.jspx:
    <?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:h="http://java.sun.com/jsf/html">
        <af:panelStretchLayout id="header_psl" topHeight="20" startWidth="300" endWidth="300" bottomHeight="20">
            <f:facet name="start">
                <af:outputText value="ads" id="header_asd"/>
            </f:facet>
        </af:panelStretchLayout>
    </jsp:root>
    why this doesn't work? When I paste content from include.jspx page it works...

    I think you need to review how ADF works. After that, create a page fragment with the code you want to include. Create a task flow and insert the page fragment. Insert the taskflow as a region in your jspx page and that's all.
    Jhon

  • How to include 2 jspx pages in one jspx page and should navigate each other

    Hi,
    How to include 2 jspx pages in one jspx page. When I click on submit button in one page I should able to display those values in another jspx page.
    Plz give me systax or any examples on this requirement.
    Thanks

    I divided one jspx page into 2 parts(Left and Right). In Left side part contain Tree component. Onclick on any node in Tree component, Include another jspx page in Right side. The included jspx contain one submit button. If I click on that button corresponding backing bean is not getting call.
    If I tested with individual pages its working fine. It is getting fail when ever I included jspx page into another.

  • How to include jspx in a jspx??

    Hi All,
    I want to include jspx in another jspx, if i use the below syntax after the panelForm:
    <afh:rowLayout width="100%">
    <jsp:include page="/jsps/admin/generalAdmin/editManProfAttr.jspx"/>
    </afh:rowLayout>
    It is throwing an below exception:
    javax.servlet.jsp.JspException     
    at com.sun.faces.taglib.jsf_core.ViewTag.doStartTag(ViewTag.java:137)     
    at jsps.admin._generaladmin._editManProfAttr_jspx._jspService(_editManProfAttr_jspx.java:67)     [jsps/admin/generalAdmin/*editManProfAttr.jspx*]     
    at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)     
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)     
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)     
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)     
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    I have made the included jspx page name in bold in the above exception.
    Regards,
    R N V Prasad

    If you include another jsf, tag conflicts may cause error like f:view. A jsf page can contain only one f:view. In your include page remove all tags except jsp:root. Also add flush="true" in the jsp:include.

  • HTTP Error 403 - Forbidden  error when auto including a jspx page

    Hi All -
    We have a situation where one of different reports pages gets included inside a main reports page based on user selection via a selectOneChoice control.
    But when the Reports Main page tab is clicked for the first time we get a "You are not authorized to view this page" HTTP Error 403 - Forbidden error.
    Upon clicking "Refresh" and then clicking the Reports Main page tab again, the page renders correctly.
    This is our code snippet. All the report related pages(MainPage.jspx, Schedule.jspx and Budget.jspx) are inside a reports folder under the context root. Please help.
    Thanks for your time.
    MainPage.jspx
    =====================
    Here I have a selection box, and based on the user selection I include different JSPX pages. The page Definition of this page
    contains all the executables and the bindings of the included pages also.
    <af:selectOneChoice value="#{backing_Reports.measureSelected}"
    label="Measure" unselectedLabel="Select One"
    id="selectmeasure" autoSubmit="true"
    immediate="true">
    <af:selectItem label="Schedule Data"
    value="Schedule.jspx"/>
    <af:selectItem label="Budget Data"
    value="Budget.jspx"/>
    </af:selectOneChoice>
    <af:panelGroup>
    <jsp:include page="${backing_Reports.measureSelected}" flush="true"/>
    </af:panelGroup>
    Faces Config:
    ===================
    <navigation-rule>
    <from-view-id>*</from-view-id>
    <navigation-case>
    <from-outcome>GlobalHome</from-outcome>
    <to-view-id>/pages/Welcome.jspx</to-view-id>
    <redirect/>
    </navigation-case>
    <navigation-case>
    <from-outcome>GlobalReports</from-outcome>
    <to-view-id>/reports/MainPage.jspx</to-view-id>
    </navigation-case>
    <!-- 1. Reports menu tab item -->
    <managed-bean>
    <managed-bean-name>menuItem_Reports</managed-bean-name>
    <managed-bean-class>cs.view.menu.MenuItem</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    <managed-property>
    <property-name>label</property-name>
    <value>#{resources['scorecard.menu.reports']}</value>
    </managed-property>
    <managed-property>
    <property-name>viewId</property-name>
    <value>/reports/MainPage.jspx</value>
    </managed-property>
    <managed-property>
    <property-name>outcome</property-name>
    <value>GlobalReports</value>
    </managed-property>
    </managed-bean>
    :

    We have solved this, temproarily. But don't know if this is the best method to do this. Please post if somepne has a better way of doing this.
    While debugging we found that the ${backing_Reports.measureSelected} field which was set to a default value in backing bean was returned as null when the page renders for the first time. So we had a work around like this in our MainPage.jspx
    <af:panelBox width="80%" partialTriggers="selectmeasure"
    inlineStyle="margin:40.0px;">
    <af:panelGroup>
    <jsp:include page="${backing_Reports.measureSelected==null?'BlankPage.jspx':backing_Reports.measureSelected}"
    flush="true"/>
    </af:panelGroup>
    </af:panelBox>
    Thanks.

  • Problem with Firefox rendering using a jspx page

    Hello, your help will be very important for me, so please read this :
    this is the code of my jspx page :
    <?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="1.2"
         xmlns:f="http://java.sun.com/jsf/core"
         xmlns:h="http://java.sun.com/jsf/html"
         xmlns:af="http://xmlns.oracle.com/adf/faces"
         xmlns:afh="http://xmlns.oracle.com/adf/faces/html">
         <jsp:directive.page contentType="text/html;charset=utf-8" />
         <f:view locale="#{locale.locale}">
              <!-- Load localized messages -->
              <f:loadBundle var="bundle" basename="localizedMessages" />
              <!-- Main document element -->
              <af:document title="#{bundle.account_bucket_title}">
                   <af:panelBorder>
                        <f:facet name="top">
                             <af:panelGroup>
                                  <!-- Top bar -->
                                  <jsp:directive.include file="includes/header.jspf" />
                                  <!-- Top menu -->
                                  <jsp:directive.include file="includes/MenuTop.jspf" />
                             </af:panelGroup>
                        </f:facet>
                        <f:facet name="bottom">
                             <af:panelGroup inlineStyle="position: relative; bottom:0px">
                                  <!-- Bottom menu -->
                                  <jsp:directive.include file="includes/MenuBottom.jspf" />
                             </af:panelGroup>
                        </f:facet>
                        <!--bucket details-->
                        <af:panelGroup layout="vertical"
                             inlineStyle="overflow:auto; height=88%; position:relative">
                             <af:objectSpacer width="100" height="20" />
                             <af:panelHeader text="#{bundle.account_bucket_title}" size="0" />
                             <af:objectSpacer width="100" height="20" />
                             <af:table emptyText="#{bundle.account_bucket_no_items}" var="item"
                                  value="" width="100%">
                                  <af:column sortable="true"
                                       headerText="#{bundle.account_bucket_bundle_table_col1}"
                                       headerNoWrap="true" formatType="text">
                                       <af:outputText value="" />
                                  </af:column>
                                  <af:column sortable="true"
                                       headerText="#{bundle.account_bucket_bundle_table_col2}"
                                       headerNoWrap="true" formatType="text">
                                       <af:outputText value="" />
                                  </af:column>
                                  <af:column sortable="true"
                                       headerText="#{bundle.account_bucket_bundle_table_col3}"
                                       headerNoWrap="true" formatType="text">
                                       <af:table emptyText="#{bundle.account_bucket_bucket_no_item}"
                                            var="item" value="" width="100%">
                                            <af:column sortable="true"
                                                 headerText="#{bundle.account_bucket_bucket_table_col1}"
                                                 headerNoWrap="true" formatType="text">
                                                 <af:outputText value="" />
                                            </af:column>
                                            <af:column sortable="true"
                                                 headerText="#{bundle.account_bucket_bucket_table_col2}"
                                                 headerNoWrap="true" formatType="text">
                                                 <af:outputText value="" />
                                            </af:column>
                                            <af:column sortable="true"
                                                 headerText="#{bundle.account_bucket_bucket_table_col3}"
                                                 headerNoWrap="true" formatType="text">
                                                 <af:outputText value="" />
                                            </af:column>
                                            <af:column sortable="true"
                                                 headerText="#{bundle.account_bucket_bucket_table_col4}"
                                                 headerNoWrap="true" formatType="text">
                                                 <af:outputText value="" />
                                            </af:column>
                                            <af:column sortable="true"
                                                 headerText="#{bundle.account_bucket_bucket_table_col5}"
                                                 headerNoWrap="true" formatType="icon">
                                                 <af:commandButton
                                                      text="#{bundle.account_bucket_bucket_adjustment_btn}"
                                                      action="" />
                                            </af:column>
                                       </af:table>
                                  </af:column>
                             </af:table>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                             <af:objectSeparator></af:objectSeparator>
                        </af:panelGroup>
                   </af:panelBorder>
              </af:document>
         </f:view>
    </jsp:root>
    When i use IE there is no problem, an iFrame is generated and the bucket detais are rendered into it.
    The problem is with Firefox, the is an iFrame in the HTML code, but there is no rendering of it : why ?
    it seems that iFrames are well-rendered with FireFox and i don't no how to change my page to render it good with both FireFox and IE
    Please tell me a solution, something to change with my ADF tags ?...
    Sincerely,
    edward.

    i found solution for the problem that i use the following code to include JavaScript file
    i found that the problem occurred when i use the following code to include JavaScript file
    <script type="text/javascript" src="javascriptfile.js"/>
    also if i included 2 JavaScript files only one file is included at runtime
    but when i used the following code to include JavaScript files
    <afh:script source="javascriptfile.js"/>
    the two problems were solved (the problem of LOV and the problem of including multiple /js files)
    i don't know if it is a bug in the ADF or i made a mistake in the previous way
    any way thanks to you all for helping me

  • Af:serverListener on jspx page - compilation error - jDeveloper 11.1.1.4.0

    I have a weird problem that adding a serverListerner component on jspx page causes compilation error:
    The class of the deferred-methods return type "{0}" can not be found.
    No property editor found for the bean "javax.el.MethodExpression"
    If I remove serverListener (to pass compilation) and then add it again in run-time, it works normally (the backing bean method is being triggered correctly, including passing params, etc).
    It is happening only on the current project, but when I make a test case it works normally. I suspect it has something with the project settings, but I couldn't find the cause regarding that the project has advanced and there are so many differences to be able to do simple comparison.
    Does anyone know what could be the reason for af:serverListener to break compilation, please?
    ... from jspx page...
    <af:resource type="javascript">
    function aaa(event) {
    var esrc = event.getSource();
    AdfCustomEvent.queue(esrc, "bbb", {fvalue : "TEST"},true);
    event.cancel();
    </af:resource>
    <af:inputText label="Label 1" id="it1">
    <af:clientListener method="aaa" type="click"/>
    <af:serverListener type="bbb" method="#{backing_bean.onClick}"/>
    </af:inputText>
    ... from BB ...
    public void onClick(ClientEvent clientEvent) {
    String message = (String) clientEvent.getParameters().get("fvalue");
    System.out.println(message);
    }

    Hi,
    Try like this
    <trh:script>clientListenerMethoName= function(event) {
    var source = event.getSource();
    AdfCustomEvent.queue( source, "serVerListenerType", {}, false); }
    </trh:script>
    Next :
    <af:clientListener method="clientListenerMethoName" type="click"/>
    <af:serverListener type="serVerListenerType" method="#{beanName.methodName}"/>
    Edited by: Raj Gopal K on May 4, 2011 4:05 PM

  • OutputLabes, values in selectOneChoice are appearing twice in the jspx page

    Hi All,
    In a Jspx Page, there are two menu tabs. Each Tab has a PanelForm and each panelform has certain components.
    By default the first panelform in the first tab will be shown on page load and while clicking on second tab, the second panelform will be shown.
    The first panelform has three selectonechoices and three command buttons.
    If i click on reset button, these 3 selectonechoices are set to null by backing bean.
    Here comes the problem, after clicking on reset, if you click on second tab where the second panel form available, certain components like outputLabel and the values in selectOnechoice, are appearing twice on the page.
    Can anyone suggest me how to get rid of this problem..
    Here is my Jspx Page..
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:af="http://xmlns.oracle.com/adf/faces"
    xmlns:afh="http://xmlns.oracle.com/adf/faces/html">
    <jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
    doctype-system="http://www.w3.org/TR/html4/loose.dtd"
    doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <f:loadBundle basename="GeneralAdmin" var="gadmin"/>
    <f:loadBundle basename="HoldCapabilites" var="holdc"/>
    <f:view>
    <afh:html>
    <afh:head title="editManualProfileAttributes">
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    <script type="text/javascript">
    function cancel() {
    var flag = false;
    flag=window.confirm('You want to discard the entered data');
    return flag;
    </script>
    </afh:head>
    <afh:body>
    <af:messages/>
    <h:form>
    <afh:tableLayout>
    <afh:rowLayout width="100%">
    <jsp:include page="/jsps/webutils/template/header.jsp"/>
    </afh:rowLayout>
    <afh:rowLayout>
    <afh:rowLayout width="100%">
    <af:menuPath>
    <af:commandMenuItem text="#{gadmin.admin}" action="adminHome"/>
    <af:commandMenuItem text="#{gadmin.epaAttr}" selected="true"/>
    </af:menuPath>
    </afh:rowLayout>
    </afh:rowLayout>
    <afh:rowLayout width="100%">
    <af:objectSpacer width="10" height="20"/>
    </afh:rowLayout>
    <afh:rowLayout halign="center" valign="bottom">
    <afh:cellFormat width="20%" height="20px" valign="bottom">
    <af:menuTabs>
    <af:commandMenuItem text="#{gadmin.epAttr}"
    action="#{EditManualProfileAttributes.firstTab}"
    binding="#{EditManualProfileAttributes.commandMenuItem2}"
    id="commandMenuItem2"/>
    <af:commandMenuItem text="#{gadmin.auditHistory}"
    action="#{EditManualProfileAttributes.secondTab}"
    binding="#{EditManualProfileAttributes.commandMenuItem1}"
    id="commandMenuItem1"/>
    </af:menuTabs>
    </afh:cellFormat>
    <afh:cellFormat styleClass="bottomLine" width="80%"
    height="20px" valign="bottom">
    <af:objectSpacer height="1" width="1"/>
    </afh:cellFormat>
    </afh:rowLayout>
    <afh:rowLayout width="100%">
    <af:objectSpacer width="100%" height="10"/>
    </afh:rowLayout>
    <af:panelForm id="panelForm1" width="100%"
    binding="#{EditManualProfileAttributes.panelForm1}">
    <afh:rowLayout width="100%">
    <afh:cellFormat width="15%">
    <af:outputText value="#{gadmin.mpAttr}"
    inlineStyle="font-family:Arial; font-size:9.0pt; font-weight:bold;"/>
    </afh:cellFormat>
    <afh:cellFormat width="85%">
    <f:verbatim>
    <hr align="left"
    style="border-width:2.0px; color:rgb(219,238,243);"/>
    </f:verbatim>
    </afh:cellFormat>
    </afh:rowLayout>
    <afh:rowLayout width="100%">
    <af:objectSpacer width="10" height="20"/>
    </afh:rowLayout>
    <afh:rowLayout width="100%">
    <afh:cellFormat width="5%"/>
    <afh:cellFormat width="15%">
    <af:outputText value="#{gadmin.refName}"
    styleClass="outputText"/>
    <af:outputText value=" * "
    inlineStyle="font-size:10.0pt; font-family:Arial; color:rgb(255,0,0);"/>
    </afh:cellFormat>
    <afh:cellFormat width="80%">
    <af:selectOneChoice id="navList1" autoSubmit="true" partialTriggers="commandButton2"
    valuePassThru="true" unselectedLabel="Select"
    binding="#{EditManualProfileAttributes.navList1}"
    valueChangeListener="#{EditManualProfileAttributes.getDetails}">
    <af:forEach var="li"
    items="#{bindings.GetRefNamesVO1.rangeSet}">
    <af:selectItem label="#{li.ReferenceName}"
    value="#{li.Id}"/>
    </af:forEach>
    </af:selectOneChoice>
    </afh:cellFormat>
    </afh:rowLayout>
    <afh:rowLayout width="100%">
    <af:objectSpacer width="10" height="10"/>
    </afh:rowLayout>
    <afh:rowLayout width="100%">
    <afh:cellFormat width="5%"/>
    <afh:cellFormat width="15%">
    <af:outputText value="#{gadmin.refId}"
    styleClass="outputText"/>
    <af:outputText value=" * "
    inlineStyle="font-size:10.0pt; font-family:Arial; color:rgb(255,0,0);"/>
    </afh:cellFormat>
    <afh:cellFormat width="15%">
    <af:selectOneChoice id="navList2" autoSubmit="true"
    partialTriggers="navList1 commandButton2"
    binding="#{EditManualProfileAttributes.navList2}"
    valueChangeListener="#{EditManualProfileAttributes.getColumns}">
    <af:forEach var="li"
    items="#{bindings.LookupRefTableVO1.rangeSet}">
    <af:selectItem label="#{li.LookupDesc}"
    value="#{li.LookupId}"/>
    </af:forEach>
    </af:selectOneChoice>
    </afh:cellFormat>
    <afh:cellFormat width="15%">
    <af:selectOneChoice id="navList3"
    binding="#{EditManualProfileAttributes.navList3}"
    partialTriggers="navList1 navList2 commandButton2">
    <af:forEach var="li"
    items="#{bindings.EditRefColumnVO1.rangeSet}">
    <af:selectItem label="#{li.DetailDesc}"
    value="#{li.DetailsId}"/>
    </af:forEach>
    </af:selectOneChoice>
    </afh:cellFormat>
    <afh:cellFormat width="50%"/>
    </afh:rowLayout>
    <afh:rowLayout width="100%">
    <af:objectSpacer width="10" height="10"/>
    </afh:rowLayout>
    <afh:rowLayout width="100%">
    <afh:cellFormat width="5%"/>
    <afh:cellFormat width="6%">
    <af:outputText value="#{gadmin.stDt}"
    styleClass="outputText" id="outputText1"
    binding="#{EditManualProfileAttributes.outputText1}"/>
    </afh:cellFormat>
    <afh:cellFormat halign="left">
    <af:outputText value=" * " id="outputText2"
    binding="#{EditManualProfileAttributes.outputText2}"
    inlineStyle="font-size:10.0pt; font-family:Arial; color:rgb(255,0,0);"/>
    </afh:cellFormat>
    <afh:cellFormat width="4%"/>
    <afh:cellFormat width="80%">
    <af:selectInputDate id="startDate"
    binding="#{EditManualProfileAttributes.startDate}"
    partialTriggers="navList1 commandButton1 commandButton2">
    <af:convertDateTime pattern="dd/MMM/yy"/>
    </af:selectInputDate>
    </afh:cellFormat>
    </afh:rowLayout>
    <afh:rowLayout width="100%">
    <af:objectSpacer width="10" height="10"/>
    </afh:rowLayout>
    <afh:rowLayout width="100%">
    <afh:cellFormat width="5%"/>
    <afh:cellFormat width="15%">
    <af:outputText value="#{gadmin.edDt}"
    styleClass="outputText" id="outputText3"
    binding="#{EditManualProfileAttributes.outputText3}"/>
    </afh:cellFormat>
    <afh:cellFormat width="80%">
    <af:selectInputDate id="endDate"
    binding="#{EditManualProfileAttributes.endDate}"
    partialTriggers="navList1 commandButton1 commandButton2">
    <af:convertDateTime pattern="dd/MMM/yy"/>
    </af:selectInputDate>
    </afh:cellFormat>
    </afh:rowLayout>
    <afh:rowLayout width="100%">
    <af:objectSpacer width="10" height="10"/>
    </afh:rowLayout>
    <afh:rowLayout width="100%">
    <afh:cellFormat width="20%"/>
    <afh:cellFormat width="7%">
    <af:commandButton text="#{gadmin.save}"
    action="#{EditManualProfileAttributes.save}"
    id="commandButton1"
    binding="#{EditManualProfileAttributes.commandButton1}"/>
    </afh:cellFormat>
    <afh:cellFormat width="7%">
    <af:commandButton text="#{gadmin.reset}"
    action="#{EditManualProfileAttributes.reset}"
    id="commandButton2"
    binding="#{EditManualProfileAttributes.commandButton2}"/>
    </afh:cellFormat>
    <afh:cellFormat width="7%">
    <af:commandButton text="#{gadmin.cancel}"
    id="commandButton3"
    binding="#{EditManualProfileAttributes.commandButton3}"
    action="adminHome"
    onclick="return cancel()"/>
    </afh:cellFormat>
    <afh:cellFormat width="59%"/>
    </afh:rowLayout>
    </af:panelForm>
    <af:panelForm id="panelForm2" rendered="false" width="100%"
    binding="#{EditManualProfileAttributes.panelForm2}">
    <afh:rowLayout width="100%">
    <afh:cellFormat width="15%">
    <af:outputLabel value="#{holdc.mpaAttr}" id="abc"
    inlineStyle="font-family:Arial; font-size:9.0pt; font-weight:bold;"/>
    </afh:cellFormat>
    <afh:cellFormat width="85%">
    <f:verbatim>
    <hr align="left"
    style="border-width:2.0px; color:rgb(219,238,243);"/>
    </f:verbatim>
    </afh:cellFormat>
    </afh:rowLayout>
    <afh:rowLayout width="100%">
    <af:objectSpacer width="10" height="20"/>
    </afh:rowLayout>
    <afh:rowLayout width="100%">
    <afh:cellFormat width="15%">
    <af:outputLabel value="#{holdc.refeName}"
    styleClass="outputText"/>
    <af:outputLabel value=" * "
    inlineStyle="font-size:10.0pt; font-family:Arial; color:rgb(255,0,0);"/>
    </afh:cellFormat>
    <afh:cellFormat width="85%">
    <af:selectOneChoice id="navList4" autoSubmit="true"
    unselectedLabel="Select"
    valuePassThru="true"
    binding="#{EditManualProfileAttributes.navList4}"
    valueChangeListener="#{EditManualProfileAttributes.getVersions}">
    <af:forEach var="li"
    items="#{bindings.AuditRefNamesVO1.rangeSet}">
    <af:selectItem label="#{li.ReferenceName}"
    value="#{li.Id}"/>
    </af:forEach>
    </af:selectOneChoice>
    </afh:cellFormat>
    </afh:rowLayout>
    </af:panelForm>
    </afh:tableLayout>
    </h:form>
    </afh:body>
    </afh:html>
    </f:view>
    </jsp:root>

    Hi Puthanampatti,
    Thanks a lot for your reply, but i am using JDev 10.1.3.3. There is no panelFormLayout component and i am not using that component.
    Even i am strange this duplicating of components and values in selectoneChoice occuring from past 2 days in the old file. I am wondering whether my file got corrupted by any sort.
    Regards,
    R N V Prasad

  • How to pass a value from jspx page to the managed bean

    hi,
    i have created a jspx page and manages bean with page flow scope..
    in my jspx page i am searching a employee record from the data base . and getting entire employee details including 'status' as a search result.
    here i want to pass the value of 'status ' field to the managed bean variable called 'stval'.
    can anybody suggest any solution?.......

    As per the details provided in the post above, when the user clicks on the search in the af:query, the results are populated in the table. And you are interested in getting the value of particular column. This could be done by having the custom row selection listener to get the value of the current row (selected row in the table).
    1) Have a custom selection listener:
    <af:table value="#{bindings.EmpDeptVO.collectionModel}" var="row"
    rows="#{bindings.EmpDeptVO.rangeSize}"
    emptyText="#{bindings.EmpDeptVO.viewable ? 'No data to display.' : 'Access Denied.'}"
    fetchSize="#{bindings.EmpDeptVO.rangeSize}"
    rowBandingInterval="0"
    rowSelection="single" id="t1"
    partialTriggers=":::qryId1 ::ctb1 ::commandToolbarButton1"
    columnStretching="column:c1"
    styleClass="AFStretchWidth" columnSelection="multiple"
    first="0" contentDelivery="immediate" autoHeightRows="10"
    binding="#{pageFlowScope.ExampleBean.searchResultsTable}"
    *selectionListener="#{pageFlowScope.ExampleBean.rowSelected}">*
    2) In the method, set the current row programmatically:
    ADFUtil.invokeEL("#{bindings.EmpDeptVO.collectionModel.makeCurrent}",
    new Class[] { SelectionEvent.class },
    new Object[] { selectionEvent });
    3) Get the current row and get the required attribute values and set it in any of the variables in the managed bean:
    Row selectedRow =
    (Row)ADFUtil.evaluateEL("#{bindings.EmpDeptVOIterator.currentRow}");
    String status = selectedRow.getAttribute("Status");
    Thanks,
    Navaneeth

  • Embedding PDF files into jspx pages

    Hi,
    I'm trying to include a PDF into JSPX. I've got a servlet that produces the PDF. I use the following code:
    <f:verbatim>
    <iframe src="myservlet"
    width="100%"
    height="100%"
    scrolling="auto">
    </iframe>
    </f:verbatim>
    However, although I can see PDF content inside JSPX page, commandButtons doesn't work any longer. They seem to be dead.
    So, my question is: which is the "suitable" way to include PDF content into a JSPX page.
    Thanks in advance.
    Luis Serrano.

    Hi,
    actually this is the same experience I gathered when trying it this way. My assumption is that the PDF plugin causes the conflict. However, best integration I can imagineis to se a popup dialog and show the PDF file in there
    Frank

  • Does the jspx page design depend on sm other thing  inaddition to its souce

    Hi,
    In a jspx page of an application there are some parent tabs.There is no pagedef file for that page. I created another page and copied whole of the source code of the other page. Those tabs are not present in this new page. What could be the reason? What should I do to bring the tabs?

    Well, you see, it makes it so much harder for someone on this forum (who doesn't have access to these special bits) to try it out and see what you see.
    In general, copying and pasting the source, together with any required page definition should work... having said that, we non-Oracle employees cannot comment on things such as those internal tag libraries. When you say the "global tabs," what component on your page generates those tabs?
    About the only thing I can guess at this point is that you need to include the new page in your menu model in order for it to render correctly.
    Best,
    John

  • ADF Regular expression Jspx page error

    Hi Friends
    Hi all i have requirement that my inputtext box may include charchters numbers and '&' as a special charchters
    so i written the below regular expression in validateRegExp tag
    <af:validateRegExp pattern="[a-zA-Z0-9&]" messageDetailNoMatch="Inproper text"/>
    but when i enter '&' char in the regex of the tag of my jspx page then it gives me compilier error, so is there any way to write the escape charachters in regular expression like '\ ' in java to avoid above problem.
    Thanks in advance
    Bipin patil
    Edited by: Bipin Patil on Aug 2, 2011 1:39 AM

    Hi..
    can you try with following
    for Ex: aA1& pattern
    ><af:inputText id="it1">
    ><af:validateRegExp pattern="[a-z][A-Z][0-9][&]" messageDetailNoMatch="Inproper text"/>
    ></af:inputText>
    for Ex: awerrAFDFDF12343&&& pattern(Every item should shown at least one time..)
    ><af:inputText id="it11">
    ><af:validateRegExp pattern="[a-z]+[A-Z]+[0-9]+[&]+" messageDetailNoMatch="Inproper text"/>
    ></af:inputText>
    Hope this will helpful..

  • Splitting jspx pages

    Hi,
    I am using jdeveloper 10.1.3 and since my jspx page is too big i have to split it . I have created to jspx page with their page definitions file . And in the include page i call the included page this way:
    <jsp:include page="/application/detail.jsp"/>
    . When i run the include page i get this error :
    javax.servlet.jsp.JspException
         at com.sun.faces.taglib.jsf_core.ViewTag.doStartTag(ViewTag.java:137)
         at application.detail._jspService(_detail.java:47)
         at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.1.1) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:598)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:522)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:712)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher.unprivileged_include(ServletRequestDispatcher.java:159)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher.access$000(ServletRequestDispatcher.java:50)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher$1.oc4jRun(ServletRequestDispatcher.java:96)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:101)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.EvermindPageContext.include(EvermindPageContext.java:396)
         at mdssys.viewcontroller._public__html._application._site__information_jspx._jspService(_site__information_jspx.java:198)
         [SRC:/mdssys/ViewController/public_html/application/site_information.jspx:4]
         at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.1.1) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:598)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:522)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.mds.jsp.MDSJSPFilter.doFilter(Unknown Source)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
         at view.security.DynamicJDBCBindingFilter.doFilter(DynamicJDBCBindingFilter.java:103)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:620)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:286)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:50)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:192)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:197)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:346)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:152)
         at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
         at view.security.DynamicJDBCBindingFilter.doFilter(DynamicJDBCBindingFilter.java:103)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:620)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Does anyone have any idea why this error is happening ?
    Thanks in advance ,

    Hi,
    try surrounding the jsp:include with a f:subview tag
    Frank

  • Deployment exception while running a .jspx page in Jdev 11g 11.1.1.1.0

    I have a .jspx page that renders taskflows as dynamic regions. When I execute this exception is what I get.
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Table)
    <Aug 13, 2009 11:39:47 AM IST> <Warning> <HTTP> <BEA-101162> <User defined listener com.sun.faces.config.ConfigureListener failed: java.lang.IllegalAccessError: tried to access method oracle.adf.controller.v2.lifecycle.Lifecycle$Phase.<init>(Ljava/lang/String;)V from class oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase.
    java.lang.IllegalAccessError: tried to access method oracle.adf.controller.v2.lifecycle.Lifecycle$Phase.<init>(Ljava/lang/String;)V from class oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase
         at oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase.<init>(JSFLifecycle.java:22)
         at oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle.<clinit>(JSFLifecycle.java:40)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.<init>(ADFPhaseListener.java:241)
         at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.<init>(ADFLifecyclePhaseListener.java:26)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         Truncated. see log file for complete stacktrace
    >
    <Aug 13, 2009 11:39:47 AM IST> <Warning> <HTTP> <BEA-101162> <User defined listener oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack failed: java.lang.NullPointerException.
    java.lang.NullPointerException
         at oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack.contextDestroyed(ADFConfigLifeCycleCallBack.java:122)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:482)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.EventsManager.notifyContextDestroyedEvent(EventsManager.java:200)
         Truncated. see log file for complete stacktrace
    >
    Aug 13, 2009 11:39:47 AM oracle.mds.internal.lcm.logging.MDSLCMLogger log
    INFO: MBean: oracle.mds.lcm:name=MDSAppRuntime,type=MDSAppRuntime,Application=UI deregistered
    Aug 13, 2009 11:39:47 AM oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener postStop
    INFO: ADFApplicationLifecycleListener.postStop
    Aug 13, 2009 11:39:47 AM oracle.adf.share.config.ADFConfigFactory cleanUpApplicationState
    INFO: Cleaning up application state
    <Aug 13, 2009 11:39:47 AM IST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1250143764562' for task '2'. Error is: 'weblogic.application.ModuleException: '
    weblogic.application.ModuleException:
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1376)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:452)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
         Truncated. see log file for complete stacktrace
    java.lang.IllegalAccessError: tried to access method oracle.adf.controller.v2.lifecycle.Lifecycle$Phase.<init>(Ljava/lang/String;)V from class oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase
         at oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase.<init>(JSFLifecycle.java:22)
         at oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle.<clinit>(JSFLifecycle.java:40)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.<init>(ADFPhaseListener.java:241)
         at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.<init>(ADFLifecyclePhaseListener.java:26)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         Truncated. see log file for complete stacktrace
    >
    <Aug 13, 2009 11:39:47 AM IST> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'UI'.>
    <Aug 13, 2009 11:39:47 AM IST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'UI'.>
    <Aug 13, 2009 11:39:47 AM IST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException:
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1376)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:452)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
         Truncated. see log file for complete stacktrace
    java.lang.IllegalAccessError: tried to access method oracle.adf.controller.v2.lifecycle.Lifecycle$Phase.<init>(Ljava/lang/String;)V from class oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase
         at oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase.<init>(JSFLifecycle.java:22)
         at oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle.<clinit>(JSFLifecycle.java:40)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.<init>(ADFPhaseListener.java:241)
         at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.<init>(ADFLifecyclePhaseListener.java:26)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         Truncated. see log file for complete stacktrace
    >
    [11:39:47 AM] Weblogic Server Exception: weblogic.application.ModuleException:
    [11:39:47 AM] Caused by: java.lang.IllegalAccessError: tried to access method oracle.adf.controller.v2.lifecycle.Lifecycle$Phase.<init>(Ljava/lang/String;)V from class oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase
    [11:39:47 AM] See server logs or server console for more details.
    oracle.jdeveloper.deploy.DeployException: oracle.jdeveloper.deploy.DeployException: oracle.jdeveloper.deploy.DeployException: Deployment Failed
    oracle.jdeveloper.deploy.DeployException: oracle.jdeveloper.deploy.DeployException: oracle.jdeveloper.deploy.DeployException: Deployment Failed[11:39:47 AM] #### Deployment incomplete. ####
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:341)
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.deployImpl(Jsr88RemoteDeployer.java:235)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:442)
         at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:209)
         at oracle.jdevimpl.runner.adrs.AdrsStarter$6$1.run(AdrsStarter.java:1469)
    Caused by: oracle.jdeveloper.deploy.DeployException: oracle.jdeveloper.deploy.DeployException: Deployment Failed
         at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.redeployApplications(Jsr88DeploymentHelper.java:627)
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:315)
         ... 11 more
    Caused by: oracle.jdeveloper.deploy.DeployException: Deployment Failed
         at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.redeployApplications(Jsr88DeploymentHelper.java:608)
         ... 12 more
    #### Cannot run application UI due to error deploying to DefaultServer.
    [Application UI stopped and undeployed from Server Instance DefaultServer]

    I was facing a similar error, the problem was because of adf-controller.jar. My error was :
    java.lang.IllegalAccessError: tried to access method oracle.adf.controller.v2.lifecycle.Lifecycle$Phase.<init>(Ljava/lang/String;)V from class oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase
    The jar's 10g edition has  (1st part)oracle.adf.controller.v2.lifecycle.Lifecycle$Phase and 11g edition has (2nd part) oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase. So I created my own jar extracting both jars at one place using the following command
    jar -cf adf-controller.jar .
    This solved my problem.
    Hope you get the idea. The best way to face these type of errors is opening the archive and checking for the files for which the compiler is complaining.

Maybe you are looking for

  • Can't download iphoto from icloud

    can't download iphoto from icloud

  • Disc drive

    i'm on a macbook g4 15" with 10.4.11 i've been having a problem with my disc drive for awhile. I accepted a while ago that it was probably just physically broken, but I noticed recently that when I insert any sort of disc, whether it be a pristine DV

  • QUESTION MARKS IN BOXES ON EBAY

    Starting yesterday I began to see a whole new ebay webpage with question marks in boxes where the usual click buttons are. I also have trouble seeing photos and all the pages seem a lot "rougher" (not as slick as they used to be). Did I do something

  • Anyone try 8.5.6-074 on an IronPort C160 (is it possible, does it run ok?)

    We have the C160 (also have an S160 but I will just discuss the C160 in this thread).  Since its no longer sold, I was wondering if it still has the power to run the new 8.5.6-074 that went GA.  I do not see it as an available upgrade, however I am o

  • Issues using two-pass with dynamic time series?

    Is there any issues with using Dynamic time series [Q-T-D(May)] on a dynamic calc account which is defined as two-pass and has time balance property associated with it. The account is defined as "Dynamic Calc"+"Two-pass"+"TB First" and it works fine,