ADF FACES: af:table not rendering all columns

I'm using ADF EA 17 with myFaces 1.0.9 on JBoss 4.0.1/JVM 1.4.2_07-b05. The af:table is embedded within an af:panelgroup (being body of af:panelbox).
The af:table is not rendering all columns (only last 2 out of 8 cols total). The model behind the af:table is a java.util.List. Debugging shows that the list is filled up with beans correctly and that each of the properties of such a bean corresponding to a table column are also set correctly.
Strange thing is that sometimes all columns are rendered ok. Especially if i make heavy changes on the jsp (e.g. removing all but 2 cols from the af:table) and dropping it into the .../jboss/server/../tmp/deploy/tmpXYZ-exp.war directory. Restarting JBoss results in the old behaviour. Also closing browser and re-opening it yields to the missing columns again.
I've set breakpoints on the bean properties representing on table column and i can see, that the getter methods aren't called (all but those 2 that get rendered finally)
Table has multiselection enabled with 1 command button.
This happens with both IE 6 and Firefox 1.0.4; no oracle, myFaces exceptions visible on console or any log file.
Has anybody made same experiences so far or an idea what the problem really is ?
best regards,
Christoph.

I've tried it also with a plain af:table without any surrounding af:panelgroup or/and af:panelbox. Same result.
The bean holding the table-model (the java.util.List) is in session-scope. the table-model is update by an actionListener fetching values from an EJB. Could the session-scope be a problem ?
Potential candidates from my point of view, that might cause trouble here:
--) Caching (i've seen that sort of "CachedRenderers" are used
--) partial page rendering
--) multi-threading issue.
--) or any silly mistake of mine :-)
best regards,
Christoph

Similar Messages

  • Table not displaying all column

    hi my table>adf table does not display all column when i run the application it only display the first three column but in design it display all column

    hi user,
    i think so some panelcollection is closely strecthed, so only this problem.
    go to panelcollection make it as styleClass=" AFStretchWidth" .
    solution:
    if you are used panelcollection inside af:table means it will suits.
    or else go to the af:table add this
    styleClass=" AFStretchWidth"
    columnStretching="last"
    or else some problem:
    please elaborate or else paste the part of the code.

  • ADF Faces components are not rendered in Jdeveloper visual editor

    Hi!
    I'm using Jdeveloper 1013 Developer Preview. I found that the components of ADF Faces EA16 are not shown on the visual editor in Jdeveloper, but the ADF Faces EA15 components are shown. I'm just wondering if this is normal, and there is anything that can be done to fix this?
    Meen

    I know there's a recent release with a visual editor problem, but I'm not sure which one it is. This thread says you need a fresh install? Can you try that?
    Re: ADF Faces tutorial/code sample for data table?

  • 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 Core Table, TableSelectOne question

    Greetings
    I am using ADF Faces Core Table to display a list and I have it setup with TableSelectOne, it works great. My question is this, I set required = true on the select button and it works. If I dont select one it no longer submits. My question is how do i get the error message back out I tried adding an af:message tag with from = tableSelectOne1 and I dont get anything back out. Is there a way to get this error message out so I can display it for the end user?
    Thanks
    tro

    Hi,
    Try using af:messages instead, as it displays all messages added to the FacesContext.
    Regards.
    Fábio

  • ADF Faces af:table partialTriggers update column footer

    I have table based on SortableModel (stored in session) with one column as input & other column as formula based on input field both as numeric.
    I have ValueChangeEvent on input field,which calculate new value for formula column. It is updated on page immediately. I am also computing summary for both column & store it sessionbean. But ValueChangeEvent does not update these values, I have to refresh page manually to see new totals. I have linked both the outputText field to inputText by partialTriggers property.
    If I move these outputText out of tablefooter they get updated immediately.
    I tried to link af:table & columns to inputText by partialTriggers but do not work.
    How I can update coulmn footer immediately if one of the field in table changed?
    Thanks, Yogesh
    -- Column footer : Does not update immediately
    <f:facet name="footer">
    <af:outputText value="#{PartyTableBean.newTotalBalance}"
    binding="#{backing_FinancialClose.newTotalBalance}"
    id="newTotalBalance" partialTriggers="newInvoiced">
    <af:convertNumber currencySymbol="$" type="currency"/>
    </af:outputText>
    </f:facet>
    -- outputText outside of table : updates immediately
    <af:outputText value="#{PartyTableBean.newTotalBalance}" id="newTotalBalance22"
    partialTriggers="newInvoiced" binding="#{backing_FinancialClose.outputText7}">
    <af:convertNumber currencySymbol="$" type="currency"/>
    </af:outputText>

    I was mistakenly believing that you couldn't use a selectOneChoice in an af:table given some experimentation where they simply failed to render at all.
    It turns out that I had a hadn'e created the appropriate setter method for the property. However, instead of making the data readOnly (as most of the ADF FACES controls do) it just didn't render anything. Thus making me think it just didn't work inside of a table.
    FYI - in case this happens to anyone else.

  • ADF FACES: af:table and complex column data

    Using EA15.
    I want to use an af:table to allow the in-place editing of the data. However, I have some fields that are not simple text entry fields. Two of them would ideally use af:selectOneList elements. This doesn't work given the limitations of how af:column elements work.
    Is there anyone out there creating complex, in-place edit tables? If so, how are you doing it?
    Thanks.

    I was mistakenly believing that you couldn't use a selectOneChoice in an af:table given some experimentation where they simply failed to render at all.
    It turns out that I had a hadn'e created the appropriate setter method for the property. However, instead of making the data readOnly (as most of the ADF FACES controls do) it just didn't render anything. Thus making me think it just didn't work inside of a table.
    FYI - in case this happens to anyone else.

  • HOW to add Dynamic Columns in ADF Faces CORE Table

    In ADF im going to display the dynamic column in Coretable,
    Header are displaying very fine. but im unable to display rows sucessfuly,how to resolve.
    Second thing is that JSF page isn't getting the value from dataList, whats wrong in JSF code.
    // JSF PAGE CODE
         <af:table binding="#{backing_test1.table1}" id="table1"
    value="{backing_test1.dataList}" var="myRec"/>
         public void setTable1(CoreTable table1) {
         this.table1 = table1;
         public CoreTable getTable1() {
    //create this table
    table1 = new CoreTable();
    CoreColumn dynamicCol;
    CoreOutputText outText;
    Application app=FacesContext.getCurrentInstance().getApplication();
    DCIteratorBinding iter = (DCIteratorBinding)bindings.get("listAllMonthsIter");
    RowSetIterator rsIter = iter.getRowSetIterator();
    rsIter.reset();
    Row row;
    while (rsIter.hasNext()) {
    row = rsIter.next();
    String header = (String)row.getAttribute("element");
    // element contain the value JAN, FEB...
    dynamicCol = new CoreColumn();
    dynamicCol.setHeaderText(header);
    String currRec = table1.getVar();
    outText = new CoreOutputText();
    ValueBinding vb = app.createValueBinding("#{myRec.value}");
    outText.setValueBinding("value",vb);
    outText.setRendererType("Text");
    dynamicCol.getChildren().add(outText);
    table1.getChildren().add(dynamicCol);
    public void setDataList(List dataList) {
    this.dataList = dataList;
    public List getDataList() {
    BindingContainer bindings = getBindings();
    OperationBinding operationBinding =
    bindings.getOperationBinding("listAllMonths");
    if (operationBinding == null)
    return null;
    List dataList = (Vector)operationBinding.execute();
    return dataList;
    }

    Well issue is that
    I have a list of values that can be chnaged any time during application execution sya its list of Fav Fruits..
    and in an other page i need a data table having these fruits as coulmns and their details as rows...
    how to achieve this..
    we can not guess the number of columns before time.. so can make the estimate and hide them.

  • "ADF Navigation List" does not shows all items that are in table

    Hi
    Thank you for reading my post
    I am tring to use "ADF Navigation List" , (it can be draged from data control platte into a form)
    but when i drag and drop it on my form it does not shows all items that are available in my table ?
    it just shows 10 item when i have 60 record in my Table.
    Thanks

    Hi,
    in the pageDef ile, select the iterator for this list and set the fetch size to -1 (its 10 by default)
    Frank

  • DB Adapter not returning all columns from a sql table type

    Using Soa Suite 10.1.3.4.
    Calling DB Adapter from bpel to a database package procedure with an OUT NOCOPY parameter based on a TABLE OF type.
    It works fine except that I only get the first 14 columns out of 55.
    Can query all columns from Sqldeveloper or Sqlplus.
    XML skema reflects all columns correct.
    Same result without NOCOPY in parameter.
    HaveI missed some details/limitations?

    hi
    here is how I solved it.
    first create custom view that will find all requred data.
    in my case it was
    tables :
    ADRCITYT
    ADRCITY
    ADRPCDCITY
    T005S
    T005U
    joins :
    ADRCITY     CLIENT     =     ADRCITYT     CLIENT
    ADRCITY     COUNTRY     =     ADRCITYT     COUNTRY
    ADRCITY     CITY_CODE     =     ADRCITYT     CITY_CODE
    ADRCITY     CLIENT     =     ADRPCDCITY     CLIENT
    ADRCITY     COUNTRY     =     ADRPCDCITY     COUNTRY
    ADRCITY     CITY_CODE     =     ADRPCDCITY     CITY_CODE
    T005S     MANDT     =     ADRCITY     CLIENT
    T005S     BLAND     =     ADRCITY     REGION
    T005S     MANDT     =     T005U     MANDT
    T005S     LAND1     =     T005U     LAND1
    T005S     BLAND     =     T005U     BLAND
    and finaly searh help
    ORT01     3     3     PAD_ORT01
    CITY_CODE     0     2     CITY_CODE
    PSTLZ     1     1     PSTLZ_HR
    STATE     4     4     REGIO
    BEZEI     5     5     BEZEI20
    COUNTRY     0     6     LAND1
    LANGU     0     7     LANGU

  • ADF Faces EA15: table update not working properly after dialog return event

    Hi,
    in my application I have a table with read-only records and an edit button for each row.
    The button triggers a dialog where one field of of the record can be edited.
    The record is a bean which is put into processScope.
    After accepting the change in the dialog the bean makes an update in the database changing the order of the records in the table on the launching page.
    The return event triggers a re-rendering of the launching page (which I can see from the output of a phase listener) and the table model gets updated but the table output is not updated visually.
    However, if I call the dialog on another record I don't get the record I see in the table but instead I get the record which I'd expected if the table re-rendered properly.
    Do I have to trigger any kind of event on the table now so that the framework knows that a change has taken place and that the table has to be re-rendered? There is no difference whether I use PPR or not. It used to work in EA14.
    Thanks,
    Achim

    In EA14, the return from the dialog required a full-page refresh (whether the dialog was launched with PPR or not didn't matter). In EA15, it's done with PPR if possible. This avoids the flash (and re-scrolling, etc.), but means you do need to tell us what's going to get changed because of the return. You can use partialTriggers on the table with the "id" of the button to make this happen.

  • ADF FACES, AF:TABLE

    Hello all
    I am just trying to put two tables in a JSP in a different section each one.
    I can't display the two at the same time..., each one works when i delete the other one. I mean...i can see in the desing window the two tables...but when i run it i just see in the explorer one table.
    The rows to be displayed are taken from a LIST of values, as I said before, the results are correct but there is just one table in execution run time.
    I will put the jsp code...I hope somebody could help me
    Thanks
    &lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "[http://www.w3.org/TR/html4/loose.dtd]"&gt;
    &lt;%@ page contentType="text/html;charset=windows-1252"%&gt;
    &lt;%@ taglib uri="[http://java.sun.com/jsf/html]" prefix="h"%&gt;
    &lt;%@ taglib uri="[http://java.sun.com/jsf/core]" prefix="f"%&gt;
    &lt;%@ taglib uri="[http://xmlns.oracle.com/adf/faces]" prefix="af"%&gt;
    &lt;%@ taglib uri="[http://xmlns.oracle.com/adf/faces/html]" prefix="afh"%&gt;
    &lt;f:view&gt;
    &lt;f:loadBundle basename="mx.com.uaem.htb.sspoc.portal.resources" var="bundle"/&gt;
    &lt;afh:html&gt;
    &lt;afh:head title="Consulta Referencia"&gt;
    &lt;meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/&gt;
    &lt;/afh:head&gt;
    &lt;afh:body&gt;
    &lt;h:form&gt;
    &lt;af:page title="Expediente Electr&oacute;nico"&gt;
    &lt;f:facet name="branding"&gt;
    &lt;af:objectImage source="/images/logo.jpg"/&gt;
    &lt;/f:facet&gt;
    &lt;f:facet name="brandingApp"&gt;
    &lt;af:outputLabel value="#{bundle[\'header.title\']}"
    inlineStyle="font-weight:bold; margin-left:8.0px;"/&gt;
    &lt;/f:facet&gt;
    &lt;f:facet name="appCopyright"&gt;
    &lt;af:outputFormatted value="#{bundle[\'footer.copyright\']}"/&gt;
    &lt;/f:facet&gt;
    &lt;f:facet name="appPrivacy"&gt;
    &lt;af:panelGroup layout="horizontal"
    inlineStyle="margin-bottom:16.0px;margin-top:8.0px;"&gt;
    &lt;af:outputFormatted value="#{bundle[\'login.loginText\']} #{sessionScope.connectionInfos.username}"/&gt;
    &lt;af:objectSpacer width="10" height="10"/&gt;
    &lt;af:commandLink text="#{bundle[\'page.logout\']}"
    action="#{LoginBean.logout}" immediate="true"/&gt;
    &lt;/af:panelGroup&gt;
    &lt;/f:facet&gt;
    &lt;f:facet name="appAbout"/&gt;
    &lt;af:messages inlineStyle="layout=\'table\'"/&gt;
    &lt;afh:rowLayout width="80%"&gt;
    &lt;afh:cellFormat width="20%" valign="top" halign="left"
    inlineStyle="padding:3.0px;"&gt;
    &lt;af:panelBox text="Paciente" width="100%"
    background="transparent"&gt;
    &lt;af:outputLabel value="#{bundle[\'showResults.patientName\']}"
    inlineStyle="font-weight:bold;"/&gt;
    &lt;af:objectSeparator/&gt;
    &lt;af:outputText value="Nombre: #{mostrarResultado1.patient.firstName}"
    inlineStyle="font-size:10.0pt;"/&gt;
    &lt;af:outputText value="Apellido: #{mostrarResultado1.patient.lastName}"
    inlineStyle="font-size:10.0pt;"/&gt;
    &lt;af:outputText value="G&eacute;nero: #{mostrarResultado1.patient.genderValue}"
    inlineStyle="font-size:10.0pt;"/&gt;
    &lt;af:outputText value="fecha: #{mostrarResultado1.patient.birthdayValue}"
    inlineStyle="font-size:10.0pt;"/&gt;
    &lt;af:outputText value="Educaci&oacute;n: #{mostrarResultado1.patient.nivelEdu}"
    inlineStyle="font-size:10.0pt;"/&gt;
    &lt;af:outputText value="Religi&oacute;n: #{mostrarResultado1.patient.religion}"
    inlineStyle="font-size:10.0pt;"/&gt;
    &lt;af:outputText value="CURP: #{mostrarResultado1.patient.curp}"
    inlineStyle="font-size:10.0pt;"/&gt;
    &lt;af:objectSpacer width="10" height="10"/&gt;
    &lt;af:outputLabel value="#{bundle[\'showResults.patientAddress\']}"
    inlineStyle="font-weight:bold;"/&gt;
    &lt;af:objectSeparator/&gt;
    &lt;af:outputText value="Calle: #{mostrarResultado1.patient.streetAddressValue}"
    inlineStyle="font-size:10.0pt;"/&gt;
    &lt;af:outputText value="Ciudad: #{mostrarResultado1.patient.cityValue}"
    inlineStyle="font-size:10.0pt;"/&gt;
    &lt;af:outputText value="Estado: #{mostrarResultado1.patient.stateValue}"
    inlineStyle="font-size:10.0pt;"/&gt;
    &lt;af:outputText value="Pa&iacute;s: #{mostrarResultado1.patient.countryValue}"
    inlineStyle="font-size:10.0pt;"/&gt;
    &lt;af:outputText value="CP. #{mostrarResultado1.patient.zipCodeValue}"
    inlineStyle="font-size:10.0pt;"/&gt;
    &lt;/af:panelBox&gt;
    &lt;/afh:cellFormat&gt;
    &lt;afh:cellFormat width="30%" valign="top" halign="left"
    inlineStyle="padding:3.0px;"&gt;
    &lt;af:panelBox text="Referencia M&eacute;dica" width="100%"
    background="light"&gt;
    &lt;af:panelGroup/&gt;
    &lt;af:panelHorizontal&gt;
    &lt;af:panelForm&gt;
    &lt;f:facet name="footer"/&gt;
    &lt;h:graphicImage url="/images/p2.jpg" height="88"
    width="119"/&gt;
    &lt;/af:panelForm&gt;
    &lt;af:panelForm&gt;
    &lt;f:facet name="footer"&gt;
    &lt;h:panelGroup&gt;
    &lt;af:commandButton text="#{bundle[\'mostrarResultados1.nuevo\']}"
    action="nuevaReferencia"/&gt;
    &lt;/h:panelGroup&gt;
    &lt;/f:facet&gt;
    &lt;af:table emptyText="No hay registros de Referencia Medica"
    banding="row" bandingInterval="1" width="40%"
    binding="#{ExpedienteListBean.dataTable}"
    value="#{ExpedienteListBean.resultListRefe}"
    var="referencia"&gt;
    &lt;af:column sortable="false"
    headerText="#{referencia.refFecha}"&gt;
    &lt;af:commandLink text="#{referencia.refFecha}"
    action="showReferencia"&gt;
    &lt;f:param name="hola" value="#{referencia.id}"/&gt;
    &lt;/af:commandLink&gt;
    &lt;/af:column&gt;
    &lt;/af:table&gt;
    &lt;af:commandLink text="REF 1, 01-Nov-2007"
    action="#{mostrarResultado1.mostrarReferencia}"/&gt;
    &lt;/af:panelForm&gt;
    &lt;/af:panelHorizontal&gt;
    &lt;/af:panelBox&gt;
    &lt;af:objectSpacer width="10" height="10"/&gt;
    &lt;af:panelBox text="Diagn&oacute;stico M&eacute;dico" width="100%"
    background="light"&gt;
    &lt;af:panelGroup/&gt;
    &lt;af:panelHorizontal&gt;
    &lt;af:panelForm&gt;
    &lt;f:facet name="footer"/&gt;
    &lt;h:graphicImage url="/images/op3.jpg" height="88"
    width="119"/&gt;
    &lt;/af:panelForm&gt;
    &lt;af:panelForm&gt;
    &lt;f:facet name="footer"&gt;
    &lt;h:panelGroup&gt;
    &lt;af:commandButton text="#{bundle[\'mostrarResultados1.nuevo\']}"
    action="nuevo"/&gt;
    &lt;/h:panelGroup&gt;
    &lt;/f:facet&gt;
    &lt;af:table emptyText="No hay registros de Referencia Medica"
    banding="row" bandingInterval="1" width="40%"
    binding="#{ExpedienteListBean.dataTable}"
    value="#{DiagListBean.resultListDiag}"
    var="diagnostico"&gt;
    &lt;af:column sortable="false"
    headerText="#{diagnostico.refFecha}"&gt;
    &lt;af:commandLink text="#{diagnostico.refFecha}"
    action="mostrarDiag"&gt;
    &lt;f:param name="hola" value="#{diagnostico.id}"/&gt;
    &lt;/af:commandLink&gt;
    &lt;/af:column&gt;
    &lt;/af:table&gt;
    &lt;af:commandLink text="REF 1, 01-Nov-2007"
    action="mostrarDiag"/&gt;
    &lt;/af:panelForm&gt;
    &lt;/af:panelHorizontal&gt;
    &lt;/af:panelBox&gt;
    &lt;/afh:cellFormat&gt;
    &lt;/afh:rowLayout&gt;
    &lt;af:commandButton text="Cancelar" action="regresar" immediate="true"/&gt;
    &lt;/af:page&gt;
    &lt;/h:form&gt;
    &lt;/afh:body&gt;
    &lt;/afh:html&gt;
    &lt;/f:view&gt;Thanks again
    Edited by: user743004 on Nov 21, 2008 7:43 AM
    Edited by: user743004 on Nov 21, 2008 7:47 AM

    Hello all
    The problem is fixed now
    What I did is the following...
    I used a afh:cellFormat (inside I put two af:PanelHorizontal at the same level each one)
    ------------->af:PanelHorizontal (containing one Table)
    ------------->af:PanelHorizontal (containing one Table)
    At the beginning I had one bean with two methods returning a List each one (one method for the first table and the second method for the second table), but the problem here is tha de BINDING element of the two table was the same (binding="#{DiagListBean.dataTable}") even when te value element was different for both tables...it didin't work
    So I cread two different beans, one for each table...and then i selected a different binding element for each table (because having two beans i can have two binding elements)
    I will put the code here, but i don't know how to put it with xml format (including spaces). I hope this can help some ppl
    TABLE 1
    <af:table emptyText="No hay registros de Referencia Medica"
    banding="row" bandingInterval="1" width="40%"
    binding="#{ExpedienteListBean.dataTable}"
    value="#{ExpedienteListBean.resultListRefe}"
    var="referencia">
    <af:column sortable="false"
    headerText="#{referencia.refFecha}">
    <af:commandLink text="#{referencia.refFecha}"
    action="showReferencia">
    <f:param name="hola" value="#{referencia.id}"/>
    </af:commandLink>
    </af:column>
    </af:table>
    TABLE 2
    <af:table emptyText="No hay registros de Referencia Medica"
    banding="row" bandingInterval="1" width="40%"
    binding="#{DiagListBean.dataTable}"
    value="#{DiagListBean.resultListDiag}"
    var="diagnostico">
    <af:column sortable="false"
    headerText="#{diagnostico.refFecha}">
    <af:commandLink text="#{diagnostico.refFecha}"
    action="mostrarDiag">
    <f:param name="hola" value="#{diagnostico.id}"/>
    </af:commandLink>
    </af:column>
    </af:table>
    Thanks

  • Bug ADF Faces: af:table

    Hello,
    I found a new bug while working with ADF Faces. If you have a form on a page as well as a table and one of the field in the form is flagged required, then the table won't be sortable unless a value is put in the required field. The same holds true for row navigation.
    I already thought about flagging the table as immediate. That fix the row navigation but not the sorting.
    Regards,
    Simon Lessard

    Hello Frank,
    Thank you for the reply. Here's the complete project.
    It's only a little example to show ADF Faces components without any specific model technology. Therefore, the project is a single project with any well defined separation. As you can see, the table is based on a collection completely separated from the form.
    Note: I agree that sorting should fail with a required field if the table is not immediate. However, if it's I see no reason why it wouldn't work since the table and the form are not linked.
    Anyway, here's the case.
    1. A "shop" managed bean:
    import java.util.ArrayList;
    import java.util.List;
    public class ShopBean {
        private Product newProduct;
        private List products;
        public ShopBean() {
            products = new ArrayList();
            newProduct = new Product();
        public String addNewProduct() {
            products.add(newProduct);
            newProduct = new Product();
            return null;
        public Product getNewProduct() {
            return newProduct;
        public void setNewProduct(Product newProduct) {
            this.newProduct = newProduct;
        public List getProducts() {
            // I also tried to return a CollectionModel here, but it didn't change anything
            return products;
        public void setProducts(List products) {
            this.products = products;
    }2. A product class:
    public class Product {
        private String name;
        private String description;
        private Double price;
        public Product() {
        public String getName() {
            return name;
        public void setName(String name) {
            this.name = name;
        public String getDescription() {
            return description;
        public void setDescription(String description) {
            this.description = description;
        public Double getPrice() {
            return price;
        public void setPrice(Double price) {
            this.price = price;
    }3. A single page:
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:af="http://xmlns.oracle.com/adf/faces"
              xmlns:afh="http://xmlns.oracle.com/adf/faces/html">
      <jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
                  doctype-system="http://www.w3.org/TR/html4/loose.dtd"
                  doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
      <jsp:directive.page contentType="text/html;charset=windows-1252"/>
      <f:view>
        <f:loadBundle basename="com.dmr.cours.jsf.resources.messages" var="msg"/>
        <afh:html>
          <afh:head title="#{msg['page.title']}">
            <meta http-equiv="Content-Type"
                  content="text/html; charset=windows-1252"/>
          </afh:head>
          <afh:body>
            <h:form>
              <af:panelPage title="#{msg['title.page']}">
                <f:facet name="menu1">
                  <af:menuTabs>
                    <af:commandMenuItem text="#{msg['menu1.application.label']}"
                                        selected="true"/>
                  </af:menuTabs>
                </f:facet>
                <f:facet name="menu2">
                  <af:menuBar>
                    <af:commandMenuItem text="#{msg['menu2.welcome.label']}"/>
                    <af:commandMenuItem text="#{msg['menu2.products.label']}"
                                        selected="true"/>
                  </af:menuBar>
                </f:facet>
                <f:facet name="branding">
    <- Using SRDemo branding because no one sane want to
    see a branding made by me, using no branding works as well ->
                  <af:objectImage source="/images/SRBranding.gif"/>
                </f:facet>
                <af:panelHeader text="#{msg['title.new']}">
                  <af:panelForm>
                    <f:facet name="footer">
                      <af:panelButtonBar>
                        <af:commandButton text="#{msg['action.add']}"
                                          action="#{shop.addNewProduct}"/>
                      </af:panelButtonBar>
                    </f:facet>
    <- Removing the required attribute here makes sorting
    and row navigation functional again. ->
                    <af:inputText label="#{msg['product.name']}"
                                  value="#{shop.newProduct.name}" required="true"/>
                    <af:inputText label="#{msg['product.price']}"
                                  value="#{shop.newProduct.price}">
                      <f:convertNumber minFractionDigits="2"
                                       maxFractionDigits="2"/>
                      <f:validateDoubleRange minimum="0"/>
                    </af:inputText>
                    <af:inputText label="#{msg['product.description']}"
                                  value="#{shop.newProduct.description}" rows="5"/>
                  </af:panelForm>
                </af:panelHeader>
                <af:panelHeader text="#{msg['title.list']}">
                  <af:table value="#{shop.products}"
                            var="product" rows="5" banding="row"
                            bandingInterval="1" emptyText="#{msg['list.empty']}"
                            immediate="true">
                    <af:column sortProperty="name" sortable="true"
                               headerText="#{msg['product.name']}">
                      <af:outputText value="#{product.name}"/>
                    </af:column>
                    <af:column sortable="false"
                               headerText="#{msg['product.description']}">
                      <af:outputText value="#{product.description}"/>
                    </af:column>
                    <af:column sortProperty="price" sortable="true"
                               headerText="#{msg['product.price']}">
                      <af:outputText value="#{product.price}">
                        <af:convertNumber type="currency"/>
                      </af:outputText>
                    </af:column>
                  </af:table>
                </af:panelHeader>
              </af:panelPage>
            </h:form>
          </afh:body>
        </afh:html>
      </f:view>
    </jsp:root>4. A property files
    page.title = Test shop page
    menu1.application.label = MyShop.com
    menu2.products.label = Product management
    menu2.welcome.label = Home
    title.page = Product management
    title.new = New product's data
    title.list = Existing product list
    action.add = Add to product list
    product.name = Product's name
    product.price = Price
    product.description = Description
    list.empty = No product yet.5. The /images/SRBranding.gif file.
    EDIT: Forgot to add the required field and "fixed" the comment that the forum was erasing. =P
    EDIT: Added a note.
    Message was edited by:
    Simon Lessard

  • ADF Faces 16 Components not displaying in Disign Tab

    I am trying to create a page with the ADF Faces Table component. When I add the component to the page it tells me to restart JDeveloper (as expected). When I restart JDev the page shows up blank in the designer tab. The source tab seems to have all the code.
    Also, when I run the project the page does display with the header text but without the table.
    Any ideas on how to get the components to show in the designer?

    btw, here is the jsp code:
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/EA16"
    xmlns:afh="http://xmlns.oracle.com/adf/faces/EA16/html">
    <jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
    doctype-system="http://www.w3.org/TR/html4/loose.dtd"
    doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <f:view>
    <afh:html binding="#{backing_JSFCustomerUwq.html1}">
    <afh:head title="JSFCustomerUwq"
    binding="#{backing_JSFCustomerUwq.head1}">
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    <style type="text/css">
    body {
    background-color: #ffffff;
    </style>
    </afh:head>
    <afh:body binding="#{backing_JSFCustomerUwq.body1}">
    <link href="css/blaf.css" rel="stylesheet" media="screen"/>
    <h2>
    My Delinquent Customer Work List
    </h2>
    <p>
    </p>
    <p>
    </p>
    <p>
    </p>
    <p>
    </p>
    <p>
    <af:table binding="#{backing_JSFCustomerUwq.table1}" banding="Row"
    bandingInterval="2" rows="5"
    value="#{CustomerUwqBean.customers}" var="DelCustomers"/>
    </p>
    </afh:body>
    </afh:html>
    </f:view>
    </jsp:root>

  • ADF-Faces: AdfFacesFilter has not been installed  ....but it is!?

    Hello,
    I know this sounds like already discussed but my case is a little different.
    I have got two web applications, one for testing that just contains ADF-Faces and the other one is the actual project with ADF-Faces, Spring(JSF variable resolver), SessionListener, Filter ec.
    In the actual project I get (after first call a faces url) the logging message:
    oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl verifyFilterIsInstalled
    WARNUNG: The AdfFacesFilter has not been installed. ADF Faces requires this filter for proper execution.
    In the test project with the same ADF-Faces configuration(but only ADF-Faces, no Spring, other Filter or Listener...) in web.xml and faces-config.xml I do not get this message and trees etc. are rendered fine.
    My questions: Could there be a conflict with Spring framework or is there any other pitfall?
    If I comment out SessionListener Counter or LoginFilter, the warning message remains.
    I like to use ADF-Faces but cannot see what's the problem here? Please help.
    Thank You,
    Florian
    Using: ADF-Faces EA19 (adf-faces-api-ea19.jar, adf-faces-impl-ea19.jar, adfshare.jar)
    ########### WEB.XML
    <?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">
    <display-name>Prototype</display-name>
    <description>Prototype</description>
    <!-- Context Parameter: Use client-side state saving -->
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>client</param-value>
    </context-param>
    <!-- Context Parameter: Spring's application context -->
         <context-param>
              <param-name>contextConfigLocation</param-name>
              <param-value>/WEB-INF/daoContext.xml /WEB-INF/serviceContext.xml</param-value>
         </context-param> -->
    <!-- ADF-Filter -->
    <filter>
    <filter-name>adfFaces</filter-name>
    <filter-class>oracle.adf.view.faces.webapp.AdfFacesFilter</filter-class>
    </filter>
    <!-- Filter Mapping ADF-Faces -->
    <filter-mapping>
    <filter-name>adfFaces</filter-name>
    <servlet-name>faces</servlet-name>
    </filter-mapping>
    <!-- Login-Filter -->
    <filter>
    <filter-name>loginFilter</filter-name>
    <display-name>Login Filter</display-name>
    <filter-class>com.company.web.filter.LoginFilter</filter-class>
    <init-param>
    <param-name>forwardPage</param-name>
    <param-value>/index.jsp</param-value>
    </init-param>
    </filter>
    <!-- Filter Mapping Login-->
    <filter-mapping>
    <filter-name>loginFilter</filter-name>
    <url-pattern>/faces/pages/*</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>loginFilter</filter-name>
    <url-pattern>/pages/*</url-pattern>
    </filter-mapping>
    <!-- Servlets -->
    <!-- Servlet JSF Impl -->
    <servlet>
    <servlet-name>faces</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <!-- Servlet ADF -->
    <servlet>
    <servlet-name>resources</servlet-name>
    <servlet-class>oracle.adf.view.faces.webapp.ResourceServlet</servlet-class>
    </servlet>
    <!-- Servlet Mapping Faces -->
    <servlet-mapping>
    <servlet-name>faces</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    <!-- Servlet Mapping ADF-Resources -->
    <servlet-mapping>
    <servlet-name>resources</servlet-name>
    <url-pattern>/adf/*</url-pattern>
    </servlet-mapping>
    <!--MIME Mapping -->
    <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>
    <!-- Welcome Files -->
    <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>
    <!-- Spring Context Listener -->
    <listener>
    <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
    </listener>
    <!-- Session Counter Listener -->
    <listener>
    <listener-class>com.company.web.listener.SessionCounter</listener-class>
    </listener>
    <!-- Taglibs -->
    <taglib>
    <taglib-uri>http://www.pickert.de/jrqm</taglib-uri>
    <taglib-location>/WEB-INF/tld/jRQM.tld</taglib-location>
    </taglib>
    <!-- Session timeout in minutes -->
    <session-config>
    <session-timeout>1</session-timeout>
    </session-config>
    </web-app>
    ############### FACES-CONFIG.XML
    <?xml version="1.0" encoding="windows-1252"?>
    <!DOCTYPE faces-config PUBLIC
    "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
    "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
    <faces-config xmlns="http://java.sun.com/JSF/Configuration">
    <application>
    <default-render-kit-id>oracle.adf.core</default-render-kit-id>
    <variable-resolver>org.springframework.web.jsf.DelegatingVariableResolver</variable-resolver>
    </application>
    </faces-config>

    Can you elaborate what you fixed? I'm running into the same message with a similar setup.
    Thanks,
    Ken

Maybe you are looking for

  • Personalized view creation in OA Framwork

    HI , I am developing a search Trasaction in OAF using Query Region (AtuoCustomization Mode ). I developed the simple search and advanced search with dyamanic where caluse (I am setting the where clause and not using the where caluse genrate by Search

  • Is it possible to update iphone using IOS 4.2.1. to ios 5 or 6

    hey guys am trying to download applications like whatsapp on my iphone or games like  c andy crush but am not being able as its saying that its not compatible with this iphone so i was wonderibg that if its possible to upgrade my iphone using ios 4.2

  • What's the state out of the box?

    Got my board today. Going through the instructions at https://ms-iot.github.io/content/SetupGalileo.htm and I'm confused. I try to apply the image to the SD card and am told that the card needs to be empty. Sure 'nuf looks like a full Windows install

  • OS10.3.1 a disaster! Among other things, the dsplay is too large for screen

    I do not like OS 10.3 ! After my Z10 was updated to 10.3.1.1779 about a month ago, I access it because the password entry keyboard displayed for about 1/10 sec leaving a black screen. After a device reset the device the keyboard remained visible but

  • Is there a way to upgrade your ipod or trade it for credit towards a new 1?

    I have the 80 gb video, but i want to upgrade to the ipod classic or maybe the 32gb touch, but I dont want to spend the full price and be stuck with my old ipod. Is There any way to trade it for credit towards a new one? or maybe send in the old one