[adf faces] selectonechoice autosubmit problem

hello
i am trying to make a adf faces website, but i have 2 dropdownlists in an overview page
the first dropdownlist (af:selectonechoice) contains the YEAR
the second dropdownlist (af:selectonechoice) containts the WEEKS IN THAT YEAR
the weeks have to be drawn from the database, by using the managed bean "filterBean"
somehow at this moment i can only get the weeks inside the second dropdownlist by clickin on a commandbutton. the autosubmit from the first dropdownlist doesn't do shit...
even with partialtriggers it won't work right
can anybody give me a working example in which a dropdownlist updates another dropdownlist?
thanks in advance!

Hi,
2-minute googling gave these examples:
"ADF Faces: Building ADF dependent list boxes in ADF Faces table" at http://thepeninsulasedge.com/frank_nimphius/2008/04/08/adf-faces-building-adf-dependent-list-boxes-in-adf-faces-table/
"62. Cascading Lists in JSF" at http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html
"Three Dependent List Boxes in af:table Component" at http://andrejusb.blogspot.com/2007/08/three-dependent-list-boxes-in-aftable.html
"Implementing dependent select boxes in JSF" at http://www.it-eye.nl/weblog/2006/04/04/implementing-dependent-select-boxes-in-jsf/
"ADF Learning 6 - Dependent List Boxes" at http://www.scribd.com/doc/2633296/ADF-Learning-6-Dependent-List-Boxes
HTH,
Patrik

Similar Messages

  • ADF Faces - showOneTab PPR problem in Internet Explorer

    Hoping someone has some insight into this that may help. This is causing us a lot of problems for us and could end up causing us to drop ADF faces from our project.
    Basically we are using af:showOneTab in our application and the first time we change tabs and every other time after that, the progress bar in IE basically runs forever and we have problems with afh:script tags that set the focus to the desired input field. We get a Javascript error that the element doesn't exist (it does, checked with a DOM explorer), or its not ready (may not be because of the progress bar) or isn't visible (it is).
    So after a lot of debugging in our application I just went back to the adf demo war file and the showOneTab component demo page in there shows exactly the same behavior. Firefox 1.5.0.7 does not have this problem.
    Here are the relevent versions of everything:
    ADF faces standalone jars, version 10.1.3.0.4 from the main ADF faces page download.
    JSF 1.1_01 RI
    Websphere 6.0 App Server
    Internet Explorer version 6.0.2900.2180.xpsp_sp2_gdr.050301-1519
    JDK 1.4 - required because of WAS 6.0
    Thanks!
    Steve

    I did find a workaround to this problem. I think its pretty ugly though. I had to add the following to the page:
    <!-- This code is necessary to prevent the IE progress bar runs forever problem. -->
    <f:verbatim>
         <iframe height="1px" marginheight="0px" marginwidth="0px" id="garbageFrame" name="garbageFrame" width="1px" style="visibility:hidden; position:absolute; top:-200px">
         </iframe>
    </f:verbatim>
    <afh:script id="iframeUpdate"
         text="window.garbageFrame.document.write('');
         window.garbageFrame.close()"/>
    <!-- End of code for IE progress bar problem. -->     
    Then I add the iframeUpdate script as a partial Target in my tab disclosure listener:
         UIComponent c = (UIComponent)de.getComponent();
         UIComponent target = c.findComponent(":iframeUpdate");
         AdfFacesContext adfContext = AdfFacesContext.getCurrentInstance();
         if(target != null) {
              adfContext.addPartialTarget(target);
    Just thought I'd follow up as I remember others having the progress bar run forever in IE as well.
    Steve

  • ADF Faces: Design-time problems

    Hi!
    We are working at JetBrains on several JSF features, and we have some serious problems with components' behavior on design time. Can we recieve an engineer contact, who can be discussed these problems with?

    I think your question is still confusing - are you saying JetBrains is not used? Is this a pure ADF Faces issue? - it would also help people on the list if you can explain WHAT the actual component is and WHAT the problem you are seeing....
    Regards
    Grant

  • ADF Faces: columns sort problem

    Hi all,
    I'm new ADF Faces italian user and I have some problem sorting columns of table component...
    I have tried to convert my ResultSet in a List, and the data are correctly inserted in the "af:table" but the column sort don't work...
    I have already read the "af:table" Oracle specification but I have not just found a solution...
    This is the part of my backing bean that return the List:
    private List anagsList;
    public List getAnagsList()
    Connection connection;
    Statement statement;
    ResultSet resultset;
    try
    Class.forName("oracle.jdbc.driver.OracleDriver");
    connection = DriverManager.getConnection("jdbc:oracle:thin:@192.168.168.75:1521:ORA1", "EL2DEMO", "admin");
    statement = connection.createStatement();
    if(inputText1.getValue().toString().equals(""))
    resultset = statement.executeQuery("SELECT AN_RAGSOC, AN_NOME, AN_DATANASCITA FROM ANAGS");
    else
    String query="SELECT AN_RAGSOC, AN_NOME, AN_DATANASCITA FROM ANAGS WHERE ";
    query=query + "AN_RAGSOC LIKE '%" + inputText1.getValue() + "%' OR ";
    query=query + "AN_NOME LIKE '%" + inputText1.getValue() + "%' OR ";
    query=query + "AN_DATANASCITA LIKE '%" + inputText1.getValue() + "%'";
    resultset=statement.executeQuery(query);
    anagsList = new ArrayList();
    while(resultset.next())
    anagsList.add(new AnagsRecord(resultset.getString(2), resultset.getString(1), resultset.getString(3)));
    resultset.close();
    statement.close();
    connection.close();
    catch(Exception e)
    System.out.println(e);
    return anagsList;
    This is my AnagsRecord class:
    package mypackage.backing;
    public class AnagsRecord
    private String nome;
    private String cognome;
    private String dataNascita;
    public AnagsRecord(String nome, String cognome, String dataNascita)
    setNome(nome);
    setCognome(cognome);
    setDataNascita(dataNascita);
    public String getNome()
    return nome;
    public void setNome(String nome)
    this.nome = nome;
    public String getCognome()
    return cognome;
    public void setCognome(String cognome)
    this.cognome = cognome;
    public String getDataNascita()
    return dataNascita;
    public void setDataNascita(String dataNascita)
    this.dataNascita = dataNascita;
    And this is table component:
    <af:table var="al" emptyText="No records found."
    rows="20" value="#{backing_ADFFaces.anagsList}"
    banding="row" bandingInterval="1">
    <af:column sortable="true" sortProperty="dataNascita">
    <f:facet name="header">
    <af:outputText value="DATA NASCITA"/>
    </f:facet>
    <af:outputText value="#{al.dataNascita}"/>
    </af:column>
    <af:column sortable="true" sortProperty="cognome">
    <f:facet name="header">
    <af:outputText value="COGNOME"/>
    </f:facet>
    <af:outputText value="#{al.cognome}"/>
    </af:column>
    <af:column sortable="true" sortProperty="nome">
    <f:facet name="header">
    <af:outputText value="NOME"/>
    </f:facet>
    <af:outputText value="#{al.nome}"/>
    </af:column>
    </af:table>
    I have already installed the ADF Faces demos (column_sortable.jspx) and it works well, but the backing bean is not very understandable...
    please help me...
    ciao!

    Hi,
    I have the same problem (with another language), national characters are not sorted properly.
    Any pointers how to solve this?
    Regards,
    Patrik

  • ADF FACES: font size problems

    By default, when jdev creates a new .jspx file, it includes the jsp:output statement below:
    <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"/>
    With this statement in place, the font size used by IE is incredibly tiny. When I remove this statement from the page, the font sizes are all "normal."
    Does this make any sense? How would this statement affect all the font sizing on the page?
    Thanks.

    This doctype reference is activating the (rather ironically named) standards mode in Internet Explorer. The current HTML used in ADF Faces renders better in Internet Explorer's quirks mode, though we're hoping to resolve that. The simplest tweak to your .jspx is to remove the "doctype-system" part of that <jsp:output> statement.
    I'll follow up with the JSP DT team to see if this can be tweaked or configured (or, ideally removed, since <afh:html> and <af:document> are already outputting a doctype).

  • ADF Faces selectOneChoice does not raise valueChangeEvent all the time

    When using the following code in my JSF page:
    <af:selectOneChoice id="yearChoice" autoSubmit="true" value="#{selectedDate.startingYear}" binding="#{selectedDate.yearChoice}" required="yes" valueChangeListener="#{selectedDate.valueChanged}">
    <f:selectItem itemLabel="2005" itemValue="2005" />
    <f:selectItem itemLabel="2006" itemValue="2006" />
    <f:selectItem itemLabel="2007" itemValue="2007" />
    <f:selectItem itemLabel="2008" itemValue="2008" />
    <f:selectItem itemLabel="2009" itemValue="2009" />
    </af:selectOneChoice>
    The valueChangeEvent is fired most all of the time, but when you change the choice back to whatever the original was set to, it does not fire. It only fires when you choose something other than the original selection. Even after selecting other values.
    Any help would be greatly appreciated.

    Set "immediate" to false on all of the showDetailItems inside the showOneTab. It currently defaults to true (unlike all other uses of "immediate"); we may revisit that decision shortly.

  • ADF faces - Urgent! - problem in display row-detail

    Hi all, I've maka a post yesterday but I still can't resolve the problem.
    I have a page that display data from the database.
    The amount of data is variable, so I configure the iterator as follow:
    <methodIterator id="XLB_find_user_OLIter" Binds="XLB_find_user_OL.result"
    DataControl="Session_EJB_TDBLocal" RangeSize="10"
    BeanClass="TDB.model.OltdbView" Refresh="always"
    CacheResults="false"/>
    The table have a single selection column and a view detail button.
    when user click the button, the following method is called (in the backing bean):
    public String ElaboraAtt_action() {
    OperationBinding bind=this.bindings.getOperationBinding("XLB_changeToWorkingOn_olTdb");
    int ret=(Integer)bind.execute();
    if(ret==0){
    XLB_changeToWorkingOn_olTdb make some operation on the record and return a result code.
    the bind for XLB_changeToWorkingOn_olTdb is:
    <methodAction id="XLB_changeToWorkingOn_olTdb"
    InstanceName="Session_EJB_TDBLocal.dataProvider"
    DataControl="Session_EJB_TDBLocal"
    MethodName="XLB_changeToWorkingOn_olTdb"
    RequiresUpdateModel="true" Action="999"
    ReturnName="Session_EJB_TDBLocal.methodResults.Session_EJB_TDBLocal_dataProvider_XLB_changeToWorkingOn_olTdb_result">
    <NamedData NDName="username" NDValue="${userState.name}"
    NDType="java.lang.String"/>
    <NamedData NDName="callid" NDValue="${showOl_backing.currentCallid}"
    NDType="java.lang.String"/>
    </methodAction>
    where showOl_backing is the backing bean.
    In the backing bean, the code for current callid is:
    public String getCurrentCallid() {
    JUCtrlValueBindingRef tableRowRef=(JUCtrlValueBindingRef) this.getOl_table().getRowData();
    return (String) tableRowRef.getRow().getAttribute("callid");
    The problem is:
    If the rows change between the rendered page and the next submit, the row retourned from getCurrentCallid() is wrong.
    I've seen that, before start to execute the action, ADF refresh the table with the new values, so I think that the selection is made with an index, but on new values...
    I've tried almous any solution...
    Thanks!
    Luca

    ...ok...finally...I've done...
    simply, i've setted cache resut to true in the iterator.
    When af:pool refresh the table, or when a refresh button is click, a method call execute the operationBindings, and the result are refreshed...
    Hi all!

  • 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

  • OnPageRender method Issue in ADF Faces

    Hi,
    We are using onPageRender method to get user details to use in the page. onPageRender method is working and getting values when we run the page from jDeveloper. The same application when deployed in OC4J, onPageRender method is not working values are not getting from that method.
    is there any other way to implement the same.
    What method we need to use in ADF to get some details in onPage load?
    Thanks

    Hi,
    IE and FF have different browser implementations of keyboard support. While FF works with keycode, e.g. IE works with keychar etc. I don't think that ADF Faces is the problem but your custom JavaScript. Also note that on af:form you can define the ID of a default button that is executed when the user presses "enter". So no need for custom JavaScript
    Frank

  • ADF FACES: font problems on readOnly selectOneChoice

    The output text from an af:selectOneChoice with readOnly="true" is a different font than with readOnly="false" and different than af:inputText with readOnly="true".
    Looking at the generated html, the output from a readOnly selectOneChoice has no class associated with it. The other text elements are given class="x4" (which I think equates to a styleClass of OraFieldText).
    Also, I can't change the font by specifying a styleClass on the af:selectOneChoice - it appears to have no effect on the output html.
    This seems like a bug.
    Thanks.

    You're right that when the selectOneChoice is in readOnly mode, its selectedItem does not have a styleClass associated with it and that setting a styleClass on the readOnly selectOneChoice does not set the styleClass on its selectedItem. This is a bug. Thanks for pointing it out.
    However, you said:
    "Also, I can't change the font by specifying a styleClass on the af:selectOneChoice - it appears to have no effect on the output html."
    In my tests, setting the styleClass attribute on the af:selectOneChoice tag does result in correct markup with a styleClass set on the actual HTML Select control (although, the label doesn't get the user defined styleClass, which is correct behavior). Are you seeing output that doesn't match this?
    Regards,
    Matt Lee
    ADF Faces Team

  • ADF Faces: Making a selectOneChoice in java code?

    I need to make a selectOneChoice to reuse in my pages (country selection) but can't seem to find how to do it on the web?
    here is what i've attempted with the error output...
    -------------------- the java code:
    public void contextInitialized(ServletContextEvent event)
    ServletContext servletContext = event.getServletContext();
    Utils.log(servletContext, "Initializing Supply Chain Management System...");
    // intitilize selectOne component
    CoreSelectOneChoice countrySelectOne = new CoreSelectOneChoice();
    List countrySelectItems = new ArrayList();
    CountryCoordinator countryCoordinator = new CountryCoordinator();
    try
    List all = countryCoordinator.getAllCountries();
    Iterator i = all.iterator();
    for(;i.hasNext();)
    Object object = i.next();
    CoreSelectItem item = new CoreSelectItem();
    item.setValue((Country)object);
    item.setLabel(((Country)object).getCountry_name());
    countrySelectItems.add(item);
    // place the list of select items into the selectOne component
    countrySelectOne.setValue(countrySelectItems);
    servletContext.setAttribute("countrySelectOne", countrySelectOne);
    Utils.log(servletContext, "Initializing Countries [SUCCESS]");
    } catch(Exception e)
    Utils.log(servletContext, "Initializing Countries [FAILED]");
    Utils.log(servletContext, "Initialization complete...");
    ------------------------------ the JSP:
    <af:selectOneChoice label="#{bundle.ADDRESS_COUNTRY}:" required="#{region_entity_address.required_entity_address_country}" binding="#{applicationScope.countrySelectOne}"/>
    ------------------------------ the error:
    15:36:48,984 INFO [STDOUT] Sep 16, 2005 3:36:48 PM oracle.adfinternal.view.face
    s.renderkit.core.xhtml.SimpleSelectOneRenderer _getSelectedIndex
    WARNING: Could not find selected item matching value "CoreSelectItem[UINodeFaces
    Bean, id=null]" in CoreSelectOneChoice[UIXEditableFacesBeanImpl, id=_id30]
    ....

    That's right. JSF produces such IDs. They are causing problems with JAAS login forms, so we should use plain JSPs for login, but for the rest of the tasks such IDs are okay.
    What I meant is that currenty the buttons are not rendered as
    <input type="button" ... />but as pictures embedded in hyperlinks (&lt;a>).
    It's possible, though not likely, that in some future version of ADF Faces some component will be rendered as an HTML element that doesn't support tab ordering (although I haven't really considered if there are such elements). Then the trick with manually setting the tabIndex of the parent HTML element won't work.
    Of course, I deeply appreciate the fact that you take the time to help us on this forum. In fact, I will go ahead and do just that -- I will dynamically set the tabIndex via JavaScript. I was simply wanting to make sure that I wasn't taking such a hack-like approach, if there was a better method.
    Thank you again.
    Best regards,
    Bisser

  • ADF Faces - filtering a selectOneChoice after select from another

    Hi,
    I'm new to ADF faces and I've been experimenting with developing applications using Jdeveloper 10.1.3 and ADF faces. I've run into a little problem.
    I have two selectOnceChoice fields on a page (division and dept.) When user selects a Division I would like to filter the dept. But it seems that the value I get when I try to filter when the div changes is the array index not the value of the division. Basically what I've done is set the valueChangeListener to a function on the backing bean for the Div selectOneChoice and set auto submit to true. If I look at the values on the valueChangeEvent they are the indexes not the actual values. I've tried using ExecuteWithParms in the page def and binding to to #{bindings.div.inputValue} but the results are the same the inputValue at this point contains the array pointer not the actual value. as seem by turning on -Djbo.debugoutput=console.
    Does anybody have any suggestions?
    Thanks
    Chris

    Scott - check out Re: How to do? Save-and-Return with ADF Faces and ADF BC, JDev 10.1.3
    John

  • ADF Faces -- af:inputText + autosubmit + navigate to next field.  How?

    Hi,
    I have the following problem:
    I have an ADF Faces inputText component. I have set its autoSubmit property to "true" because I wish to do some additional processing of the value.
    <af:inputText autoSubmit="true" ........... />However, if I change the value and press the "Tab" key, the navigation to the next field does NOT occur. I can only navigate to the next field, if no change has been made to the value of the inputText field.
    Does anybody know how I can force the focus to pass on to the next field even if the inputText's value is changed?
    Best regards,
    Bisser

    Here's a super-minimalistic sample:
    <afh:body>
        <h:form>
            <af:inputText label="Name:" autoSubmit="true"/>
            <af:commandButton text="Submit"/>
        </h:form>
    </afh:body>Just type something in the field and then press the TAB key. The navigation won't happen.
    We use IE6 because that's the client's requirement. The final product must run on IE6. I have tried with IE versions:
    6.0.2900.2180.xpsp.050622-1524 with SP2
    6.0.2900.2180.xpsp_sp2_gdr.070227-2254

  • 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

  • Problem deploying ADF Faces component demo to Glassfish 3.1.2

    Hi,
    Jdev 11.1.2.3
    ADF Essentials
    Glassfish 3.1.2
    Windows 7 (64-bit)
    Following the instructions on https://blogs.oracle.com/shay/entry/deploying_oracle_adf_applications_to I'm able to deploy and run a very simple ADF Faces application.
    But when I try to deploy ADF Faces component demo (rfc-dvt-demo.war) I get following error:
    [#|2012-10-17T10:06:48.541+0200|SEVERE|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=27;_ThreadName=Thread-2;|
    XML-22101: (Fatal Error) DOMSource node as this type not supported.
    |#]
    [#|2012-10-17T10:06:48.541+0200|SEVERE|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=27;_ThreadName=Thread-2;|
    XML-22900: (Fatal Error) An internal error condition occurred.
    |#]
    [#|2012-10-17T10:06:48.557+0200|SEVERE|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=27;_ThreadName=Thread-2;|
    XML-22101: (Fatal Error) DOMSource node as this type not supported.
    |#]
    [#|2012-10-17T10:06:48.557+0200|SEVERE|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=27;_ThreadName=Thread-2;|
    XML-22900: (Fatal Error) An internal error condition occurred.
    |#]
    [#|2012-10-17T10:06:48.572+0200|SEVERE|glassfish3.1.2|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=27;_ThreadName=Thread-2;|Critical error during deployment:
    com.sun.faces.config.ConfigurationException: java.util.concurrent.ExecutionException: com.sun.faces.config.ConfigurationException: Unable to parse document 'jndi:/server/faces-11.1.2.3.0/WEB-INF/dvtManagedBeans.xml': XML-22900: (Fatal Error) An internal error condition occurred.
         at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:672)
         at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:322)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:225)
         at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:4750)
         at com.sun.enterprise.web.WebModule.contextListenerStart(WebModule.java:550)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:5366)
         at com.sun.enterprise.web.WebModule.start(WebModule.java:498)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:917)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:901)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:733)
         at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2018)
         at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1669)
         at com.sun.enterprise.web.WebApplication.start(WebApplication.java:109)
         at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)
         at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269)
         at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:301)
         at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461)
         at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
         at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:389)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:353)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:363)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1085)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:95)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1291)
         at org.glassfish.deployment.autodeploy.AutoOperation.run(AutoOperation.java:145)
         at org.glassfish.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:575)
         at org.glassfish.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:461)
         at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:389)
         at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:380)
         at org.glassfish.deployment.autodeploy.AutoDeployService$1.run(AutoDeployService.java:220)
         at java.util.TimerThread.mainLoop(Timer.java:512)
         at java.util.TimerThread.run(Timer.java:462)
    Caused by: java.util.concurrent.ExecutionException: com.sun.faces.config.ConfigurationException: Unable to parse document 'jndi:/server/faces-11.1.2.3.0/WEB-INF/dvtManagedBeans.xml': XML-22900: (Fatal Error) An internal error condition occurred.
         at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
         at java.util.concurrent.FutureTask.get(FutureTask.java:83)
         at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:670)
         ... 31 more
    Caused by: com.sun.faces.config.ConfigurationException: Unable to parse document 'jndi:/server/faces-11.1.2.3.0/WEB-INF/dvtManagedBeans.xml': XML-22900: (Fatal Error) An internal error condition occurred.
         at com.sun.faces.config.ConfigManager$ParseTask.call(ConfigManager.java:920)
         at com.sun.faces.config.ConfigManager$ParseTask.call(ConfigManager.java:865)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:656)
         ... 31 more
    Caused by: javax.xml.transform.TransformerException: XML-22900: (Fatal Error) An internal error condition occurred.
         at oracle.xml.jaxp.JXTransformer.reportException(JXTransformer.java:915)
         at oracle.xml.jaxp.JXTransformer.transform(JXTransformer.java:502)
         at com.sun.faces.config.ConfigManager$ParseTask.getDocument(ConfigManager.java:1013)
         at com.sun.faces.config.ConfigManager$ParseTask.call(ConfigManager.java:911)
         ... 35 more
    Caused by: javax.xml.transform.TransformerException: XML-22101: (Fatal Error) DOMSource node as this type not supported.
         at oracle.xml.jaxp.JXTransformer.reportException(JXTransformer.java:917)
         at oracle.xml.jaxp.JXTransformer.transform(JXTransformer.java:488)
         ... 37 moreI have also tried
    - to re-create the WAR file with "platform=Glassfish" in the deployment profile but with the same result
    - to create an EAR file with "platform=Glassfish" in the deployment profile but with the same result (I have read in the ADF docs that for ADF applications deployment of WAR files only works witin EAR files)
    From my knowledge the ADF Faces Component demo should be deployable on the certified and supported version of Glassfish as it consists of ADF Essentials features only.
    Anyone already succeeded with deployment of ADF Faces demo application on Glassfish?
    regards
    Peter

    Okay, so my problem was that the URL I was using was the OC4J launch url (http://host/applicationname and my welcome-file-list was
    <welcome-file-list>
    <welcome-file>LoginPage.jsp</welcome-file>
    </welcome-file-list>
    I tried these two variations
    <welcome-file-list>
    <welcome-file>LoginPage.faces</welcome-file>
    </welcome-file-list>
    <welcome-file-list>
    <welcome-file>faces/LoginPage.jsp</welcome-file>
    </welcome-file-list>
    and neither of these worked either. (I did restart the OC4J node between each attempt.)
    I finally created an index.html file for the application with an automatic refresh content="0;URL=faces/LoginPage.jsp" and this is working.
    Should the welcome-file-list have worked? Am I doing something wrong here?
    Thanks for the help. Mark

Maybe you are looking for

  • How can I Print the next 4 or 5 weeks from iCal in month view (not simply complete months)

    How can I Print the next 4 or 5 weeks from iCal in month view (not simply complete months). I'd like to print the next (up an coming) weeks of my calendar from iCal in month view - The idea is to get this information on 1 sheet of A4.. just like the

  • Bean-managed persistence (BMP) in EJB 3.0

    I've been on the google for a few days now and haven't found one single notion on bean-managed persistence in EJB 3.0 specification. Even the official specification PDFs don't mention it :( Help! I need BMP! Does anybody know what's the situtation in

  • Hyperlink to a later page/text in a pages document

    how do i hyperlink a piece of text, say on page one of a 66 pages document, to another pece of text on page 53 of the same document?

  • Moving, brush glitch in illustrator CC (moves to random places)

    When I use anything in illustrator CC ( hand, move, pencil, brush) the tool goes to a consistently random point on the far left or off the illustrator field completely has anyone had this issues?? very frustrating

  • Sap connection

    Hello guys , For sap production system we have 4 nod. In smlg we have defin  a group that sends the desired nod. Connecting the sap-gui on one of the nodes can make the system both directly and by group . He wants to block access connections that com