Filtering in the table to the ADF

Hi all

My view object contains a Where Clause in the query:

 <DeclarativeWhereClause
    Name="DeclarativeWhereClause">
    <ViewCriteria
      Name="AccTravelAgentsViewByOwnerWhereCriteria"
      ViewObjectName="vo.AccTravelAgentsView"
      Conjunction="AND"
      Mode="3">
      <ViewCriteriaRow
        Name="AccTravelAgentsViewByOwnerWhereCriteria_row_0"
        UpperColumns="1">
        <ViewCriteriaItem
          Name="AcType"
          ViewAttribute="AcType"
          Operator="="
          Conjunction="AND"
          Value="3"
          Required="Required"/>
      </ViewCriteriaRow>
    </ViewCriteria>
  </DeclarativeWhereClause>

VO data are displayed in the table read-only ADF with filtering and active sort.

Question:

Filtering for example by the AcCity parameter table fails with the error message: 'no value specified for parameter 2 '.

It seems that the value literal '3' for AcType is missing from the sql query:

<oracle.adf.model> <DCBindingContainer> <validateInputValues> <[989] DCBindingContainer:view_travel_agenciesPageDef validating at level:all> 
<oracle.adf.model> <ViewRowSetImpl> <doSetWhereClauseParam> <[990] AccTravelAgentsView2 ViewRowSetImpl.doSetWhereClause(0, null, Beijing)> 
<oracle.adf.model> <ViewRowSetImpl> <doSetWhereClauseParam> <[991] AccTravelAgentsView2 ViewRowSetImpl.doSetWhereClause(0, null, 3)> 
<oracle.adf.model> <ViewRowSetImpl> <execute> <[992] AccTravelAgentsView2 ViewRowSetImpl.execute caused params to be "un"changed> 
<oracle.adf.model> <ViewRowSetImpl> <initQueryCollection> <[993] Carrying over CappedRowCount:-1for ViewRowSet:AccTravelAgentsView2> 
<oracle.adf.model> <QueryCollection> <createColumnList> <[994] Column count: 19> 
<oracle.adf.model> <ViewRowSetImpl> <setWhereClauseParamsInternal> <[995] AccTravelAgentsView2 ViewRowSetImpl.setWhereClauseParams caused params changed> 
<oracle.adf.model> <ViewRowSetImpl> <doSetWhereClauseParam> <[996] AccTravelAgentsView2 ViewRowSetImpl.doSetWhereClause(0, null, Beijing)> 
<oracle.adf.model> <ViewRowSetImpl> <doSetWhereClauseParam> <[997] AccTravelAgentsView2 ViewRowSetImpl.doSetWhereClause(0, null, 3)> 
<oracle.adf.model> <ViewRowSetImpl> <execute> <[998] executeQueryForCollection ViewObject:AccTravelAgentsView2, RowSet:AccTravelAgentsView2> 
<oracle.adf.model> <ViewObjectImpl> <processViewCriteriaForRowMatch> <[999] VCs converted to RowMatch:  ( ( (UPPER(AcCity) LIKE UPPER( :vc_temp_2 || '%') ) ) )  AND ( ( (AcType = :vc_temp_1 ) ) ) > 
<oracle.adf.model> <ViewObjectImpl> <closeStatementsResetRowSet> <[1000] ViewObject: [vo.AccTravelAgentsView]AppModule.AccTravelAgentsView2 close prepared statements...> 
<oracle.adf.model> <ViewObjectImpl> <getPreparedStatement> <[1001] ViewObject: [vo.AccTravelAgentsView]AppModule.AccTravelAgentsView2 Created new QUERY statement> 
<oracle.adf.model> <ViewObjectImpl> <processViewCriteriaForRowMatch> <[1002] VCs converted to RowMatch:  ( ( (UPPER(AcCity) LIKE UPPER( :vc_temp_2 || '%') ) ) )  AND ( ( (AcType = :vc_temp_1 ) ) ) > 
<oracle.adf.model> <ViewObjectImpl> <buildQuery> <[1003] AccTravelAgentsView2>#q computed SQLStmtBufLen: 787, actual=655, storing=685> 
<oracle.adf.model> <ViewObjectImpl> <buildQuery> <[1004] SELECT Accounts.ac_addressLine1,         Accounts.ac_addressLine2,         Accounts.ac_city,         Accounts.ac_country_id,         Accounts.ac_created_by,         Accounts.ac_created_date,         Accounts.ac_id,         Accounts.ac_modified_by,         Accounts.ac_modified_date,         Accounts.ac_name,         Accounts.ac_owner,         Accounts.ac_phone,         Accounts.ac_postalCode,         Accounts.ac_remark,         Accounts.ac_state,         Accounts.ac_status,         Accounts.ac_type FROM accounts Accounts WHERE ( ( ( (UPPER(Accounts.ac_city) LIKE UPPER( ? || '%') ) ) )  AND ( ( (Accounts.ac_type = ? ) ) ) ) ORDER BY Accounts.ac_name> 
<oracle.adf.model> <ViewObjectImpl> <bindParametersForCollection> <[1005] Bind params for ViewObject: [vo.AccTravelAgentsView]AppModule.AccTravelAgentsView2> 
<oracle.adf.model> <BaseSQLBuilderImpl> <bindParamValue> <[1006] Binding param 1: 3> 
<oracle.adf.model> <ViewObjectImpl> <doFreeStatement> <[1007] ViewObject: [vo.AccTravelAgentsView]AppModule.AccTravelAgentsView2 close single-use prepared statements> 
<oracle.adf.model> <QueryCollection> <buildResultSet> <[1008] QueryCollection.executeQuery failed...> 
<oracle.adf.model> <QueryCollection> <buildResultSet> <[1009] java.sql.SQLException: Missing IN or OUT parameter at index:: 2
    at oracle.jdbc.driver.OraclePreparedStatement.processCompletedBindRow(OraclePreparedStatement.java:2146)

When I remove the Where Clause of the query, I am able to filter the table.

Any idea what I have wrong?

Build JDEVADF_12.1.3.0.0_GENERIC_140521.1008.S

Thanks for the support and best regards,

Daniel

This "declarative" when the clause is introduced in 12 c, therefore probably buggy.

No difference if replace you it with the good old bind variable in sql query? (uncheck "Calculate optimized query at Runtime" and manually put where clause)

Dario

Tags: Java

Similar Questions

  • The ADF table: filter on columns of stamp with a specific format in the indications of the user interface

    Hi all

    I have problem when filtering on af timestamp column: table.

    I have a table containing historical information (created_on and modified_on), it is mapped to an entity:

    Type = "Oracle.jbo.domain.date"

    ColumnType = "DATE".

    I've seen object mapped from this entity.

    I want to display created_on and modified_on with timestamp (hour and minute), so I add the tips of the user interface for these 2 columns:

    -Type format: Date Simple

    -Size: MM/DD/YYYY HH: mm

    I create a table based on this point of view. The table is filterable.

    The column like this:

    < af:column sortProperty = "#{bindings." View.hints.CreatedOn.name}"blockable = 'true '.

    sortable = "true" headerText = "#{bindings." View.hints.CreatedOn.label}"id ="c6">

    < f: facet = name 'filter' >

    < af:inputDate value = "#{bindings." ViewQuery.queryDescriptor.filterConjunctionCriterion.criterionMap.CreatedOn.value}.

    ID = "id2" >

    < af:convertDateTime pattern = "#{bindings." View.hints.CreatedOn.format}"/ >

    < / af:inputDate >

    < / f: facet >

    < af:outputText value = "#{rank." CreatedOn}.

    shortDesc = "#{bindings." VIew.hints.CreatedOn.tooltip}"id ="ot6">

    < af:convertDateTime pattern = "#{bindings." View.hints.CreatedOn.format} ">"

    < / af:outputText >

    < / af:column >

    When I filter on 2 columns (created_on, modified_on) I got an error: " java.lang.IllegalArgumentException: ADFv: could not convert the instance: 30/07/2014 09:51 type: class java.lang.String in class of type null oracle.jbo.domain.Date."

    Do you have an idea for me?

    Thanks in advance.

    Here is the stacktrace:

    Caused by: java.lang.IllegalArgumentException: ADFv: could not convert the instance: 30/07/2014 09:51 type: class java.lang.String in oracle.jbo.domain.Date of type null class.

    at oracle.adfinternal.view.faces.convert.DomainConverter._throw(DomainConverter.java:155)

    at oracle.adfinternal.view.faces.convert.DomainConverter.convert(DomainConverter.java:120)

    to oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding$ AdfFilterAttributeCriterion.getValue (FacesCtrlSearchBinding.java:5127)

    at sun.reflect.GeneratedMethodAccessor448.invoke (unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:601)

    at javax.el.BeanELResolver.getValue(BeanELResolver.java:305)

    at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176)

    at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203)

    at com.sun.el.parser.AstValue.getValue(AstValue.java:138)

    at com.sun.el.parser.AstValue.getValue(AstValue.java:183)

    at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:224)

    at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:73)

    at oracle.adfinternal.view.faces.renderkit.rich.ValueRenderer.getValue(ValueRenderer.java:195)

    at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputBaseRenderer.renderContentStyleAttributes(SimpleInputBaseRenderer.java:524)

    at oracle.adfinternal.view.faces.renderkit.rich.FormInputRenderer.renderAllContentAttributes(FormInputRenderer.java:480)

    at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputBaseRenderer.renderAllContentAttributes(SimpleInputBaseRenderer.java:230)

    at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputDateRenderer.renderAllContentAttributes(SimpleInputDateRenderer.java:712)

    at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputDateRenderer.renderElementContent(SimpleInputDateRenderer.java:592)

    at oracle.adfinternal.view.faces.renderkit.rich.FormInputRenderer.encodeAllAsElement(FormInputRenderer.java:169)

    at oracle.adfinternal.view.faces.renderkit.rich.FormElementRenderer.encodeAll(FormElementRenderer.java:165)

    at oracle.adf.view.rich.render.RichRenderer.delegateRenderer(RichRenderer.java:1828)

    at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.renderFieldCellContents(LabeledInputRenderer.java:244)

    at oracle.adfinternal.view.faces.renderkit.rich.LabelLayoutRenderer.encodeAll(LabelLayoutRenderer.java:254)

    at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.encodeAll(LabeledInputRenderer.java:231)

    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1578)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:1085)

    to oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer$ UIXColumnFilterWrapper._encodeChild (BaseColumnRenderer.java:2486)

    to oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer$ UIXColumnFilterWrapper.encodeChildren (BaseColumnRenderer.java:2454)

    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1779)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)

    at oracle.adf.view.rich.render.RichRenderer.encodeChildInContext(RichRenderer.java:3251)

    at oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer._renderOrVisitFilterFacet(BaseColumnRenderer.java:1938)

    at oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer.renderColumnFilterCell(BaseColumnRenderer.java:1324)

    at oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer.encodeAll(BaseColumnRenderer.java:168)

    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1578)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:1085)

    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1786)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)

    to oracle.adfinternal.view.faces.renderkit.rich.table.BaseTableRenderer.access$ 2900 (BaseTableRenderer.java:78)

    to oracle.adfinternal.view.faces.renderkit.rich.table.BaseTableRenderer$ FlattenedColumnEncoder.processComponent (BaseTableRenderer.java:3155)

    to oracle.adfinternal.view.faces.renderkit.rich.table.BaseTableRenderer$ FlattenedColumnEncoder.processComponent (BaseTableRenderer.java:3129)

    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:195)

    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:326)

    at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:291)

    at oracle.adfinternal.view.faces.renderkit.rich.table.BaseTableRenderer.encodeFlattenedColumn(BaseTableRenderer.java:2928)

    at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer._renderFilterRow(TableRenderer.java:2508)

    at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer._renderColumnHeaderTable(TableRenderer.java:2113)

    at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer._renderColumnHeader(TableRenderer.java:1899)

    at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer.encodeAll(TableRenderer.java:727)

    Hello

    This is a bug in the ADF (Bug 17380741 not public) and it resolved in JDev 12.1.3.

    Kind regards

    Sébastien

  • Activation of the filtering in &lt; af:table &gt;

    Hello

    I'm trying to use the function "filter" component < af:table > ADF 11.1.1.1.0. I just dragged a data control ADF BC on a new page and checked the box 'filtering '. The table works fine, including sorting feature. But when I enter a value in one of the entries in the filter table header, nothing happens. I thought to check the box 'filtering' was the only thing I had to do to activate filtering. Am I missing something?

    Best regards
    Bart kummel

    You don't need a send button, but you will need to press on enter to submit changes in filter. In addition, the filter is case-sensitive by default.

    does this help... ?

    ~ K

  • Page with ADF Table and form of the ADF, error: a value is required on CreateInsert

    Dear all,

    I am a beginner in the ADF and am under Jdeveloper Studio Edition Version 12.2.1.0.0.

    I have a page that consists of two taskflows.

    First workflow has a fragment which is to have a (non editable) table - top in picture below

    Second task flow contains a form ADF - lower part in image below.

    Click Add button again the below the screen with "error: a value is required appears.

    and also a nonmodifiable line Table is created.

    TableNForm.jpg

    The code for the button "new".

    < af:button text = 'New' id = 'bAddNew '.

    actionListener="#{pageFlowScope.SalespersonsMainFMT.createInsertSalespersons}"/ >

    Here is the part referencing of java Bean

    public static BindingContainer {} getBindings()

    Return BindingContext.getCurrent () .getCurrentBindingsEntry ();

    }

    public void createInsertSalespersons (ActionEvent actionEvent) {}

    BindingContainer links = getBindings();

    OperationBinding operationBinding;

    operationBinding = bindings.getOperationBinding ("CreateInsert") (OperationBinding);

    Object result = operationBinding.execute ();

    }

    Please let me know what I have to do to stop the insertion of new line in a Table cannot be changed

    and then stop the ' error: a value is required is displayed ' message.

    Hope the above is clear.

    Please let me know if additional information is required.

    Thanks and greetings

    Arif Khadas

    Instead of CreateInsert, try to use Create and let me know what happens.

    Another option is to set the ChangeEventPolicy for the iterator binding votes to zero, and af:table; s immediate to false, as shown here:

    http://rogersuen.blogspot.RS/2014/03/ADF-editable-table-unexpected-validation.html

  • LOV cascading if I don't have only one table with the customer name and the name of the product in the ADF.

    Hi Please help me how to use cascade, if I don't have only one table with the customer name and the name of the product in the ADF... I use Jdeveloper 11.1.

    For the client, I used customer VO with client list to fill but to populate the product that I use bind variable PrODUCT_NAME select distinct from TABLE where client_name =: bindCustomer

    so first of all, I need to set the variable of liaison on behalf of the selected customer.

    Can you please tell me how to set this variable binding in this case.

    After you set the LOV to your product attribute, correspondting VO in the LOV will appear under view accessors.

    Change the accessor of the view, you will see the variable binding. Set its value to the customer field of the parent object.

    Visit this link: https://www.youtube.com/watch?v=nXwL2_RP7AQ

    Kind regards

    Elias.

  • Is it possible to create a shuttle component in Oracle ADF, where the available and selected lists are tables of the adf?

    Hi all


    We use JDeveloper Studio Edition Version 12.1.3.0.0 and deployed on GlassFish Server Open Source Edition 3.1.2.2 (build 5) and connect to the SQLServer database.


    Is it possible to create a shuttle component in Oracle ADF, where the available and selected lists are tables of the adf?



    I did a POC sample on it. I can share with you. I can't put in my dropbox because dropbox is blocked in my network. Share your email. I'll send the POC through

  • Best way to apply the Format mask for the fields in a Table of the ADF

    Hi all

    12.1.3 JDev

    I would like to introduce the price data, quantity etc. fields of the ADF Table of the user interface in a specific format.

    These formats need to be dynamic, because they change according to the locale selected and sometimes they differ in the same locale.

    I tried approach converter custom but not satisfied because it is called several times when it is used in a table of the ADF and when asked that told me that this is the behavior.

    Custom converter of an attribute in a table called several times

    So, please suggest a better way to apply the format mask (which has min & max fractions, grouping, rounding) to the fields in the Table of the ADF.

    Please let me know if you need more information.

    Thank you

    B S Bilodeau.

    The second question, which I've mentioned here is the converter is called several times for each click on the table.

    This isn't a problem, this is the expected behavior (and you can't avoid it).

    Dario

  • When I have a constarint of deferable in the Oracle database, while creating the ADF BC, all the columns in this table is marked as primary key. any help on how to fix this?

    DROP TABLE TWO.

    DROP TABLE ONE;

    CREATE TABLE 'A

    (

    ACTIVATE THE 'ID' NUMBER NOT NULL,

    ACTIVATE THE "SERIAL" VARCHAR2 (10 BYTE) NOT NULL,

    ACTIVATE THE "FIRST NAME" VARCHAR2 (30 BYTE) NOT NULL,

    ENABLE 'PK_ONE' CONSTRAINT PRIMARY KEY ('ID', "SERIAL")

    )

    TABLESPACE 'USERS ';

    CREATE TABLE "TWO"

    (

    ACTIVATE THE 'ID' NUMBER NOT NULL,

    ACTIVATE THE "SERIAL" VARCHAR2 (5 BYTE) NOT NULL,

    ACTIVATE THE "DEGREE_CODE" VARCHAR2 (10 BYTE) NOT NULL,

    'TEST_NAME' VARCHAR2 (20 BYTE),

    ACTIVATE THE KEY PRIMARY CONSTRAINT 'PK_TWO' ('ID', 'SERIAL'),

    "FK_TWO' FOREIGN KEY ('ID', 'DEGREE_CODE') CONSTRAINT REFERS TO 'ONE' ('ID', 'SERIAL') MAYBE DEFERRED ENABLE

    )

    TABLESPACE 'USERS ';

    If we use the above sql scripts to create the tables and create the ADF BC using the above 2 tables, all 4 columns in table 2 are reported as the primary key.

    User, tell us your version of Jdev, please!

    You should file an SR with support.oracle.com for this.

    As a work around you can change the area of occurrence, and remove the check mark key pirmary on the unwanted columns. After that, it should work.

    Timo

  • I have a table of the adf, I added a column that contains a button that I created, when I click it must remove this row in the table, but it is not, please help

    I have a table of the adf, I added a column that contains a button that I created, when I click it must remove this row in the table, but it is not, please help

    I don't understand. You use vo and eo for you to use business components.

    Again, this kind of code call in trouble.

    You must post the changes to make them visible to the eo find vo. You must then run the query for the changes in the business layer strips then you must update the iterator he table is based on.

    In your code I see that happen, hooch maybe because it is more often than not formatted and undocumented.

    My advice is to do a small test case that you can manage with easy sql. Once you get it to run transfer you the results to the actual application.

    Timo

  • Please how can I use a value in a table of the adf in an actionListener to a button I created in a popup and thanks

    Please how can I use a value in a table of the adf in an actionListener to a button I created in a popup and thanks

    What is your version of JDev?

    Actually your question is not clear to me, but as I understand, it is you the table in the page and you have popup inside this popup you have the button you need when you click on the button to read the value of the selected table row. In the listener action button, so if you can get the current row of the table and after that you can get any attribute of the line as:

    DCIteratorBinding iter = (DCIteratorBinding) BindingContext.getCurrent().getCurrentBindingsEntry().get("TableIteratorName"); // from pageDef.
    Row r = iter.getCurrentRow();
    Object value1 = r.getAttribute("attribute1");
    Object value2 = r.getAttribute("attribute2");
    
  • Updating of the ADF Table strangely after delete line

    Hello

    I use ADF Table with ArrayList to the model of the collection. I do not use View object

    < af:table var = value ' row' = "#{pageFlowScope.dataBean.collectionModel}"... "

    I have a SelectOnceChoice in each row of the table and bind their values to a property of the line

    < af:selectOneChoice value = "#{row.label}"... "

    I have a command link to remove each line and the delete method:

    collectionModel.remove (idx);

    The model is correctly updated, but the table of the ADF is not. Somehow, the value of the selection of the next line is set to the value of the deleted row.

    For example: If there two select with values respectively: Foo, Bar. If I remove the line with Foo, the remaining line (initially Bar) is set to Foo.

    If I refresh (F5) the page, it appears correctly. I also tried to use addPartialTarget and partialTriggers but no help.

    Can someone help me? Thanks in advance.

    Post edited by: 2925664

    Hello

    Previously I use table binding, that's why it has that name.

    BTW, I don't know what's causing the problem. It is related to the life cycle ADF. I put the immediate = "true" for the select box and it is working fine now.

    Concerning

  • How to get the values of the table of the ADF to bean class?

    Hi all

    My 11.1.1.6 Jdev

    Here I do not use BC ADF in my project.  I'll put values in the ADF table with bean.

    In the table, I put a checkbox. When I selected (Checkbox) a few rows in table and submit. In the submit method, I want to get all the values of line checkbox selected in my bean class.

    How can I get the values. ???

    Here my table UI code

    < af:table var = "row" rowBandingInterval = "0" id = "t1" value = "#{pageFlowScope.BinderSolutionsBean.uiBinderProperties} '"

    styleClass = "AFStretchWidth" emptyText = "no record found".

    Binding = "#{pageFlowScope.BinderSolutionsBean.binderTree}" >

    < af:column sortable = "false" headerText = "Script ID" id = 'c4' >

    < af:panelGroupLayout id = "pgl4" >

    < af:selectBooleanCheckbox id = 'sbc1' > < / af:selectBooleanCheckbox >

    < af:spacer width = "5" / >

    < af:outputText value = "#{row.scenarioId}" id = "ot5" / > "

    < / af:panelGroupLayout >

    < / af:column >

    < af:column sortable = "false" headerText = "Quote ID" id = "c1" >

    < af:outputText value = "#{row.quoteId}" id = "ot4" / > "

    < / af:column >

    < af:column sortable = "false" headerText = "NASP ID" id = "c2" >

    < af:outputText value = "#{row.naspId}" id = "ot2" / > "

    < / af:column >

    < af:column sortable = "false" headerText = "GCH ID" id = 'c3' >

    < af:outputText value = "#{row.gchId}" id = "ot3" / > "

    < / af:column >

    < af:column id = "c6" headerText = "Term" >

    < af:outputText value = "#{row.term}" id = "ot9" / > "

    < / af:column >

    < af:column sortable = "false" headerText = "Status" id = "c5" >

    < af:outputText value = "#{row.status}" id = "ot6" / > "

    < / af:column >

    < / af:table >

    follow some above recommendation such as the creation of additional attribute. You will also need the key in your collection, while making the data for your chart.

    You must write a custom selectionListener. On valueChangeEvent of box, get the key of a line and add the line at the bean.

    Maybe it's little help for you

    https://tompeez.WordPress.com/2012/01/22/jdev-custom-SelectionListener-for-viewobjects-in-rangepaging-mode/

    How to get the selected row in a table no-bind ADF

  • How to hide the column in a table in the adf.

    I created the table of the ADF and surround it in the collection of panels, the data in the table from the bean to support variable. Depending on the State, there are a few columns that must hide with the user. I used visible = "false", where the false value will come from backing bean. However the user to the table always have the ability to display the column. Is there any one to hide the column with the user at all times. Fixing the code example:

    < af:column sortable = "false" headerText = "column1" id = "c13" visible = "false" >

    "" < af:outputText value = "{row.columns1} ' id ="ot13"/ >

    < / af:column >

    Hello

    Use the rendered property?

    Concerning

  • The use of tables of database for authentication in the ADF

    Hello

    I need to use my user table in the database for authentication in ADF (adf 11.1.2).

    I have 3 categories: agent admin and user is unique, each has its own page, logging, the application checks the type of user and directs its jsf task or the page of the jsf page flow.

    I have a user with the type attribute table

    HOW CAN I MAKE THIS PRAYER.

    Hello

    See links below.

    Whatever Fusion Middleware: Tables database user to implement authentication in the ADF

    Java / Oracle SOA blog: the use of tables of database as in WebLogic authentication provider

  • Selection of strength to call for listener table the ADF

    Hello

    JDev 11.1.2.4

    I wrote a custom listener selection I associate with my table of the adf.

    < af:table selectionListener = "#{pageFlowScope.rangePaging.singleSelectionListener}" >

    It is called as expected every time except when I click on a line that is already selected. For example, you have a table with 1 row, the row is selected by default after the initial rendering. Then you click on a link that is of type int row. The selection listener is supposed to be called, but it is not. I guess the selection listener is too smart, that he is not triggered because the line is already selected.

    Is there a way to force the listener to selection to be called even if the line is already selected?

    Thank you

    Hello

    I guess you need the selection of the event initially. to do this, remove the property selectedRowKeys, then by default no line will be selected.

    Kind regards

    Birame

Maybe you are looking for