JBO-35007 in Portletized ADF Faces Page and alternative scenarios

Hi all,
I've started a new thread to address one of the problems referred to here Issues with Faces -> Portlet Bridge and ADF Faces
In short, the issue arises when portletizing an existing ADF Faces page that uses an ADF BC bound af:Table on the page. I've got a very simple ADF Faces page that has an af:Table on it bound to the employees table in the Oracle HR schema. The af:Table allows sorting and has an af:selectTableOne in it's selection facet which contains an af:commandButton. The app works fine when run as a JSF page.
However, when I use the JSF-Portlet bridge to publish the page as a portlet (following all of the steps in the Web Center Developer's guide, including changing the state_saving_method to "server"), and placing the portlet on a ADF Faces page in a different project, I can consistently create JBO-35007 errors by:
* Sorting the data in the portlet by clicking the column header
* Selecting a different row and pressing the af:commandButton
Clearly, the current row of the iterator is not being saved properly. I can (of course) "fix" this behavior by setting EnableTokenValidation to "false" in the page definition of the ADF Faces page that has been portletized, but this has obvious side effects.
Should this behavior work as I am trying to implement it? Perhaps it doesn't make sense to "select" an item in a portlet like this (what am I going to do, as the parent application doesn't have access to the selected row information).
I can, however, think of a good use case:
User is using a web-store type application to browse items and add them to his shopping cart. Off to the side, we've got a portlet that shows recently purchased items for the user. User clicks item in that portlet (or selects and hits submit - as in my non-working example, above) and then the main web store application navigates to that item in the "main" section. How could I implement something like this? Any navigation case in the portlet is not exposed to the main application. Perhaps there is a different model by which to do this.... I cannot use a PDK event-type approach (this limits my use of Faces to create portlets), so I'm in a bind.
Thoughts and discussion much appreciated,
John

Peter,
This should be so simple to re-create; here's my project: http://download.yousendit.com/F017E4D457FFA7F3
It uses the HR sample schema from a stock 10gr2 database. Be sure to set up the ADF BC connection in the model project, build and deploy the portlets, then try running TestPage.jspx in the UserInterface project. You can play around with the pagedef in the Portlet project to see the JBO-35007 error - right now, EnableTokenValidation is set to false - you can change it to true to see the error.
John

Similar Messages

  • Adf faces table and applet in jsf page navSubmit not working in IE

    Hi
    I have a jsf page with adf faces table and applet , previous / next navigation is not working for my table when i add the applet to the same page , it is working in firefox but not in IE .
    I have no clue what to change , can any one help. below is the sample code for my jsf page
    Best regards
    Srinivas
    Code follows, not sure how to format the code here
    <h:form>
    <af:panelPage title="Test Adf faces table and applet">
    <af:panelHeader text="Orders">
    <af:table value="#{bindings.Orders.collectionModel}" var="row"
    rows="#{bindings.Orders.rangeSize}"
    first="#{bindings.Orders.rangeStart}"
    emptyText="#{bindings.Orders.viewable ? 'No rows yet.' : 'Access Denied.'}"
    id="orders" >
    <af:column sortProperty="order"
    headerText="#{bindings.Orders.labels.order}">
    <af:commandLink text="#{row.order}"
    id="orderNumber"
    onclick="showOrder(#{row.order})"
    disabled="false"/>
    </af:column>
                   </af:table>
    </af:panelHeader>
    <af:objectSpacer width="10" height="10"/>
    <af:panelBox>
    <f:verbatim>
    <div id="appletDiv">
                        <applet here />
                        </div>
    </f:verbatim>
    </af:panelBox>
    </af:panelHorizontal>
    </af:panelPage>
    </h:form>

    Sorry about the format, it looked okay when i previewed it , now it looks like terrible

  • Passing parameters between portletized ADF Faces applications, possible?

    Hello,
    In the developer guide, section 4.5.3 (http://download-east.oracle.com/docs/cd/B32110_01/webcenter.1013/b31074/jpsdg_pages.htm#CHDGGCGE) it says that you can synchronize portlets using an ADF Faces component value. However, that example do not use a value coming from a real portlet, the parameter come from a selectOneChoice define in the container page.
    Is there a way to achieve the same thing but with the selectOneChoice being placed in the WSRP 2.0 portlet? Basically the communication scheme is WSRP 2.0 to WSRP 2.0 which is something possible using URL parameters. However, the problem with JSF components is that they pass their values through a JavaScript launched POST submit so the values are never added to the URL and even worst, you cannot be sure of the generated parameter name as it depends on the context in which the component exists (mainly the presence of a parent NamingContainer) and the only way to know that parameter name for sure is to have a way to call component.getClientId(facesContext) which is impossible for the portlet container and therefore for the other portlets.
    To put it shortly, is there a way to send a navigation parameter from a portletized ADF Faces application to its container page beside using goButton and goLink (we need to keep the action/actionListener functionality)?
    Regards,
    Simon Lessard

    Can someone explain how to assign a value to a parameter in JSF like in the ParameterFormPortlet source code? Something in replacement of this :
        if (viewMode)
          // Set the new parameter values. These will be intepreted by the
          // container as navigational parameters as the names match the names of
          // the declared parameters.
          actionResponse.setRenderParameter(PARAMETER1, param1);
          actionResponse.setRenderParameter(PARAMETER2, param2);
          actionResponse.setRenderParameter(PARAMETER3, param3);
        }I mean, how to replace setRenderParameter to achieve the same thing inside a JSF binding bean for example. Is it possible via the PortletContext?
    Thanks in advance for any hint.
    Jean-Philippe

  • How i can open a adf faces page in new window / tab

    I want to open an adf faces page in new browser window/tab. How i can do it?

    Try an af:goLink and set its targetFrame to "_blank".
    Timo

  • ADF Faces: PPR and Dialog framework

    Hi All,
    I know that there have been some navigation-related issues reported with 10.1.3 and the dialog framework, so if this is a bug.....
    Anyway, I have an ADF Faces page that displays some data (from ADF View Object) in an af:Table. I have an "Edit Record" button and a "Create Record" button in the appropriate facets of the table. The 2 buttons use a dialog: navigation case (useWindow=true) to open a pop-up window with a record displayed for editing. Each of the buttons also has partialSubmit=true with an appropriate ID set on the button.
    Now, I am trying to get the table to refresh upon return from the dialog. After much experimentation, I have found that setting the partialTriggers property on the af:OutputText components that are inside the af:Table->af:Column will cause an existing row to refresh upon return from the edit button. However, I cannot get a new row to show up inside of the table upon return from the create button. I have tried setting partial triggers on the af:OutputText, af:Column, af:Table, etc all the way up to the top-level af:Page to no avail. I have also tried refreshing the iterator binding in the dialog return, to no avail. If I completely refresh the page (see sample code below), the record does show up, but it does cause other undesirable side effects (screen scrolls to the top, af:showDetailHeader's re-set their state, etc).
    Any pointers are appreciated...
    Here is the code behind my create button:
      public String performCreateCheck()
        DCBindingContainer bindings = getBindings();
        OperationBinding operationBinding = bindings.getOperationBinding("CreateNewCheck");
        Object result = operationBinding.execute();
        // Stuff snipped - the CreateNewCheck binding does a "CreateInsert" on my VO
        return "dialog:EditCheck";
      }Here is the code that refreshes the page (causes the new row to appear):
      protected void refreshCurrentPage()
        FacesContext context = FacesContext.getCurrentInstance();
        String currentView = context.getViewRoot().getViewId();
        ViewHandler vh = context.getApplication().getViewHandler();
        UIViewRoot x = vh.createView(context, currentView);
        x.setViewId(currentView);
        context.setViewRoot(x);
      }Kind regards,
    John

    Found this: http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html#81
    on Steve M's blog. His example uses exactly the same method that I do. However, It would be nice to get this working "properly" with PPR instead of refreshing the whole page. Here are what I see as the drawbacks to the "refresh the whole page" method:
    1). The page will scroll up to the top. If the page is bigger than a screenful, this is an annoyance.
    2). Any af:showDetailHeader's will have their disclosed property reset (unless you implement some method of saving their state). This is an issue for me, as the af:Table is inside of a normally un-disclosed af:showDetailHeader
    3). If any component anywhere puts something into the faces messages (e.g. "Record saved"), it will be lost when the page is refreshed.
    Any ideas on how to get this working with PPR?
    Regards,
    John

  • Problem in implements ADF Faces: Detecting and handling user session expiry

    Hello everybody
    I´m trying to implement a method to handle user session expiry as explained by frank nimphius in his blog.
    http://thepeninsulasedge.com/frank_nimphius/2007/08/22/adf-faces-detecting-and-handling-user-session-expiry/
    I have implemented the class bellow and add the filters in web.xml. However when I add the JavaServer Faces Servlet to sign the filter, my hole application get nuts. I try to publish the applicatoin in the OAS and it seems that it already starts expired.
    Someone konw what I´m doing wrong?
    I use the filter
    <filter>
    <filter-name>ApplicationSessionExpiryFilter</filter-name>
    <filter-class>adf.sample.ApplicationSessionExpiryFilter</filter-class>
    <init-param>
    <param-name>SessionTimeoutRedirect</param-name>
    <param-value>SessionExpired.jspx</param-value>
    </init-param>
    </filter>
    then I add
    XML:
    <filter-mapping>
    <filter-name>ApplicationSessionExpiryFilter</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
    </filter-mapping>
    package adf.sample;
    import java.io.IOException;
    import javax.servlet.Filter;
    import javax.servlet.FilterChain;
    import javax.servlet.FilterConfig;
    import javax.servlet.ServletException;
    import javax.servlet.ServletRequest;
    import javax.servlet.ServletResponse;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    this is the class
    public class ApplicationSessionExpiryFilter implements Filter {
    private FilterConfig _filterConfig = null;
    public void init(FilterConfig filterConfig) throws ServletException {
    _filterConfig = filterConfig;
    public void destroy() {
    _filterConfig = null;
    public void doFilter(ServletRequest request, ServletResponse response,
    FilterChain chain) throws IOException, ServletException {
    String requestedSession = ((HttpServletRequest)request).getRequestedSessionId();
    String currentWebSession = ((HttpServletRequest)request).getSession().getId();
    boolean sessionOk = currentWebSession.equalsIgnoreCase(requestedSession);
    // if the requested session is null then this is the first application
    // request and "false" is acceptable
    if (!sessionOk && requestedSession != null){
    // the session has expired or renewed. Redirect request
    ((HttpServletResponse) response).sendRedirect(_filterConfig.getInitParameter("SessionTimeoutRedirect"));
    else{
    chain.doFilter(request, response);
    I'm really having trouble controlling user sessions. if someone know where I can get materials to learn how to implements session in Jdev ADF + BC, I´m very grateful.
    Thank you Marnie

    The class works fine.. the issue is when I add the this code into web.xml
    <filter-mapping>
    <filter-name>ApplicationSessionExpiryFilter</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
    </filter-mapping>
    bellow the web.xml
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <web-app>
    <description>Empty web.xml file for Web Application</description>
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>client</param-value>
    </context-param>
    <context-param>
    <param-name>CpxFileName</param-name>
    <param-value>userinterface.DataBindings</param-value>
    </context-param>
    <filter>
    <filter-name>ApplicationSessionExpiryFilter</filter-name>
    <filter-class>view.managedBean.ApplicationSessionExpiryFilter</filter-class>
    </filter>
    <filter>
    <filter-name>adfFaces</filter-name>
    <filter-class>oracle.adf.view.faces.webapp.AdfFacesFilter</filter-class>
    </filter>
    <filter>
    <filter-name>adfBindings</filter-name>
    <filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>ApplicationSessionExpiryFilter</filter-name> ==> the problem occurs when I try to add this code
    <servlet-name>Faces Servlet</servlet-name>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfFaces</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>REQUEST</dispatcher>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <url-pattern>*.jsp</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <url-pattern>*.jspx</url-pattern>
    </filter-mapping>
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>resources</servlet-name>
    <servlet-class>oracle.adf.view.faces.webapp.ResourceServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>resources</servlet-name>
    <url-pattern>/adf/*</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>1</session-timeout>
    </session-config>
    <mime-mapping>
    <extension>html</extension>
    <mime-type>text/html</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>txt</extension>
    <mime-type>text/pain</mime-type>
    </mime-mapping>
    </web-app>
    By the way, how can I post code on the forum properly?

  • ADF Faces Components and HTML/JSP Pages

    We would like to create HTML/JSP pages and include some of the ADF Faces Components; ie: date picker, radio buttons, etc.
    When we develop this type of page, upon running in the embedded OC4J, the HTML is processed first and then the ADF Faces Components are processed. In the design panel/editor, everything is in the correct sequence. Upon running in the OC4J, it doesn't matter where in the code we place the ADF Faces Components, these ADF Faces Components always appear at the end of the other HTML and JSF Faces components in the displayed page.
    How can we mix the two technologies? ADF Faces alone is not flexible enough for our needs. We want to use the JSP:include tag for reusable code which works fine in a HTML/JSP page, but not in a ADF Faces PanelPage or PanelBorder or anything similar.
    We're running the EA17 version of the tag library.
    Can we mix the technologies? What are we missing? Is this an issue with the embedded OC4J? Will it make a difference if we develop JSP pages as pure JSP or the JSPX option?
    Thank you.
    Message was edited by:
    [email protected]

    The following tag lib allowed me to mix HTML and JSF tags (not sure about other JSP tags though). Hope this helps:
    http://jsftutorials.net/htmLib/
    Chris

  • Portletizing ADF Faces - Portlet Unavailable - Is there a Working Sample?

    Hi,
    It seems I have run into a similar issue as some people before me. I have watched all samples, read all relevant forum threads and yet I cannot solve my problem.
    I have created a very simple ADF Faces applications that uses DataBinding - it displays records from a database table in an af:table component based on ADF BC. I have created the page, added the Portlet Faces Bridge library to the project, created the portlet.xml, copied and pasted and configured the Portlet.xml contents for my Portlet. Deployment is to a local yet standalone WebCenter containing OC4J instance. Note: deploying to the preconfigured OC4J also did not work.
    When I register the Portletproducer, consume the portlet in an otherwise empty JSF page and run that page, I get the Portlet Unavailable message in the page. The error log is shown below.
    I am wondering where to go from here, what can I try to analyze? And also: is there a working sample available for download of an ADF Faces based portlet that can successfully be consumed by an application?
    portlet.xml:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <portlet-app version="1.0" xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd">
    <portlet>
         <description>Publisher List Portlet</description>
         <portlet-name>Publist</portlet-name>
         <display-name>Publisher List Portlet</display-name>
         <portlet-class>oracle.portlet.server.bridges.jsf.FacesPortlet
         </portlet-class>
         <init-param>
          <name>DefaultPage.view</name>
          <value>/PublisherList.jspx</value>
         </init-param>
         <init-param>
          <name>BridgeLifecycleListeners</name>
          <value>
           oracle.portlet.server.bridges.jsf.adf.ADFFacesBridgeLifecycleListener,
           oracle.portlet.server.bridges.jsf.adf.BindingFacesBridgeLifecycleListener
          </value>
         </init-param>
        <supports>
         <mime-type>text/html</mime-type>
         <portlet-mode>VIEW</portlet-mode>
         </supports>
         <supported-locale>en</supported-locale>
         <portlet-info>
          <title>Publisher List Portlet</title>
          <short-title>PubList</short-title>
         </portlet-info>
       </portlet>
    </portlet-app>Error log:
    INFO: Using the ProviderURI /mdssys/ViewController/public_html/untitled1.jspx that is returned from custom provider for processing requests.
    07/03/29 13:31:14 java.net.SocketTimeoutException: Read timed out
    07/03/29 13:31:14      at java.net.SocketInputStream.socketRead0(Native Method)
    07/03/29 13:31:14      at java.net.SocketInputStream.read(SocketInputStream.java:129)
    07/03/29 13:31:14      at HTTPClient.BufferedInputStream.fillBuff(BufferedInputStream.java:192)
    07/03/29 13:31:14      at HTTPClient.BufferedInputStream.read(BufferedInputStream.java:112)
    07/03/29 13:31:14      at HTTPClient.StreamDemultiplexor.read(StreamDemultiplexor.java:322)
    07/03/29 13:31:14      at HTTPClient.RespInputStream.read(RespInputStream.java:170)
    07/03/29 13:31:14      at HTTPClient.RespInputStream.read(RespInputStream.java:129)
    Mar 29, 2007 1:31:14 PM oracle.portlet.client.utils.PortletLogger warning
    WARNING: Timing out task: [email protected]
    07/03/29 13:31:14      at HTTPClient.Response.readResponseHeaders(Response.java:1002)
    07/03/29 13:31:14      at HTTPClient.Response.getHeaders(Response.java:718)
    07/03/29 13:31:14      at HTTPClient.Response.getStatusCode(Response.java:268)
    07/03/29 13:31:14      at HTTPClient.RetryModule.responsePhase1Handler(RetryModule.java:92)
    07/03/29 13:31:14      at HTTPClient.HTTPResponse.handleResponse(HTTPResponse.java:771)
    07/03/29 13:31:14      at HTTPClient.HTTPResponse.getStatusCode(HTTPResponse.java:204)
    07/03/29 13:31:14      at oracle.portlet.client.connection.wsrp.HTTPClientTransport.invoke(HTTPClientTransport.java:178)
    07/03/29 13:31:14      at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:175)
    07/03/29 13:31:14      at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:112)
    07/03/29 13:31:14      at oracle.portlet.wsrp.v2.soap.runtime.WSRP_v2_Markup_Binding_SOAP_Stub.getMarkup(WSRP_v2_Markup_Binding_SOAP_Stub.java:238)
    07/03/29 13:31:14      at oracle.portlet.wsrp.v2.WSRP_v2_Markup_PortTypeJaxbToSoap.getMarkup(WSRP_v2_Markup_PortTypeJaxbToSoap.java:80)
    07/03/29 13:31:14      at oracle.portlet.wsrp.v2.ServerToWSRPv2.getMarkup(ServerToWSRPv2.java:13461)
    07/03/29 13:31:14      at oracle.portlet.client.connection.wsrp.ActivityServerWrapper.getMarkup(ActivityServerWrapper.java:1330)
    07/03/29 13:31:14      at oracle.portlet.client.techimpl.wsrp.WSRPGetMarkupPipe.execute(WSRPGetMarkupPipe.java:116)
    07/03/29 13:31:14      at oracle.portlet.client.techimpl.wsrp.WSRPGetMarkupPipe.pre(WSRPGetMarkupPipe.java:52)
    07/03/29 13:31:14      at oracle.portlet.client.service.pipeline.PipeContext.internalExecute2(PipeContext.java:516)
    07/03/29 13:31:14      at oracle.portlet.client.service.pipeline.PipeContext.internalExecute(PipeContext.java:403)
    07/03/29 13:31:14      at oracle.portlet.client.service.pipeline.PipeContextRunnable.run(PipeContextRunnable.java:24)
    07/03/29 13:31:14      at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:431)
    07/03/29 13:31:14      at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
    07/03/29 13:31:14      at oracle.portlet.client.service.pipeline.ModifiedThreadPoolExecutor$Worker.runTask(ModifiedThreadPoolExecutor.java:398)
    07/03/29 13:31:14      at oracle.portlet.client.service.pipeline.ModifiedThreadPoolExecutor$Worker.run(ModifiedThreadPoolExecutor.java:423)
    07/03/29 13:31:14      at java.lang.Thread.run(Thread.java:595)
    Mar 29, 2007 1:31:14 PM oracle.adfinternal.view.faces.renderkit.html.portlet.PortletRenderer preRender
    SEVERE: oracle.adf.model.portlet.binding.PortletBindingException: Unable to get portlet response (time-out) for portlet binding PublisherListPortlet1_1.
         at oracle.adf.model.portlet.binding.PortletBinding.getPortletRendition(PortletBinding.java:471)
         at oracle.adfinternal.view.faces.renderkit.html.portlet.PortletRenderer.preRender(PortletRenderer.java:417)
         at oracle.adfinternal.view.faces.renderkit.html.customizable.ShowDetailFrameRenderer.encodeBegin(ShowDetailFrameRenderer.java:227)
         at oracle.adf.view.faces.component.UIXComponentBase.encodeBegin(UIXComponentBase.java:593)
         at oracle.adfinternal.view.faces.renderkit.RenderUtils.encodeRecursive(RenderUtils.java:39)
         at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeChild(CoreRenderer.java:242)
         at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeAllChildren(CoreRenderer.java:265)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.renderContent(PanelPartialRootRenderer.java:65)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.renderContent(BodyRenderer.java:117)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.encodeAll(PanelPartialRootRenderer.java:147)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.encodeAll(BodyRenderer.java:60)
         at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:169)
         at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
         at javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:645)
         at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:568)
         at oracle.adf.view.faces.webapp.UIXComponentTag.doEndTag(UIXComponentTag.java:100)
         at mdssys.viewcontroller._public__html._untitled1_jspx._jspService(_untitled1_jspx.java:102)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:724)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:414)
         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.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.mds.jsp.MDSJSPFilter.doFilter(Unknown Source)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:622)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:286)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:50)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:192)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
         at com.evermind.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.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.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:620)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind.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.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: oracle.portlet.client.container.PortletTimeoutException
         at oracle.portlet.client.service.pipeline.PipeContext.handleTimeout(PipeContext.java:1040)
         at oracle.portlet.client.service.pipeline.PipeContextRunnable.doTimeout(PipeContextRunnable.java:42)
         at oracle.portlet.client.service.pipeline.TimeoutMonitor$TaskTracker.stopTask(TimeoutMonitor.java:304)
         at oracle.portlet.client.service.pipeline.TimeoutMonitor$1.run(TimeoutMonitor.java:240)
         at java.util.TimerThread.mainLoop(Timer.java:512)
         at java.util.TimerThread.run(Timer.java:462)Thanks for any help!
    Lucas

    Hello
    I am trying to portlize an hello world ADF application but am unable to do so because of the situation describe below. I have tried all the options given on this post but nothing seems to resolve the issue.
    I have followed the instructions of portelizing at http://download-east.oracle.com/otndocs/tech/webcenter/files/owcs_10132_bridge_viewlet.html
    A simple portlets without AFD works fine in oc4h or webcenter or jboss, but when I include ADF in the project then none of the application server or the container works
    I am using jdeveloper 10.1.3.2.0 and the embedded webcenter oc4j for this test
    I have two projects
    1) ui where the ADF appplication is and
    2) test1 where the producer is registered and is tested
    In ui I have a simple jsp page untitled1.jsp with just one adf component (ADF Command Link)
    Here is the source of untitled1.jsp
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/portlet" prefix="adfp"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/customizable" prefix="cust"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/html" prefix="afh"%>
    <f:view>
    <afh:html binding="#{backing_untitled1.html1}" id="html1">
    <afh:head title="Pixel Home" binding="#{backing_untitled1.head1}"
    id="head1">
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    <style type="text/css">
    body {
    background-color: #ffffff;
    a:link { color: #2121ff; }
    </style>
    </afh:head>
    <afh:body binding="#{backing_untitled1.body1}" id="body1">
    <h:form binding="#{backing_untitled1.form1}" id="form1">
    <af:commandLink text="commandLink 1"
    binding="#{backing_untitled1.commandLink1}"
    id="commandLink1"/>
    </h:form>
    </afh:body>
    </afh:html>
    </f:view>
    After deploying this in webcenter I can see the WSDL page
    http://localhost:6688/AdfFacesDemo1/portlets/wsrp1?WSDL
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <wsdl:definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:bind="urn:oasis:names:tc:wsrp:v1:bind" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="urn:oasis:names:tc:wsrp:v1:wsdl">
    <import namespace="urn:oasis:names:tc:wsrp:v1:bind" location="wsrp_v1_bindings.wsdl"/>
    <wsdl:service name="WSRP_v1_Service">
    <wsdl:port binding="bind:WSRP_v1_Markup_Binding_SOAP" name="WSRPBaseService">
    <soap:address location="http://localhost:6688/AdfFacesDemo1/portlets/WSRPBaseService"/>
    </wsdl:port>
    <wsdl:port binding="bind:WSRP_v1_ServiceDescription_Binding_SOAP" name="WSRPServiceDescriptionService">
    <soap:address location="http://localhost:6688/AdfFacesDemo1/portlets/WSRPServiceDescriptionService"/>
    </wsdl:port>
    <wsdl:port binding="bind:WSRP_v1_Registration_Binding_SOAP" name="WSRPRegistrationService">
    <soap:address location="http://localhost:6688/AdfFacesDemo1/portlets/WSRPRegistrationService"/>
    </wsdl:port>
    <wsdl:port binding="bind:WSRP_v1_PortletManagement_Binding_SOAP" name="WSRPPortletManagementService">
    <soap:address location="http://localhost:6688/AdfFacesDemo1/portlets/WSRPPortletManagementService"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    In test1 project I have a simple jsp page test1.jsp and here is the source
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/portlet" prefix="adfp"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/customizable" prefix="cust"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/html" prefix="afh"%>
    <f:view>
    <afh:html binding="#{backing_test1.html1}" id="html1">
    <afh:head title="Pixel Home" binding="#{backing_test1.head1}" id="head1">
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    <style type="text/css">
    body {
    background-color: #ffffff;
    a:link { color: #2121ff; }
    </style>
    </afh:head>
    <afh:body binding="#{backing_test1.body1}" id="body1">
    <h:form binding="#{backing_test1.form1}" id="form1">
    <adfp:portlet value="#{bindings.ADFFacesDemoPortlet11_1}"
    portletType="/oracle/adf/portlet/AdfFacesDemoProducer_1186417722625/ap/E0default_3c036e4c_0114_1000_8003_83e15f750fa7"
    id="portlet1" binding="#{backing_test1.portlet1}"/>
    </h:form>
    </afh:body>
    </afh:html>
    </f:view>
    <%-- oracle-jdev-comment:auto-binding-backing-bean-name:backing_test1--%>
    I have already registered a producer called[b] ADFFacesDemoProducer in test1 project with 300 sec as timeout. Now when I run the test1.jsp page in oc4j container I get the following error. I have tried all the options in this forum and nothing worked.
    Target URL -- http://131.225.95.117:8988/PortletTest6-test1-context-root/faces/test1.jsp
    07/08/06 11:31:04 Oracle Containers for J2EE 10g (10.1.3.1.1) initialized
    Warning : Not able to reserve 2048M memory for the heap. Heap reduced to 890M
    Aug 6, 2007 11:31:17 AM oracle.adf.share.config.ADFConfigFactory findOrCreateADFConfig
    INFO: oracle.adf.share.config.ADFConfigFactory Reading META-INF/adf-config.xml
    07/08/06 11:31:18 PortletContainer portletTechnologies set to '{oracle.portlet.client.containerimpl.web.WebPortletTechnologyConfig,oracle.portlet.client.containerimpl.wsrp.WSRPPortletTechnologyConfig}' from adf-config.xml
    07/08/06 11:31:18 PortletContainer defaultTimeout set to '20' from adf-config.xml
    07/08/06 11:31:18 PortletContainer minimumTimeout set to '1' from adf-config.xml
    07/08/06 11:31:18 PortletContainer maximumTimeout set to '60' from adf-config.xml
    07/08/06 11:31:18 PortletContainer resourceProxyPath set to '/resourceproxy' from adf-config.xml
    Aug 6, 2007 11:31:20 AM oracle.adfinternal.view.faces.application.ViewHandlerImpl _checkTimestamp
    INFO: ADF Faces is running with time-stamp checking enabled. This should not be used in a production environment. See the oracle.adf.view.faces.CHECK_FILE_MODIFICATION property in WEB-INF/web.xml
    Aug 6, 2007 11:31:20 AM oracle.portlet.client.utils.PortletLogger info
    INFO: Portlet Client MBeans registered
    Aug 6, 2007 11:31:25 AM oracle.adfinternal.view.faces.renderkit.html.portlet.PortletRenderer preRender
    SEVERE: oracle.adf.model.portlet.binding.PortletBindingException: Unable to get portlet response (Internal Error) for portlet binding ADFFacesDemoPortlet11_1
         at oracle.adf.model.portlet.binding.PortletBinding.getPortletRendition(PortletBinding.java:514)
         at oracle.adfinternal.view.faces.renderkit.html.portlet.PortletRenderer.preRender(PortletRenderer.java:417)
         at oracle.adfinternal.view.faces.renderkit.html.customizable.ShowDetailFrameRenderer.encodeBegin(ShowDetailFrameRenderer.java:227)
         at oracle.adf.view.faces.component.UIXComponentBase.encodeBegin(UIXComponentBase.java:593)
         at oracle.adfinternal.view.faces.renderkit.RenderUtils.encodeRecursive(RenderUtils.java:39)
         at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeChild(CoreRenderer.java:242)
         at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeAllChildren(CoreRenderer.java:265)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.renderContent(PanelPartialRootRenderer.java:65)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.renderContent(BodyRenderer.java:117)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.encodeAll(PanelPartialRootRenderer.java:147)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.encodeAll(BodyRenderer.java:60)
         at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:169)
         at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
         at javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:645)
         at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:568)
         at oracle.adf.view.faces.webapp.UIXComponentTag.doEndTag(UIXComponentTag.java:100)
         at test1.jspService(_test1.java:122)
         at com.orionserver.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.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:712)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:286)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:50)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:192)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
         at com.evermind.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.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.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:620)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind.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.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: oracle.portlet.client.container.PortletRemoteException: oracle.portlet.server.container.OperationFailedException: oracle.portlet.wsrp.v1.OperationFailedException: oracle.portlet.wsrp.v1.soap.OperationFailed
         at oracle.portlet.client.techimpl.wsrp.WSRPBaseTerminalPipe.processException(WSRPBaseTerminalPipe.java:37)
         at oracle.portlet.client.techimpl.wsrp.WSRPGetMarkupPipe.execute(WSRPGetMarkupPipe.java:185)
         at oracle.portlet.client.techimpl.wsrp.WSRPGetMarkupPipe.pre(WSRPGetMarkupPipe.java:52)
         at oracle.portlet.client.service.pipeline.PipeContext.internalExecute2(PipeContext.java:516)
         at oracle.portlet.client.service.pipeline.PipeContext.internalExecute(PipeContext.java:403)
         at oracle.portlet.client.service.pipeline.PipeContextRunnable.run(PipeContextRunnable.java:24)
         at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:431)
         at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
         at oracle.portlet.client.service.pipeline.ModifiedThreadPoolExecutor$Worker.runTask(ModifiedThreadPoolExecutor.java:398)
         at oracle.portlet.client.service.pipeline.ModifiedThreadPoolExecutor$Worker.run(ModifiedThreadPoolExecutor.java:423)
         ... 1 more
    Caused by: oracle.portlet.server.container.OperationFailedException: oracle.portlet.wsrp.v1.OperationFailedException: oracle.portlet.wsrp.v1.soap.OperationFailed
         at oracle.portlet.wsrp.v1.ServerToWSRPv1.getMarkup(ServerToWSRPv1.java:1093)
         at oracle.portlet.client.connection.wsrp.ActivityServerWrapper.getMarkup(ActivityServerWrapper.java:1330)
         at oracle.portlet.client.techimpl.wsrp.WSRPGetMarkupPipe.execute(WSRPGetMarkupPipe.java:116)
         ... 9 more
    Caused by: oracle.portlet.wsrp.v1.OperationFailedException: oracle.portlet.wsrp.v1.soap.OperationFailed
         at oracle.portlet.wsrp.v1.WSRP_v1_Markup_PortTypeJaxbToSoap.getMarkup(WSRP_v1_Markup_PortTypeJaxbToSoap.java:101)
         at oracle.portlet.wsrp.v1.ServerToWSRPv1.getMarkup(ServerToWSRPv1.java:977)
         ... 11 more
    Caused by: oracle.portlet.wsrp.v1.soap.OperationFailed
         at oracle.portlet.wsrp.v1.soap.runtime.WSRP_v1_Markup_PortType_getMarkup_Fault_SOAPSerializer.deserializeDetail(WSRP_v1_Markup_PortType_getMarkup_Fault_SOAPSerializer.java:269)
         at oracle.j2ee.ws.common.encoding.SOAPFaultInfoSerializer.doDeserializeSOAP11(SOAPFaultInfoSerializer.java:132)
         at oracle.j2ee.ws.common.encoding.SOAPFaultInfoSerializer.doDeserialize(SOAPFaultInfoSerializer.java:94)
         at oracle.j2ee.ws.common.encoding.ObjectSerializerBase.deserialize(ObjectSerializerBase.java:180)
         at oracle.j2ee.ws.common.encoding.ReferenceableSerializerImpl.deserialize(ReferenceableSerializerImpl.java:147)
         at oracle.portlet.wsrp.v1.soap.runtime.WSRP_v1_Markup_Binding_SOAP_Stub._readBodyFaultElement(WSRP_v1_Markup_Binding_SOAP_Stub.java:456)
         at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:321)
         at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:112)
         at oracle.portlet.wsrp.v1.soap.runtime.WSRP_v1_Markup_Binding_SOAP_Stub.getMarkup(WSRP_v1_Markup_Binding_SOAP_Stub.java:76)
         at oracle.portlet.wsrp.v1.WSRP_v1_Markup_PortTypeJaxbToSoap.getMarkup(WSRP_v1_Markup_PortTypeJaxbToSoap.java:78)
         ... 12 more
    Then I tried to deploy the test1.jsp as a WAR file in the webcenter OC4J and tried this URL
    http://localhost:6688/AdfFacesDemoTest1/test1.jsp
    but it gave me this error
    500 Internal Server Error
    Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response. Please consult the application log for details.
    When I tried this URL I got a diffrent error. Googling this did not help at all
    http://localhost:6688/AdfFacesDemoTest1/faces/test1.jsp
    07/08/06 11:33:26 PortletContainer portletTechnologies set to '{oracle.portlet.client.containerimpl.web.WebPortletTechnologyConfig,oracle.portlet.client.containerimpl.wsrp.WSRPPortletTechnologyConfig}' from adf-config.xml
    07/08/06 11:33:26 PortletContainer defaultTimeout set to '20' from adf-config.xml
    07/08/06 11:33:26 PortletContainer minimumTimeout set to '1' from adf-config.xml
    07/08/06 11:33:26 PortletContainer maximumTimeout set to '60' from adf-config.xml
    07/08/06 11:33:26 PortletContainer resourceProxyPath set to '/resourceproxy' from adf-config.xml
    2007-08-06 11:33:58.843 ERROR oracle.portlet.client.persistence.PersistenceNotFoundException: mdsId=/oracle/adf/portlet/AdfFacesDemoProducer_1186417722625/ap/E0default_3c036e4c_0114_1000_8003_83e15f750fa7.pxml not found
         at oracle.portlet.client.persistenceimpl.mds.MDSPersistenceContext.get(MDSPersistenceContext.java:587)
         at oracle.portlet.client.beanimpl.persistence.PersistenceBeanFactory.getExisting(PersistenceBeanFactory.java:226)
         at oracle.portlet.client.beanimpl.persistence.PersistenceBeanContext.getExisting(PersistenceBeanContext.java:83)
         at oracle.portlet.client.containerimpl.PublicFactoryImpl.get(PublicFactoryImpl.java:248)
         at oracle.portlet.client.containerimpl.PublicFactoryImpl.get(PublicFactoryImpl.java:258)
         at oracle.portlet.client.containerimpl.PortletContainerImpl.getPortlet(PortletContainerImpl.java:227)
         at oracle.adf.model.portlet.binding.PortletBinding.prepareModel(PortletBinding.java:801)
         at oracle.adf.model.portlet.binding.PortletBinding.refresh(PortletBinding.java:606)
         at oracle.adf.model.binding.DCBindingContainerDef$1RegionBindingAdapter.refresh(DCBindingContainerDef.java:1011)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:2455)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2260)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:99)
         at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareModel(FacesPageLifecycle.java:73)
         at oracle.adf.controller.v2.lifecycle.Lifecycle$8.execute(Lifecycle.java:210)
         at oracle.adf.controller.v2.lifecycle.Lifecycle.executePhase(Lifecycle.java:116)
         at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java:29)
         at oracle.adf.controller.faces.lifecycle.ADFPhaseListener$4.after(ADFPhaseListener.java:327)
         at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:90)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:254)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
         at com.evermind.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.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:620)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind.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.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: oracle.mds.core.MetadataNotFoundException: No metadata found for metadata object "/oracle/adf/portlet/AdfFacesDemoProducer_1186417722625/ap/E0default_3c036e4c_0114_1000_8003_83e15f750fa7.pxml"
         at oracle.mds.core.MetadataObject.getBaseMO(Unknown Source)
         at oracle.mds.core.MDSSession.getBaseMO(Unknown Source)
         at oracle.mds.core.MDSSession.getMutableMO(Unknown Source)
         at oracle.portlet.client.persistenceimpl.mds.MDSPersistenceContext.getBaseMutableMO(MDSPersistenceContext.java:1143)
         at oracle.portlet.client.persistenceimpl.mds.MDSPersistenceContext.get(MDSPersistenceContext.java:577)
         ... 40 more
    Here is my portlet.xml in ui project
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
    version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd
    http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd">
    <portlet>
    <description>ADF Faces Demo Portlet 1</description>
    <portlet-name>ADFFacesDemo1</portlet-name>
    <display-name>ADF Faces Demo portlet 1</display-name>
    <portlet-class>oracle.portlet.server.bridges.jsf.FacesPortlet
    </portlet-class>
    <init-param>
    <name>DefaultPage.view</name>
    <value>/untitled1.jsp</value>
    </init-param>
    <init-param>
    <name>BridgeLifecycleListeners</name>
    <value>
    oracle.portlet.server.bridges.jsf.adf.ADFFacesBridgeLifecycleListener,
    oracle.portlet.server.bridges.jsf.adf.BindingFacesBridgeLifecycleListener
    </value>
    </init-param>
    <supports>
    <mime-type>text/html</mime-type>
    <portlet-mode>VIEW</portlet-mode>
    </supports>
    <supported-locale>en</supported-locale>
    <portlet-info>
    <title>ADF Faces Demo Portlet 1</title>
    <short-title>ADFFacesDemo1</short-title>
    </portlet-info>
    </portlet>
    </portlet-app>
    web.xml in ui project (where the AFD application is)
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee">
    <description>Empty web.xml file for Web Application</description>
    <filter>
    <filter-name>adfFaces</filter-name>
    <filter-class>oracle.adf.view.faces.webapp.AdfFacesFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>adfFaces</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>REQUEST</dispatcher>
    </filter-mapping>
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>resources</servlet-name>
    <servlet-class>oracle.adf.view.faces.webapp.ResourceServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>resources</servlet-name>
    <url-pattern>/adf/*</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>35</session-timeout>
    </session-config>
    <mime-mapping>
    <extension>html</extension>
    <mime-type>text/html</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>txt</extension>
    <mime-type>text/plain</mime-type>
    </mime-mapping>
    </web-app>
    web.xml in test1 project (where portlet producer is registered)
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee">
    <description>Empty web.xml file for Web Application</description>
    <context-param>
    <param-name>CpxFileName</param-name>
    <param-value>test1.DataBindings</param-value>
    </context-param>
    <context-param>
    <param-name>oracle.mds.web-app-root</param-name>
    <param-value>/test1/public_html</param-value>
    </context-param>
    <context-param>
    <param-name>oracle.adf.view.faces.CHANGE_PERSISTENCE</param-name>
    <param-value>oracle.adfinternal.view.faces.change.HybridChangeManager</param-value>
    </context-param>
    <filter>
    <filter-name>adfFaces</filter-name>
    <filter-class>oracle.adf.view.faces.webapp.AdfFacesFilter</filter-class>
    </filter>
    <filter>
    <filter-name>adfBindings</filter-name>
    <filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
    </filter>
    <filter>
    <filter-name>mdsFilter</filter-name>
    <filter-class>oracle.mds.jsp.MDSJSPFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>adfFaces</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>REQUEST</dispatcher>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <url-pattern>*.jsp</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <url-pattern>*.jspx</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <servlet-name>resourceproxy</servlet-name>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <servlet-name>adfportlet</servlet-name>
    </filter-mapping>
    <filter-mapping>
    <filter-name>mdsFilter</filter-name>
    <servlet-name>jsp2</servlet-name>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>INCLUDE</dispatcher>
    <dispatcher>REQUEST</dispatcher>
    </filter-mapping>
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>resources</servlet-name>
    <servlet-class>oracle.adf.view.faces.webapp.ResourceServlet</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>adfportlet</servlet-name>
    <servlet-class>oracle.adfinternal.view.faces.renderkit.html.portlet.ADFPortletServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>resourceproxy</servlet-name>
    <servlet-class>oracle.portlet.client.resourceproxy.adf.ADFPortletResourceServlet</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>jsp2</servlet-name>
    <servlet-class>oracle.jsp.runtimev2.JspServlet</servlet-class>
    <init-param>
    <param-name>tags_reuse_default</param-name>
    <param-value>none</param-value>
    </init-param>
    <init-param>
    <param-name>check_page_scope</param-name>
    <param-value>true</param-value>
    </init-param>
    <init-param>
    <param-name>debug_mode</param-name>
    <param-value>false</param-value>
    </init-param>
    <init-param>
    <param-name>page_provider</param-name>
    <param-value>oracle.mds.jsp.MDSJSPProvider</param-value>
    </init-param>
    <init-param>
    <param-name>page_repository</param-name>
    <param-value>oracle.mds.jsp.MDSJSPProvider</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>resources</servlet-name>
    <url-pattern>/adf/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>adfportlet</servlet-name>
    <url-pattern>/adfportlet</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>adfportlet</servlet-name>
    <url-pattern>/adfportletfullpage</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>resourceproxy</servlet-name>
    <url-pattern>/resourceproxy</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>jsp2</servlet-name>
    <url-pattern>/*.jspx</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>35</session-timeout>
    </session-config>
    <mime-mapping>
    <extension>html</extension>
    <mime-type>text/html</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>txt</extension>
    <mime-type>text/plain</mime-type>
    </mime-mapping>
    <service-ref xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <service-ref-name>service/WSRPServiceRefV1</service-ref-name>
    <service-interface>javax.xml.rpc.Service</service-interface>
    <wsdl-file>WEB-INF/wsdl/WSRP_v1_Service.wsdl</wsdl-file>
    <jaxrpc-mapping-file>WEB-INF/WSRP_v1_Service-java-wsdl-mapping.xml</jaxrpc-mapping-file>
    <service-qname xmlns:service-qname_ns__="urn:oasis:names:tc:wsrp:v1:wsdl">service-qname_ns__:WSRP_v1_Service</service-qname>
    <port-component-ref>
    <service-endpoint-interface>oracle.portlet.wsrp.v1.soap.WSRP_v1_Markup_PortType</service-endpoint-interface>
    </port-component-ref>
    <port-component-ref>
    <service-endpoint-interface>oracle.portlet.wsrp.v1.soap.WSRP_v1_ServiceDescription_PortType</service-endpoint-interface>
    </port-component-ref>
    <port-component-ref>
    <service-endpoint-interface>oracle.portlet.wsrp.v1.soap.WSRP_v1_Registration_PortType</service-endpoint-interface>
    </port-component-ref>
    <port-component-ref>
    <service-endpoint-interface>oracle.portlet.wsrp.v1.soap.WSRP_v1_PortletManagement_PortType</service-endpoint-interface>
    </port-component-ref>
    </service-ref>
    <service-ref xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <service-ref-name>service/WSRPServiceRefV2</service-ref-name>
    <service-interface>javax.xml.rpc.Service</service-interface>
    <wsdl-file>WEB-INF/wsdl/WSRP_v2_Service.wsdl</wsdl-file>
    <jaxrpc-mapping-file>WEB-INF/WSRP_v2_Service-java-wsdl-mapping.xml</jaxrpc-mapping-file>
    <service-qname xmlns:service-qname_ns__="urn:oasis:names:tc:wsrp:v2:wsdl">service-qname_ns__:WSRP_v2_Service</service-qname>
    <port-component-ref>
    <service-endpoint-interface>oracle.portlet.wsrp.v2.soap.WSRP_v2_Markup_PortType</service-endpoint-interface>
    </port-component-ref>
    <port-component-ref>
    <service-endpoint-interface>oracle.portlet.wsrp.v2.soap.WSRP_v2_ServiceDescription_PortType</service-endpoint-interface>
    </port-component-ref>
    <port-component-ref>
    <service-endpoint-interface>oracle.portlet.wsrp.v2.soap.WSRP_v2_Registration_PortType</service-endpoint-interface>
    </port-component-ref>
    <port-component-ref>
    <service-endpoint-interface>oracle.portlet.wsrp.v2.soap.WSRP_v2_PortletManagement_PortType</service-endpoint-interface>
    </port-component-ref>
    </service-ref>
    </web-app>
    Can anyone help please
    regards
    Vijay

  • ADF Faces, BC and JDeveloper 10g: Rendering Dynamic ViewObjects at runtime

    I am trying to make a 10g version of Shay's example (http://www.youtube.com/watch?v=TwIKt7e4vEw).
    JSP code:
    +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"+
    +"http://www.w3.org/TR/html4/loose.dtd">+
    +<%@ page contentType="text/html;charset=windows-1252"%>+
    +<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>+
    +<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>+
    +<%@ taglib uri="http://xmlns.oracle.com/adf/faces/html" prefix="afh"%>+
    +<%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>+
    +<f:view>+
    +<afh:html>+
    +<afh:head title="runTest">+
    +<meta http-equiv="Content-Type"+
    content="text/html; charset=windows-1252"/>
    +</afh:head>+
    +<afh:body>+
    +<af:messages/>+
    +<af:form>+
    +<af:table value="#{bindings.DynamicVo.collectionModel}" var="row"+
    +rows="#{bindings.DynamicVo.rangeSize}"+
    +first="#{bindings.DynamicVo.rangeStart}"+
    +emptyText="#{bindings.DynamicVo.viewable ? \'No rows yet.\' : \'Access Denied.\'}"+
    +partialTriggers="make">+
    +<af:column sortProperty="Dummy" sortable="false"+
    +headerText="#{bindings.DynamicVo.labels.Dummy}">+
    +<af:outputText value="#{row.Dummy}"/>+
    +</af:column>+
    +</af:table>+
    +<af:commandButton actionListener="#{bindings.makeVo.execute}"+
    +text="makeVo" disabled="#{!bindings.makeVo.enabled}"+
    +id="make"/>+
    +</af:form>+
    +</afh:body>+
    +</afh:html>+
    +</f:view>+
    *PageDef:*
    +<?xml version="1.0" encoding="UTF-8" ?>+
    +<pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"+
    +version="10.1.3.42.70" id="runTestPageDef"+
    +Package="view.pageDefs">+
    +<parameters/>+
    +<executables>+
    +<iterator id="DynamicVoIterator" RangeSize="10" Binds="DynamicVo"+
    +DataControl="AppModuleDataControl"/>+
    +</executables>+
    +<bindings>+
    +<table id="DynamicVo" IterBinding="DynamicVoIterator">+
    +<AttrNames>+
    +<Item Value="Dummy"/>+
    +</AttrNames>+
    +</table>+
    +<methodAction id="makeVo" InstanceName="AppModuleDataControl.dataProvider"+
    +DataControl="AppModuleDataControl" MethodName="makeVo"+
    +RequiresUpdateModel="true" Action="999"+
    +IsViewObjectMethod="false"/>+
    +</bindings>+
    +</pageDefinition>+
    *Application Module Implementation:*
    +package model;+
    +import model.common.AppModule;+
    +import oracle.jbo.ViewObject;+
    +import oracle.jbo.server.ApplicationModuleImpl;+
    +// ---------------------------------------------------------------------+
    +// --- File generated by Oracle ADF Business Components Design Time.+
    +// --- Custom code may be added to this class.+
    +// --- Warning: Do not modify method signatures of generated methods.+
    +// ---------------------------------------------------------------------+
    +public class AppModuleImpl extends ApplicationModuleImpl implements AppModule {+
    +/**This is the default constructor (do not remove)+
    +*/+
    +public AppModuleImpl() {+
    +}+
    +public void makeVo(){+
    +System.out.println("make vo");+
    +ViewObject vo = this.findViewObject("DynamicVO");+
    +if(vo==null){+
    +System.out.println("vo is null");+
    +}+
    +vo.remove();+
    +System.out.println("Vo removed");+
    +vo = createViewObjectFromQueryStmt("DynamicVo", "SELECT deptno from dept" );+
    +System.out.println("Vo created");+
    +vo.executeQuery();+
    +System.out.println("Vo estimated row count"+vo.getEstimatedRowCount());+
    +}+
    +/**Container's getter for DynamicVo+
    +*/+
    +public DynamicVoImpl getDynamicVo() {+
    +return (DynamicVoImpl)findViewObject("DynamicVo");+
    +}+
    +/**Sample main for debugging Business Components code using the tester.+
    +*/+
    +public static void main(String[] args) {+
    +launchTester("model", /* package name */+
    +"AppModuleLocal" /* Configuration Name */);+
    +}+
    +}+
    *Runtime before clicking button*
    http://i108.photobucket.com/albums/n23/zeoneozero/1.jpg
    *Runtime after clicking button*
    http://i108.photobucket.com/albums/n23/zeoneozero/2.jpg
    *Console*
    +1/11/09 11:26:44 make vo+
    +11/11/09 11:26:44 Vo removed+
    +11/11/09 11:26:44 Vo created+
    +11/11/09 11:26:44 Vo estimated row count7+
    *Error:*
    JBO-25003: Object DynamicVo of type View Object not found
    JBO-25003: Object DynamicVo of type View Object not found
    Will this work with 10g? If so, has anyone tried and succeeded? Any advice is appreciated.
    thanks,
    wes

    the example is in 11g and makes use adf dynamic forms.
    I don´t know if you can make this in 10g

  • ADF FACES showOneTabs and selectOrderShuttle can't cowork

    I'm new to ADF FACES. My ADF FACES is EA10.
    The code excerpt from EA10's demo works fine when:
    <?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:afh="http://xmlns.oracle.com/adf/faces/EA10/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/EA10" >
    <jsp:directive.page contentType="text/html;charset=iso-8859-1"/>
    <f:view>
    <afh:html>
    <afh:head title="SelectOrderShuttle Demo"/>
    <afh:body>
    <af:form>
    <af:selectOrderShuttle id="shuttle2"
    leadingHeader="Available values:"
    trailingHeader="Selected values:"
    valueChangeListener="#{list.valueChanged}"
    value="#{list.objectList}">
    <af:selectItem label="First" value="foo"/>
    <af:selectItem label="Second" value="bar"/>
    <af:selectItem label="Third" value="baz"/>
    </af:selectOrderShuttle>
    </af:form>
    </afh:body>
    </afh:html>
    </f:view>
    </jsp:root>
    But not working when:
    <?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:afh="http://xmlns.oracle.com/adf/faces/EA10/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/EA10" >
    <jsp:directive.page contentType="text/html;charset=iso-8859-1"/>
    <f:view>
    <afh:html>
    <afh:head title="SelectOrderShuttle Demo"/>
    <afh:body>
    <af:form>
    <af:showOneTabs>
    <af:showDetailItem text="Text">
    <af:selectOrderShuttle id="shuttle2"
    leadingHeader="Available values:"
    trailingHeader="Selected values:"
    valueChangeListener="#{list.valueChanged}"
    value="#{list.objectList}">
    <af:selectItem label="First" value="foo"/>
    <af:selectItem label="Second" value="bar"/>
    <af:selectItem label="Third" value="baz"/>
    </af:selectOrderShuttle>
    </af:showDetailItem>
    </af:showOneTabs>
    </af:form>
    </afh:body>
    </afh:html>
    </f:view>
    </jsp:root>
    Could someone help?

    The bug is in showOneTabs, selectOrderShuttle or both?
    And when will EA12 be release?
    Thanks in advance.

  • How do I add ADF Faces Core and ADF Faces Html to the component palette?

    I have an already made jspx page which I wish to work further on but I can´t choose ADF components from the component palette.
    in my older version I added these two lines to the <jsp:root> element when I wanted to make ADF components available.
    xmlns:af="http://xmlns.oracle.com/adf/faces"
    xmlns:afh="http://xmlns.oracle.com/adf/faces/html"
    but in Jdeveloper 11g preview 3 these two lines seem to have no effect.
    I tried to see what other jspx pages that contained ADF components in 11g had that my page didn´t and found out that they had the line
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    but when I add this line instead of the other two lines and press install JSP tag library Jdeveloper freezes completely. Can anyone help me get ADF components show up in the component palette in Jdeveloper 11g preview 3?
    Message was edited by:
    AtlanticViking

    Hello,
    Jdeveloper 11g uses Trinidad not ADF Faces 10g, to add it, uses the following:
    1. Double-click your project to access project properties;
    2. Select JSP Tag Libraries;
    3. Click Add;
    4. Trinidad Component 11-m3
    Regards,
    ~ Simon

  • Customized Error/Info  Messages in ADF FACES Pages

    hi every one...
    I need to display customized eerror/info messages in a ADF Faces application.
    How can i use adf:message componenet to do this...

    Hi,
    af:messages show all messages added to the JSF message stack
    FacesContext fctx = FacesContext.getCurrenInstance();
    fctx.addMessage("Some Name Strinng here", new FacesMessage(FacesMessage.SEVERITY_ERROR, "Your error message here",null));
    If <"Some Name Strinng here"> is the id of a component then the error message is also shown below this component
    For customizing error messages - e.g. translating Exceptions into useful user information, see SRDemo, which can be downloaded and installed through JDeveloper Help-->Check for Updates.
    Frank

  • ADF FACES: processValidators and ValidatorException bug

    Using EA15.
    Unless I'm misunderstanding how UIComponent.processValidators works, you should just throw a ValidatorException to signal a problem.
    However, in trying just that, the ADF FACES framework is treating the exception as a SEVERE error instead of treating it as a validation failure.
    I have constructed a simple extension to PanelPage so I can invoke my own validation routine, like this:
    * Internal class to provide a validation hook for our forms
    public static class ValidatingCorePanelPage extends CorePanelPage {
    public void processValidators(FacesContext ctx) {
    super.processValidators(ctx);
    // Dispatch the validation to the current form
    FormBean.dispatchFormValidation(ctx);
    dispatchFormValidation will invoke a validation method on the proper backing bean, in which code similar to the following is used:
    String spokeWith = (String)getCompSpokeWith().getLocalValue();
    String callStatus = (String)getCompFinalCallStatus().getLocalValue();
    System.out.println("SPOKEWITH='" + spokeWith + "'");
    System.out.println("CALLSTATUS='" + callStatus + "'");
    // We require a value in "spoke with" if the call status is anything other than
    // "left message"
    boolean isMessageStatus = !StringUtils.isEmpty(callStatus) && StringUtils.contains(callStatus.toLowerCase(),"message");
    if( !isMessageStatus && StringUtils.isEmpty(spokeWith)) {
    // register the error message
    FacesMessage fmsg =
    new FacesMessage(FacesMessage.SEVERITY_ERROR, "Incomplete Data",
    "'Spoke with' may not be empty");
    // Add the message to the specific
    // component that is missing data.
    getFacesContext().addMessage("spokewith", fmsg);
    throw new ValidatorException(fmsg);
    However, when this executes (and results in a ValidatorException), I get the following output in my log file:
    05/05/20 15:51:44 <<<< PHASE: RESTORE_VIEW 1
    05/05/20 15:51:44 >>>> PHASE: APPLY_REQUEST_VALUES 2
    05/05/20 15:51:44 <<<< PHASE: APPLY_REQUEST_VALUES 2
    05/05/20 15:51:44 >>>> PHASE: PROCESS_VALIDATIONS 3
    May 20, 2005 3:51:44 PM com.sun.faces.lifecycle.ProcessValidationsPhase execute
    SEVERE: Incomplete Data
    javax.faces.validator.ValidatorException: Incomplete Data
         at com.fhm.mwb.ui.backing.OfficeCallForm.validateForm(OfficeCallForm.java:256)
         at com.fhm.mwb.ui.backing.FormBean.dispatchFormValidation(FormBean.java:588)
         at com.fhm.mwb.ui.SharedComponents$ValidatingCorePanelPage.processValidators(SharedComponents.java:337)
         at oracle.adf.view.faces.component.UIXComponentBase.processValidators(UIXComponentBase.java)
    And the lifecycle stops dead!
    How is this supposed to work? How are you supposed to report a validation exception from within processValidators?
    This seems to be a bug in ADF FACES.

    <af:forEach> does not support <f:> or <h:> tags; this unfortunate restriction is documented in the <af:forEach> release notes. It's not a bug - it's a fact of life until we can get our technique integrated into the core JSF or JSP specifications.

  • ADF-Faces table and mass data

    Hello Oracle,
    we consider to use ADF-Faces with Spring and TopLink or Hibernate that supports all important commercial databases.
    We need a solution for selecting mass data and show them using a ADF-Faces component.
    ADF-Faces table looks great and is fine for for some hundred datasets. But we have customers who could do a select over 80.000 or more datasets and it cannot be the solution to load them completly in collection-model in memory.
    Do you have a solution or do you plan somthing? A JSF data table component for mass data (e.g. load from database on every "next or "previous" click)?
    Regards
    Florian

    I'm pretty new to ADF Faces etc. but I know the ADF Table component supports paging. If you're using ADF Business Components as the persistence framework it supports paging out of the box giving you exactly what you're looking for.
    If you're using EJBs or Toplink I think you have to write your own paging interface but I don't know this for sure.
    Corey
    Message was edited by:
    cpuffalt
    Message was edited by:
    cpuffalt

  • Single adf task flow portlet with multiple pages and paramter from url

    Hi ,
    I have made a adf task flow portlet with a parameter.
    I have made a portal applcation and added multiple pages . in each of the page I am consuming that portlet through wsrp2.
    I have mapped the task flow parameter in page bindings of the pages with #{param.code}. where code is the get parameter.
    I have edited navigatinoal template so that when i click the pages , code parameter also get added in the url.
    issue
    When I run the applcation and visits first page with get parameter i get the right result. but when i click the on the other page which has some other value for the same get parameter , it doesnt display the value. But the other page shows me correct value if I go this page first but the later page doesnt display any value.
    thanks

    1001446 wrote:
    Hi ,
    I have edited navigatinoal template so that when i click the pages , code parameter also get added in the url.Can you paste the code from the template here?

Maybe you are looking for