ADF Faces with Facelets (Menubar)

Hello experts,
i using ADF Faces with the jDeveloper (11.1.2) and currently i have a little problem. The menu bar is not usable when i using facelets. It seems to me that the component isn't working.
This is my little testproject:
http://www.axxg.de/Facelets.rar
Thanks for your help
Alexander

Alexandar,
You could have just explained your problem rather than making us download something.
You have a few issues:
1). You are using Facelets templating to include your content and header - however, content and header are full pages, not fragments - thus you have multiple f:view tags and af:document tags (this is why you have problems with the menu not dropping down). Have a look at ADF templates in the documentation if you'd like to see how ADF templating works.
2) Your menus aren't set to do anything. <af:commandMenuItem text="open" id="cmi1"/> - there is no action/action listener associated with your menu item, so indeed it does nothing - this is what you will see when you fix problem #1
John

Similar Messages

  • ADF Faces with NetBeans Visual Pack

    Hello all,
    I have NetBeans 5.5.1 installed with the Visual Pack and I am looking to try out other libraries with it, in particular ADF Faces from Oracle.
    Does anyone know how to import the components into the NetBeans Visual Pack? They download from oracle as[b] adf-faces-impl-10_1_3_0_4.jar and not as a complib extension, which NetBeans prefers.
    Please if anyones has any experience with getting this to work let me know. Or if you think it can't work let me know as well?
    Hoping to hear from someone soon. Thanks in advance.

    Hello again,
    Anyone out there using ADF faces with NetBeans Visual Pack who can give some feedback?
    I want to be able to use the drag and drop capabilities of the Visual Pack with the ADF faces components, but I don't see how to configure this as they do not come pre-configured as a complib extension.
    Any feedback would be appreciated.
    Thanks and Regards.

  • How to use ADF Faces with struts1.3.8

    Hi
    Can anybody guide us how to use ADF faces with Struts 1.3.8.
    Your help will be appreciated.
    Thanks
    Chetan

    Xpp,
    Have a look at the ADF Developer's Guide for specific instructions on menus (the ADF Developer's Guide for Forms/4GL Developers has the information in section 19.2).
    You can put javascript handlers on the components to get keyboard event handling.
    John

  • ADF Faces with ADF BC

    Hi everyone,
    I'm trying to map a <af:table> to an ADF Business Component. I can retrieve the records and I can also navigate doing Next and Previous, but I cannot do a Delete of a record. Do you know if there's any kind of "work arround" to use ADF Faces with ADF BC to do a delete or update, etc.?
    Here is the code, you can notice the: <af:tableSelectOne> tag to put the radio buttons colums to select which one to delete, and you can also notice the action="#{row.markForDeletion}" for the commandbutton to perform the delete.
    Jonas Jacobi wrote in his web blog on August 16 that he was going to post some samples for this "work arround" but I think he never posted them.
    Here is the code:
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/EA12/html" prefix="afh"%><%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/ui/jsp/adftags" prefix="adf"%>
    <adf:uimodelreference model="table_testUIModel"/>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/EA12" prefix="af"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ page contentType="text/html;charset=windows-1252"%>
    <html>
    <head>
    <H1>This is a Test</H1>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>my test page</title>
    <link href="css/blaf.css" rel="stylesheet" media="screen"/>
    </head>
    <body>
    <f:view>
    <afh:head title="tableSelectOne Demo"/>
    <af:panelPage>
    <af:table rows="3" var="row" value="#{bindings.CmSvcView1.rangeSet}" first="0">
    <f:facet name="selection">
    <af:tableSelectOne text="Select and ...">
    <af:commandButton text="Delete" action="#{row.markForDeletion}"/>
    </af:tableSelectOne>
    </f:facet>
    <af:column>
    <f:facet name="header">
    <af:outputText value="SvcId"/>
    </f:facet>
    <af:outputText value="#{row.SvcId}"/>
    </af:column>
    <af:column>
    <f:facet name="header">
    <af:outputText value="SvcNum"/>
    </f:facet>
    <af:outputText value="#{row.SvcNum}" styleClass="OraHeaderSubSub"/>
    </af:column>
    <af:column>
    <f:facet name="header">
    <af:outputText value="SvcName"/>
    </f:facet>
    <af:outputText value="#{row.SvcName}" styleClass="OraHeaderSubSub"/>
    </af:column>
    </af:table>
    </af:panelPage>
    </f:view>
    </body>
    </html>
    Thanks,
    Pablo (sorry for the long post)

    Thank you Gabrielle. At least now I have an excuse to tell my boss why I can't get it to work.
    Any idea when it may be available? Would it be a better idea to implement the table in plain vanilla JSF, and when ADF Faces is ready for ADF BC then do the migration?
    Are there any workarround to this problem?
    Thank you for your time,
    Pablo

  • Possibility & Drawback  Using JDeveloper 11g ADF Faces with Oracle 10g DB

    We are new to ADF Faces, would like to use JDeveloper 11g ADF Faces with Oracle 10g database (Enterprise Edition). As we are new to JDeveloper 11g ADF BC, so we want to know about the Possibility & the Drawback.
    Edited by: eng.shahed on Apr 5, 2010 11:21 AM

    i dont think so any drawbacks using Jdeveloper with any database.....its a open product ... You can use it with Sybase, MySQL, Oracle etc etc..

  • ADF Faces with NetBeans

    Hi,
    This is Sandip Kulkarni.
    I want to know that, how can we use or integrate ADF Faces with NetBeans 6.1 or NetBeans 6.5?
    Please assist me with the solution as early as possible........
    Thanking you

    Sandip,
    In all honesty, if you want to do ADF development - JDeveloper is the only game in town... yes, I know you can make it work, but it's not going to be productive. If you are talking about ADF Faces only, you may be able to configure the taglibs + etc in Netbeans, but not sure it's going to be fun. If you want to bring ADF Business Components into the mix, it's going to be unworkable.
    One thing you could look at doing is to use something like maven - and then use Maven to generate the Netbeans artifacts.
    Caveat: I've not done this before and cannot comment on how workable it will be.
    Why don't you want to use JDeveloper?
    John

  • Did anybody used ADF Faces with Apache Struts?

    Hi
    Can anybody give some guidelines of how to use ADF Faces with Struts?

    I think you'll get a better answer for this on an iBatis forum.
    I think I knew one customer who used this combination.
    We don't have a specific tutorial that shows you how to use iBatis with ADF Faces, but at the end of the day any of the tutorials we have that shows you how to use POJO or a session facade to front POJO will be applicable to iBatis.

  • Problems with combination of ADF Faces, Tomahawk, Facelets and MyFaces

    Hello,
    I am trying to combine all things named in the Subject and run into several problems:
    1. ADF Render Kit forces the Tomahawk Components to be rendered in a wrong way or stop there functionality.
    Example 1: The clickable parts of the t:dataScroller Tag can not be accessed because an empty a Tag will be rendered after the outputText.
    Example 2: The t:commandSortHeader Tag can be clicked but the table content will not be sorted anymore.
    The given examples works if i remove the default-render-kit-id element from the faces-config.xml
    2. The ad:table Tag runs into an ClassCastException, only when I put a simple example code snipped into my xhtml file.
    Code snipped:
    <af:table>
    <af:column>
    <f:facet name="header">
    <af:outputText value="Firstname"/>
    </f:facet>
    </af:column>
    <af:column>
    <f:facet name="header">
    <h:outputText value="Lastname"/>
    </f:facet>
    </af:column>
    </af:table>
    The stack trace look like this:
    java.lang.ClassCastException at oracle.adfinternal.view.faces.renderkit.core.xhtml.DesktopTableRenderer._renderRegularColumns(DesktopTableRenderer.java:1029)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.DesktopTableRenderer.renderSingleRow(DesktopTableRenderer.java:109)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.TableRenderer.encodeAll(TableRenderer.java:229)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.DesktopTableRenderer.encodeAll(DesktopTableRenderer.java:79)
         at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:159)
         at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
         at oracle.adf.view.faces.component.UIXCollection.encodeEnd(UIXCollection.java:438)
         at oracle.adfinternal.view.faces.renderkit.RenderUtils.encodeRecursive(RenderUtils.java:54)
         at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeChild(CoreRenderer.java:232)
         at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeAllChildren(CoreRenderer.java:255)
         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:159)
         at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
         at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:242)
         at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
         at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
         at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:521)
         at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)
         at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
         at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:659)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    I followed all steps for the ADF installation and the suggested steps for using ADF with Facelets.
    Used versions:
    - Oracle ADF Faces 10.1.3 Early Access
    - myFaces 1.1.1
    - Facelets 1.1.1
    - oc4j 10.1.2.0.2
    Has somebody try to use these things together, too?
    Thanks,
    Carsten

    Hi,
    Inside our fusion applications(ADF/Webcenter) using combination of JSTL and ADF Faces is good practice or pitfal?
    To suggest a a rule of thumb: Try ADF Faces on-board functionality first before reaching out to JSTL. The difference between JSF in general and JSTL is that the JSTL expressions are evaluated at page compile time wheras JSF expressions are evaluated deferred. This difference may have an impact to PPR refreshes and the data rendering (which in many cases I assume you can fix by setting the ADF Faces component content delivery to immediate instead of deferred). On a training slight I flagged JSTL with a "heads up" alert because of this
    Frank

  • Panel Page in ADF Faces using Facelets not rendering correctly

    Hi, I am attempting to integrate facelets into a web app built using adf faces and am running into a problem with the panel page component. I have integrated facelets and adf faces without any problems by adding relevant jars (jsf-facelets and adf-facelets) to the project and specifying alternate facelets view handler in web.xml.
    However, when I try to render any component inside <af:document> or <af:html> tags, all the font style in components seems to be lost ( all the text and input fields turn large and ugly!).
    I tried to leave out the <af:document> tag and put the <f:view> inside some vanilla html instead, but then panelPage component dosen't render properly and I get following message on top of page :
    "Skip navigation elements to page contents"
    So seem to be in a bit of a catch 22. By the way, this all works fine if I don't use facelets (remove the facelets view handler from web.xml and page renders correctly).
    Does anyone have any ideas or examples of panelPage rendering correctly with facelets or an alternative to using adf faces html tags that will allow panelpage to be displayed?
    The following is the code from a simple test 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:afh="http://xmlns.oracle.com/adf/faces/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces"
    xmlns:c="http://java.sun.com/jsp/jstl/core"
    xmlns:ui="http://java.sun.com/jsf/facelets">
    <f:view>
    <af:document>
    <af:form>
    <af:panelPage title="Title 1">
    <af:panelHorizontal>
    <af:panelGroup layout="vertical">
    <af:outputLabel value="Username"/>
    <af:inputText id="lo_username" value="" columns="20"/>
    <af:objectSpacer width="1" height="10"/>
    <af:outputLabel value="Password"/>
    <af:inputText id="lo_password" secret="true" value="" columns="20"/>
    <af:objectSpacer width="1" height="15" />
    <af:panelHorizontal>
    <af:objectSpacer width="50" height="1"/>
    <af:commandButton id="lo_loginButton" text="Login"/>
    </af:panelHorizontal>
    </af:panelGroup>
    <af:objectSpacer width="50" height="1"/>
    <af:panelGroup layout="vertical">
    <af:outputLabel value="Please use your windows account username"/>
    <af:outputLabel value="and password to logon to the system"/>
    <af:objectSpacer width="1" height="50"/>
    </af:panelGroup>
    </af:panelHorizontal>
    </af:panelPage>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>

    The problem was the <jsp:root> tag. Removed this tag and modified <af:document> to the following so that namespaces are declared :
    <af:document 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"
    xmlns:ui="http://java.sun.com/jsf/facelets">
    Page now renders properly using facelets.
    Message was edited by:
    mjc

  • ADF Faces and Facelets.

    How to use Facelets with ADF Faces I'm getting the ADF Components displayed, but the alignments are not working.And also , the JDeveloper is not recognising the <ui:insert> and <ui;composition> saying, No grammer available.
    Further , In the source for the HTML page rendered we could see the Facelets tags. these are not being converted to HTML.
    So where lies the problem?
    I added all the jar files neeed, added all web.xml entries; but could not get the correct out put.
    Can any one help me?
    Thanking you,
    Samba.

    Hi Samba,
    If you get any headway, please post it here. I am in the same boat!
    Are there other people out there using facelets with ADF? I would really appreciate any insight. Thanks!

  • ADF component with Facelets problem

    I use oracle ADF with Facelets, almost every components work well, except two problem.
    1) <af:table>. If I defined af:commandLink for the column
    <af:column>
    <af:commandLink action="editTeam" immediate="true"/>
    </af:column>
    If you want to enter the link in the first row of the table, your click it once and get no response. You must click at least twice , then you will get the response action. All other row work well except the first row.
    2) <af:processTrain>, If I define a new skins for processTrain, the image show the processStation will not show up, any idea about how to define a new image in CSS to display the station status?
    Best regards,
    Sam

    Hello Sam. I have a similar problem, only I cannot get any ADF Faces components to display. Their tags are in the JSP's source like so:
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0" 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"/>
        <html>
          <head>
            <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/>
            <title>testTemplate</title>
          </head>
          <body>
          <af:inputText value="AN inputText"/>
            <h1>Here's my Title</h1>
            <div> Here's My Menu </div>
            <p> Here's My Body </p>
          </body>
        </html>
    </jsp:root>

  • Is it possible to integrate ADF Faces with eclipse

    hi experts,
    i am new to JSF.
    i am using myeclipse IDE5.1 eclipse3.2 and java 1.6
    i want to know how to integrate ADF faces into my JSF....
    i have ADF Faces standalone adf-faces-api-10_1_3_0_4.jar and adf-faces-impl-10_1_3_0_4.jar
    and also include the jsf capabilities
    I dont know the integration in web.xml and faces-config.xml..
    and i dont know the documentation which is given by oracle is for Jdeveloper or eclipse too
    please send the one example with jar integration..
    or send the link of that....

    Ralph,
    Maybe I'm deranged the same way you were, but I have the same problem: I see the logs when the server (OpenPortal portlet Container 2.0 with Glassfish) starts, but after that, no logs are displayed in Eclipse console, and breakpoints are ignored in debug mode.
    What was the issue and how did you fix it ?
    Thanks
    Vincent

  • Jdev 10.1.13 EA1 - search form (BC + ADF faces) with date field

    Did anyone tried to make a simple search form with BC,( just draging view form control palette to faces page?)
    Because when i did it and tried to search by one date field (for example orderDate) i got exception:
    oracle.adfinternal.view.faces.convert.ConvertException: Could not convert instance:Wed Sep 07 00:00:00 CEST 2005 of type:class java.util.Date into type:class java.lang.String
    Is it a bug?
    I tried to use converDateTime component but it haven't fixed the problem.
    Bart.

    Hi,
    Business Components doesn't perform type conversion. This is the problem I see. Basicaly the expected format is String
    Could not convert instance:Wed Sep 07 00:00:00 CEST 2005 of type:class java.util.Date into type:class java.lang.String
    Is you date field really a date field ?
    Frank

  • ADF Faces (Trinidad?) & Facelets Support

    This is long, but help and advice is very much needed.
    My programming team is facing a migration from UIX to JSF (ADF Faces) for future applications and we have hit a road block in regards to a template structure that is easy to use and maintain. We had gone through official Oracle training with JSF, however the trainer's answer to templates was to "create a template and copy and paste for every new file". For our team this is unacceptable so I've been charged with figuring out how to simply templates for our team. Not only do we need to make this easy for our application developers but we need to keep it simple for web developers to create "simple" survey-like applications.
    From what I've come across the answers seems to be either Facelets or Regions.
    Working with Regions seem to be over-complicated, requiring too much replication (basically back to copy/pasting an entire template) or passing the panelPage's content as a java object (bad for our web developers). I presented the combinations to my team and supervisor and it was agreed that Regions are impractical for our development practices.
    So it seems the answer is with Facelets. The problems I have with this is that:
    1. JDeveloper doesn't appear to natively handle Facelets, or include the libraries.
    2. From what I've learned, the ADF Faces library that comes with JDeveloper doesn't have Facelets support either.
    3. Looking into Trinidad, Facelets support exists but there is a lack of the Oracle skin.
    Facelets support is really what my team needs, as it's the closest thing to the old UIX templates I've seen so far.
    I've followed instructions/examples on several posts here, but I've yet to come across an example that works. I've Googled countless pages and examples, but when it comes down to ADF Faces and Facelets, it seems I'm at a dead end.
    So, can anyone help me with this?
    Thanks in advance,
    Rick
    PS:
    Using JDeveloper 10.1.3.2.0.4066 with stock ADF Faces
    External libraries used:
    Facelets 1.1.11
    Trinidad 1.0.1-incubating

    It just so happens that not long after I posted, I catch the "adf-facelets.jar" on the facelets site.
    dvohra, I had seen the links you've pasted however none of them described the actual process to get it to work, it's all been segmented copy/paste instructions. This doesn't really help someone who is struggling.
    So... I'll paste what my solution was, hopefully this will help others:
    1. Download and install the Facelets 1.1.11 library
    https://facelets.dev.java.net/servlets/ProjectDocumentList?folderID=3635&expandFolder=3635&folderID=0
    2. Download and install the ADF Facelets library
    https://facelets.dev.java.net/servlets/ProjectDocumentList?folderID=3990&expandFolder=3990&folderID=0
    3. In web.xml add the following:
    <context-param>
    <param-name>oracle.adf.view.faces.ALTERNATE_VIEW_HANDLER</param-name>
    <param-value>com.sun.facelets.FaceletViewHandler</param-value>
    </context-param>
    4. Make sure your project's libraries have loaded your Facelets and ADF Facelets, as well as ADF Faces Runtime.
    5. Begin using UI Components as desired.
    Example: http://eugeneciurana.com/pastebin/pastebin.php?show=1308
    Extra notices:
    I had to comment out the following in my faces-config.xml as it conflicted with the web.xml setting:
    <view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
    This is what worked for me, I hope this helps others out there.
    Thanks,
    Rick

  • ER - Problem with ADF Faces filter when running ADF Faces within a portlet

    I am attempting to get ADF Faces to run within Oracle Portal, i.e. within a portlet using the JPDK.
    This, I am sure you are about to tell me, is not something that is fully supported, as yet.
    However, I have been successful in getting MyFaces to run within a portlet, by customizing the form tag.
    MyFaces, it seems, keeps track of the current viewid by storing it in the session, then uses this within the viewhandler and navigationhandler to determine the next view to load, based on the faces-config.xml navigation entries.
    By customizing the form tag it is then possible to retrieve this viewid from the faces context and outputting it in the form's action parameter.
    It is also possible, with a few more customizations, to run JSF RI within a portlet, i.e. by adding a custom viewhandler and loading a session variable with the current viewid from the faces context, then retrieving the viewid and outputting it as the action string in the customized form tag .
    Unfortunately there does not appear to be any way of getting ADF Faces (EA19 version) to run as a portlet, with either the RI or with MyFaces.
    I have configured a basic .jspx document in the <showPage> tags of the provider.xml file.
    This uses only the form tag and a few input tags and works when executed directly within my portlet project in JDeveloper (http://localhost:8988/TestJSFAppContext/faces/htdocs/facesportlet/index.jspx) using a redirectfilter (*.jspx htdocs -> /faces/htdocs).
    It is not possible to run ADF Faces with RI as a portlet since customization of the ADF Faces ViewHandler appears not to be supported.
    When attempting to run this with MyFaces as a portlet, however, I get the following message:
    oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl verifyFilterIsInstalled
    WARNING: The AdfFacesFilter has not been installed. ADF Faces requires this filter for proper execution.
    I am having difficulty in understanding as to why this is happening but am guessing it must be something to do with either redirect URLs or due to the .jspx files being under /htdocs, i.e. the ADF Faces renderkit is checking that the ADF Faces filter is configured but the check fails since the filter does not execute.
    I have configured the filter in web.xml, as detailed in the documentation:
      <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>ADF Faces Servlet</servlet-name>
      </filter-mapping>
    <servlet>
        <servlet-name>ADF Faces Servlet</servlet-name>
        <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
      </servlet>
      <servlet-mapping>
        <servlet-name>ADF Faces Servlet</servlet-name>
        <url-pattern>/faces/*</url-pattern>
      </servlet-mapping>and have modified the provider.xml file as follows:-
          <renderer class="oracle.portal.provider.v2.render.RenderManager">
             <renderContainer>true</renderContainer>
             <renderCustomize>true</renderCustomize>
             <autoRedirect>true</autoRedirect>
             <contentType>text/html</contentType>
      <showPage>/faces/htdocs/facesportlet/index.jspx</showPage>        
             <editPage>/htdocs/facesportlet/FacesportletEditPage.jsp</editPage>
             <editDefaultsPage>/htdocs/facesportlet/FacesportletEditDefaultsPage.jsp</editDefaultsPage>
          </renderer>with the following tags also set:
       <session>true</session>
       <passAllUrlParams>true</passAllUrlParams>In order to ensure that the session stays alive so that the views are retrieved.
    As I say, the page loads OK when run directly within the JPDK project within JDeveloper, with a redirect filter (*.jspx -> /faces/*.jspx) but not when run from within Oracle Portal.
    In fact I have found that this filter is very sensitive, i.e. ADF Faces will not run in any project unless the configuration is exactly as above.
    It seems that the MyFaces team have got around the problem of maintaining session state with redirections but that ADF Faces needs the page URL that is passed in to the filter to be consistent.
    Is there some way around this, i.e. some kind of customization that I can implement to get the filter working?
    Thnks

    I have found a way to go round the problem.
    I use the servlet 2.4/jsp 2.0 route and then
    change the web.xml header to the servlet 2.3/jsp 1.2
    format. Everything then works fine after this!
    Please fix this for production.
    Behnam

Maybe you are looking for