ADF UIX Editable Table

In the example rows become editable when you click on the radio select at begining of the row, But how can I make the row to be editable as soon as I move my cursor on the textinput fields.
Thanks
regards
JO

There are two threads with the same question, so i'll close this one and point to the original:
ADF UIX Editable Table

Similar Messages

  • Unable to uncheck checkbox in UIX editable table

    It seams that in editable table is unable to uncheck checked checkbox. After submit checkbox is stays checked. To check it works fine. To uncheck it in imput form also works fine. Problem is only in editable table. version jdev10.1.2. Thank you. Jara

    this is the UIX code
    <switcher childName="${uix.current.Iid.inputValue == bindings.Iid.inputValue ? 'edit' : 'noEdit'}">
    <case name="edit">
    <checkBox model="${bindings.IsDefault}" readOnly="false"/>
    </case>
    <case name="noEdit">
    <checkBox model="${uix.current.IsDefault}" readOnly="true"/>
    </case>
    </switcher>

  • Help!! UIX Editable Table and RowID

    I Have UIX with Editable Table:
    <switcher childName="${uix.current.PatrRowID.inputValue == bindings.PatrRowID.inputValue ? 'selected' : 'notselected'}">
    <case name="selected">
    <textInput model="${bindings.PatrCode}" columns="10" readOnly="false"/>
    </case>
    <case name="notselected">
    <textInput model="${uix.current.PatrCode}" columns="10" readOnly="true"/>
    </case>
    </switcher>
    whenn i update colum , i have error
    ORA-00904: "PATR_ROW_ID"
    i have EO with RowID column..

    The new "Create" has also another issues - I am not able to use getCurrentRow in ViewObject. Workaround is to use old 40 behaviour but I think that such big change should be much more documented and because developer sometimes needs to use the 40 behaviour it should be shown in the DataControl. Any comments?

  • UIX Editable Table: Unselected Textinput Empty

    I created a editable Table like described in the How-To (I did this in Jdev 9.0.5.2). Now after Converting to 10.1.2 I had to add a new coloumn to the table.
    In this coloumn theres a choice on select and a readonly textinput on unselect.
    The choice works fine, but the Textinput is always empty.
    There are two bindings in the UI-model. one for the choice and one for the textinput.
    Has anybody got an idea?
    Thanks for your help,
    Sebastian

    The new "Create" has also another issues - I am not able to use getCurrentRow in ViewObject. Workaround is to use old 40 behaviour but I think that such big change should be much more documented and because developer sometimes needs to use the 40 behaviour it should be shown in the DataControl. Any comments?

  • Issue with UIX Editable Table

    Hi,
    I have created a Master-Detail-Detail page using UIX. I want to make the last detail table editable. I have tried the tip mentioned in the following page to make the table editable.
    http://www.oracle.com/technology/products/jdev/tips/jacobi/edittable/tip_adfuixtable_edit.html
    But, the condition in switcher ${uix.current.EmployeeId.inputValue == bindings.EmployeeId.inputValue is always returning false. This is because, the ${bindings.xxxxx} is returning null for all columns.
    Could anyone help me in resolve this issue Please?
    Here is the uix file I am using:
    <?xml version="1.0" encoding="windows-1252"?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:html="http://www.w3.org/TR/REC-html40"
    expressionLanguage="el">
    <content>
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui">
    <provider>
    <!-- Add DataProviders (<data> elements) here -->
    </provider>
    <contents>
    <document>
    <metaContainer>
    <!-- Set the page title -->
    <head title=""/>
    </metaContainer>
    <contents>
    <body>
    <contents>
    <form name="form0">
    <contents>
    <pageLayout>
    <about/>
    <copyright/>
    <corporateBranding/>
    <end/>
    <globalButtons/>
    <pageButtons/>
    <pageHeader/>
    <privacy/>
    <productBranding/>
    <start/>
    <tabs/>
    <contents>
    <stackLayout>
    <contents>
    <header text="Master">
    <contents>
    <table model="${bindings.SyPohdrAckView1}" id="SyPohdrAckView17" partialRenderMode="multiple" partialTargets="_uixState">
    <contents>
    <column>
    <columnFormat columnDataFormat="numberFormat"/>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPohdrAckView1,'OfdaFileId')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.OfdaFileId}" columns="10" readOnly="true">
    <onSubmitValidater>
    <decimal/>
    </onSubmitValidater>
    </textInput>
    </contents>
    </column>
    <column>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPohdrAckView1,'AcknowledgmentNumber')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.AcknowledgmentNumber}" columns="10" readOnly="true"/>
    </contents>
    </column>
    <column>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPohdrAckView1,'PoNumber')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.PoNumber}" columns="10" readOnly="true"/>
    </contents>
    </column>
    <column>
    <columnFormat cellNoWrapFormat="true"/>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPohdrAckView1,'PlannedDeliveryDate')}"/>
    </columnHeader>
    <contents>
    <dateField model="${uix.current.PlannedDeliveryDate}" readOnly="true">
    <onSubmitValidater>
    <date pattern="yyyy-MM-dd"/>
    </onSubmitValidater>
    </dateField>
    </contents>
    </column>
    <column>
    <columnFormat columnDataFormat="numberFormat"/>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPohdrAckView1,'PoOrdTotal')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.PoOrdTotal}" columns="10" readOnly="true">
    <onSubmitValidater>
    <decimal/>
    </onSubmitValidater>
    </textInput>
    </contents>
    </column>
    <column>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPohdrAckView1,'AcknowledgeStatus')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.AcknowledgeStatus}" columns="10" readOnly="true"/>
    </contents>
    </column>
    <column>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPohdrAckView1,'AcknowledgeInfo')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.AcknowledgeInfo}" columns="10" readOnly="true"/>
    </contents>
    </column>
    <column>
    <columnFormat cellNoWrapFormat="true"/>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPohdrAckView1,'AcknowledgeDate')}"/>
    </columnHeader>
    <contents>
    <dateField model="${uix.current.AcknowledgeDate}" readOnly="true">
    <onSubmitValidater>
    <date pattern="yyyy-MM-dd"/>
    </onSubmitValidater>
    </dateField>
    </contents>
    </column>
    <column>
    <columnFormat columnDataFormat="numberFormat"/>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPohdrAckView1,'AcknowledgeByCtIdNo')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.AcknowledgeByCtIdNo}" columns="10" readOnly="true">
    <onSubmitValidater>
    <decimal/>
    </onSubmitValidater>
    </textInput>
    </contents>
    </column>
    </contents>
    <tableSelection>
    <singleSelection model="${bindings.SyPohdrAckView1Iterator}" text="Select and ">
    <primaryClientAction>
    <firePartialAction targets="detail6 detail12 _uixState" source="SyPohdrAckView17" event="select"/>
    </primaryClientAction>
    </singleSelection>
    </tableSelection>
    </table>
    </contents>
    </header>
    <header text="Detail" id="detail6">
    <contents>
    <table model="${bindings.SyPolineAckView2}" id="SyPolineAckView28" partialRenderMode="multiple" partialTargets="_uixState">
    <contents>
    <column>
    <columnFormat columnDataFormat="numberFormat"/>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPolineAckView2,'OfdaFileId')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.OfdaFileId}" columns="10" readOnly="true">
    <onSubmitValidater>
    <decimal/>
    </onSubmitValidater>
    </textInput>
    </contents>
    </column>
    <column>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPolineAckView2,'AcknowledgmentNumber')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.AcknowledgmentNumber}" columns="10" readOnly="true"/>
    </contents>
    </column>
    <column>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPolineAckView2,'PoNumber')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.PoNumber}" columns="10" readOnly="true"/>
    </contents>
    </column>
    <column>
    <columnFormat columnDataFormat="numberFormat"/>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPolineAckView2,'LineItemNumber')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.LineItemNumber}" columns="10" readOnly="true">
    <onSubmitValidater>
    <decimal/>
    </onSubmitValidater>
    </textInput>
    </contents>
    </column>
    <column>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPolineAckView2,'SpecItemNo')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.SpecItemNo}" columns="10" readOnly="true"/>
    </contents>
    </column>
    <column>
    <columnFormat columnDataFormat="numberFormat"/>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPolineAckView2,'Quantity')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.Quantity}" columns="10" readOnly="true">
    <onSubmitValidater>
    <decimal/>
    </onSubmitValidater>
    </textInput>
    </contents>
    </column>
    <column>
    <columnFormat columnDataFormat="numberFormat"/>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPolineAckView2,'Cost')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.Cost}" columns="10" readOnly="true">
    <onSubmitValidater>
    <decimal/>
    </onSubmitValidater>
    </textInput>
    </contents>
    </column>
    <column>
    <columnFormat cellNoWrapFormat="true"/>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPolineAckView2,'PlannedDeliveryDate')}"/>
    </columnHeader>
    <contents>
    <dateField model="${uix.current.PlannedDeliveryDate}" readOnly="true">
    <onSubmitValidater>
    <date pattern="yyyy-MM-dd"/>
    </onSubmitValidater>
    </dateField>
    </contents>
    </column>
    <column>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPolineAckView2,'AcknowledgeStatus')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.AcknowledgeStatus}" columns="10" readOnly="true"/>
    </contents>
    </column>
    <column>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPolineAckView2,'AcknowledgeInfo')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.AcknowledgeInfo}" columns="10" readOnly="true"/>
    </contents>
    </column>
    <column>
    <columnFormat cellNoWrapFormat="true"/>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPolineAckView2,'AcknowledgeDate')}"/>
    </columnHeader>
    <contents>
    <dateField model="${uix.current.AcknowledgeDate}" readOnly="true">
    <onSubmitValidater>
    <date pattern="yyyy-MM-dd"/>
    </onSubmitValidater>
    </dateField>
    </contents>
    </column>
    <column>
    <columnFormat columnDataFormat="numberFormat"/>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPolineAckView2,'AcknowledgeByCtIdNo')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.AcknowledgeByCtIdNo}" columns="10" readOnly="true">
    <onSubmitValidater>
    <decimal/>
    </onSubmitValidater>
    </textInput>
    </contents>
    </column>
    <column>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.SyPolineAckView2,'RowID')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.RowID}" columns="10" readOnly="true"/>
    </contents>
    </column>
    </contents>
    <tableSelection>
    <singleSelection model="${bindings.SyPolineAckView2Iterator}" text="Select and ">
    <primaryClientAction>
    <firePartialAction targets="detail12 _uixState" source="SyPolineAckView28" event="select"/>
    </primaryClientAction>
    </singleSelection>
    </tableSelection>
    </table>
    </contents>
    </header>
    </contents>
    </stackLayout>
    <stackLayout>
    <contents>
    <header text="Detail" id="detail12">
    <contents>
    <table nameTransformed="false" model="${bindings.PoLineView2}" id="PoLineView214" partialRenderMode="multiple" partialTargets="_uixState" formSubmitted="true">
    <contents>
    <column>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.PoLineView2,'PoNo')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.PoNo}" columns="10" readOnly="true"/>
    </contents>
    </column>
    <column>
    <columnFormat columnDataFormat="numberFormat"/>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.PoLineView2,'LineNo')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.LineNo}" columns="10" readOnly="true">
    <onSubmitValidater>
    <decimal/>
    </onSubmitValidater>
    </textInput>
    </contents>
    </column>
    <column>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.PoLineView2,'ItemNo')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.ItemNo}" columns="10" readOnly="true"/>
    </contents>
    </column>
    <column>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.PoLineView2,'ItemStyle')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.ItemStyle}" columns="10" readOnly="true"/>
    </contents>
    </column>
    <column>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.PoLineView2,'VendorNo')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.VendorNo}" columns="10" readOnly="true"/>
    </contents>
    </column>
    <column>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.PoLineView2,'VendorItemNo')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.VendorItemNo}" columns="10" readOnly="true"/>
    </contents>
    </column>
    <column>
    <columnFormat columnDataFormat="numberFormat"/>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.PoLineView2,'QtyOrd')}"/>
    </columnHeader>
    <contents>
    <switcher childName="${uix.current.PoNo.inputValue == bindings.PoNo.inputValue ? 'selected' : 'notselected'}">
    <case name="selected">
    <textInput model="${bindings.QtyOrd}" columns="10" readOnly="false">
    <onSubmitValidater>
    <decimal/>
    </onSubmitValidater>
    </textInput>
    </case>
    <case name="notselected">
    <textInput model="${uix.current.QtyOrd}" columns="10" readOnly="true">
    <onSubmitValidater>
    <decimal/>
    </onSubmitValidater>
    </textInput>
    </case>
    </switcher>
    </contents>
    </column>
    <column>
    <columnFormat columnDataFormat="numberFormat"/>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.PoLineView2,'UnitPrice')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.UnitPrice}" columns="10" readOnly="true">
    <onSubmitValidater>
    <decimal/>
    </onSubmitValidater>
    </textInput>
    </contents>
    </column>
    <column>
    <columnFormat columnDataFormat="numberFormat"/>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.PoLineView2,'LineAmt')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.LineAmt}" columns="10" readOnly="true">
    <onSubmitValidater>
    <decimal/>
    </onSubmitValidater>
    </textInput>
    </contents>
    </column>
    <column>
    <columnFormat cellNoWrapFormat="true"/>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.PoLineView2,'DateCreated')}"/>
    </columnHeader>
    <contents>
    <dateField model="${uix.current.DateCreated}" readOnly="true">
    <onSubmitValidater>
    <date pattern="yyyy-MM-dd"/>
    </onSubmitValidater>
    </dateField>
    </contents>
    </column>
    <column>
    <columnFormat cellNoWrapFormat="true"/>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.PoLineView2,'DueDate')}"/>
    </columnHeader>
    <contents>
    <dateField model="${uix.current.DueDate}" readOnly="true">
    <onSubmitValidater>
    <date pattern="yyyy-MM-dd"/>
    </onSubmitValidater>
    </dateField>
    </contents>
    </column>
    <column>
    <contents>
    <submitButton text="Commit" model="${bindings.Commit}" id="Commit15" event="action" disabled="false"/>
    </contents>
    </column>
    </contents>
    <tableSelection>
    <singleSelection model="${bindings.PoLineView2Iterator}" text="Select and ">
    <primaryClientAction>
    <firePartialAction targets="_uixState PoLineView214" source="PoLineView214" event="select" formSubmitted="true"/>
    </primaryClientAction>
    </singleSelection>
    </tableSelection>
    </table>
    </contents>
    </header>
    </contents>
    </stackLayout>
    </contents>
    </pageLayout>
    <formValue name="${bindings.statetokenid}" value="${bindings.statetoken}" id="_uixState"/>
    </contents>
    </form>
    </contents>
    </body>
    </contents>
    </document>
    </contents>
    </dataScope>
    </content>
    <handlers>
    <!-- Add EventHandlers (<event> elements) here -->
    <event name="goto sort" source="SyPohdrAckView17">
    <invoke method="handleTableUiEvent" javaType="oracle.cabo.adf.rt.AdfUtils">
    <parameters>
    <parameter javaType="oracle.adf.model.binding.DCIteratorBinding" value="${bindings.SyPohdrAckView1Iterator}"/>
    <parameter javaType="oracle.cabo.servlet.expl.ControllerImplicitObject" value="${uix}"/>
    </parameters>
    </invoke>
    </event>
    <event name="select" source="SyPohdrAckView17">
    <set target="${bindings.SyPohdrAckView1Iterator}" property="currentRowIndexInRange" value="${ui:tableSelectedIndex(uix, 'SyPohdrAckView17')}"/>
    </event>
    <event name="goto sort" source="SyPolineAckView28">
    <invoke method="handleTableUiEvent" javaType="oracle.cabo.adf.rt.AdfUtils">
    <parameters>
    <parameter javaType="oracle.adf.model.binding.DCIteratorBinding" value="${bindings.SyPolineAckView2Iterator}"/>
    <parameter javaType="oracle.cabo.servlet.expl.ControllerImplicitObject" value="${uix}"/>
    </parameters>
    </invoke>
    </event>
    <event name="select" source="SyPolineAckView28">
    <set target="${bindings.SyPolineAckView2Iterator}" property="currentRowIndexInRange" value="${ui:tableSelectedIndex(uix, 'SyPolineAckView28')}"/>
    </event>
    <event name="goto sort" source="SyPolineAckView213">
    <invoke method="handleTableUiEvent" javaType="oracle.cabo.adf.rt.AdfUtils">
    <parameters>
    <parameter javaType="oracle.adf.model.binding.DCIteratorBinding" value="${bindings.SyPolineAckView2Iterator}"/>
    <parameter javaType="oracle.cabo.servlet.expl.ControllerImplicitObject" value="${uix}"/>
    </parameters>
    </invoke>
    </event>
    <event name="select" source="SyPolineAckView213">
    <set target="${bindings.SyPolineAckView2Iterator}" property="currentRowIndexInRange" value="${ui:tableSelectedIndex(uix, 'SyPolineAckView213')}"/>
    </event>
    <event name="goto sort" source="PoLineView214">
    <invoke method="handleTableUiEvent" javaType="oracle.cabo.adf.rt.AdfUtils">
    <parameters>
    <parameter javaType="oracle.adf.model.binding.DCIteratorBinding" value="${bindings.PoLineView2Iterator}"/>
    <parameter javaType="oracle.cabo.servlet.expl.ControllerImplicitObject" value="${uix}"/>
    </parameters>
    </invoke>
    </event>
    <event name="select" source="PoLineView214">
    <set target="${bindings.PoLineView2Iterator}" property="currentRowIndexInRange" value="${ui:tableSelectedIndex(uix, 'PoLineView214')}"/>
    </event>
    <event name="action" source="Commit15">
    <invoke method="doIt" javaType="oracle.jbo.uicli.binding.JUCtrlActionBinding" instance="${bindings.Commit}"/>
    </event>
    </handlers>
    </page>

    hi all,
        it looks this where clause not filter with 'N'  data ,Please help me ,how to solve this or help me on this

  • ADF/UIX where clause and VO on different pages

    Hi,
    i have a VO called Periods which contains Periods and their statuses. On one page for entering data i use the periods VO in LOV mode with a where clause limiting the user to selecting periods with open status.
    I have another page which is for maintaining the period statuses. The problem is that when i move between entry and setup pages the where clause takes affect in both pages ie. the maintain periods page only shows periods with status Open!!
    To get around this on the maintain periods prepare model i tried doing this:
    actionContext.getBindingContainer().getApplicationModule().findViewObject("PeriodsView1").setWhereClause(null);
    actionContext.getBindingContainer().getApplicationModule().findViewObject("PeriodsView1").executeQuery();this works, however it causes bizarre behaviour on some records when i change values in the UIX editable table. The UIX editable table works fine if i remove the above code snippet (and dont go to the page that sets the where clause on the view object). The behaviour is that i cant select some rows in the UIX table properly and the updated values arent effected.
    can someone advise pn the proper way of doing this?

    Brenden, instead of setting the where clause to null, try setting it to an empty string (eg. "") or something dumb like "1=1".
    In turn place JDeveloper into debug mode by selecting your project properties, profiles, development, runner, and changing the java options to: -Djbo.debugoutput=console
    With this option turned on, you'll see your actual SQL going to the database with your where clause. You should be able to see the where clause of your underlying query that you just set, and if you use something dumb like 1=1 you'll note the setWhereClause module is working.
    Hope this helps.
    Cheers,
    CM.

  • ADF UIX:  MessageChoice in a table. NavigationBar.

    Hi,
    I've got two problems with adf uix.
    I would like to have a drop-down list which presents the answers possible to each questions. (An answer is referancing a questions with two columns: quesNumero, and numerodep, sequenced in parent).
    I don't know why, but the visible answers are those of the first question.
    Here are the properties of the list binding editor:
    http://img81.imageshack.us/img81/5376/prob16rj.jpg
    Here's the source code of the list:
    <column>
    <columnHeader>
    </columnHeader>
    <contents>
    <messageChoice model="${bindings.current.Remarque3}">
    <contents childData="${bindings.Remarque3.displayData}">
    <option model="${uix.current}"/>
    </contents>
    </messageChoice>
    </contents>
    </column>
    Here the result:
    The answer is matching only the first question.
    How could I correct that?
    In addition, I would like to have all the recordings on a page. I would like that the table does not use a navigationBar. I have each time between ten and tewnty questions to post and I don't want that the user must change pages to see the last questions. How can I do that?
    http://img72.imageshack.us/img72/6851/prob31el.jpg
    Thanks a lot !
    Nicolas

    Nobody ?
    Message was edited by:
    user481143
    Message was edited by:
    user481143

  • How to create an editable table in ADF 10g??

    Hi,
    I want to create a editable table using the Jdev 10g.. so that i can do read and write on the table. Can anyone tell me how i can create it...
    thanks in advance

    Hi,
    using ADF BC and ADF, one of the options when dragging a ViewObject from the data control palette is ADF Table. This creates an updateable table
    Frank

  • ADF Faces Dependent list boxes in an editable table

    Hi,
    I'm working with JDeveloper 10.1.3.1.0.
    I saw the topic "How to build dependent list boxes with ADF II" on F. Nimphius' Blogbuster.
    There it is shown how to handle dependent list boxes in an ADF Faces form. I tried this for an editable table but it doesn't work correctly: If there is more than one row in the resultset of the table, both dependent list boxes have the same content in all the rows though the content in the database is different.
    Can anyone help me?
    Thanks.

    Ok - I will try.
    I built the listboxes like it is described in "ADF Faces: How to built dependent lists boxes with ADF and ADF Faces Part II", Frank Nimphius' Blogbuster July, 2006.
    This is the full code of my ManagedBean:
    package asdb.view.backing;
    import javax.faces.context.FacesContext;
    import javax.faces.el.ValueBinding;
    import javax.faces.event.ValueChangeEvent;
    import javax.faces.model.SelectItem;
    import oracle.adf.model.OperationBinding;
    import oracle.adf.model.binding.DCIteratorBinding;
    import oracle.adf.view.faces.component.core.input.CoreInputText;
    import oracle.binding.BindingContainer;
    import oracle.jbo.Row;
    import oracle.jbo.ViewObject;
    import oracle.jbo.client.Configuration;
    import oracle.jbo.uicli.binding.JUCtrlValueBindingRef;
    public class AktMitFktEdit {
    private BindingContainer bindings;
    public AktMitFktEdit() {
    public void kategorieWechsel(ValueChangeEvent valueChangeEvent) {
    // Add event code here...
    BindingContainer bc = this.getBindings();
    DCIteratorBinding kategorienIter = (DCIteratorBinding)
    bc.get("OrganKategIterator1");
    Row rw =
    kategorienIter.getRowAtRangeIndex(((Integer)valueChangeEvent.getNewValue()).intValue());
    String kategorie = (String)rw.getAttribute("Kategorie");
    OperationBinding opBindingOrganeLovIter = (OperationBinding)bc.get("ExecuteWithParams");
    opBindingOrganeLovIter.getParamsMap().put("kategorieParam",kategorie);
    opBindingOrganeLovIter.execute();
    public void setBindings(BindingContainer bindings)
    this.bindings = bindings;
    public BindingContainer getBindings() {
    return bindings;
    It works fine, when the user only want to update existing rows. But if he had inserted a new row and afterwards want to update existing rows, the listboxes don't show the correct contents. No error messages are displayed.

  • ADF editable table issue

    Hi, I drag and drop an expert mode updatable VO to create an ADF editable table with inputText components associated with the table columns. This table is also binded to a CoreTable object inside the backing bean of the page. I also have a "Save" button which has actionLister binded to the backing bean to handle the saving for user's input data.
    Basically, I have 2 rows and 2 columns for the editable table. I entered "ABC" for the first row and first column and entered "DEF" for the second row and first column like the following:
    | Column 1 | Column 2 |
    | ABC | |
    | DEF | |
    In the backing bean's saveChanges method, I do:
    public void saveChanges(ActionEvent actionEvent) {
    int rowCount = this.testCaseTable.getRowCount();
    for (int i=0; i<rowCount; i++) {
    JUCtrlValueBindingRef rowDef = (JUCtrlValueBindingRef)this.testCaseTable.getRowData(i);
    TestCaseRowImpl row = (TestCaseRowImpl )rowDef.getRow();
    System.out.println("Column1 Data: "+row.getColumn1());
    System.out.println("Column2 Data: "+row.getColumn2());
    I am expecting to get "ABC" for the first row column1 data and "DEF" for the second row column1 data. However, the actual result is both "DEF" (the last entered value) for both the first and second row column1 data.
    What can be the potential issues of my codes? How can I get the correct user input data?
    Thanks.

    Hi
    You can obtain this data from iterator:
    DCBindingContainer bc = getBindings()
    DCIteratorBinding iter = bc.get("YourIteratorNameIterator");
    while(iter.hasNext()){
    Row row = iter.next()
    System.out.println("Column1 Data: "+row.getAttribute("Column1"));
    System.out.println("Column2 Data: "+row.getColumn2("Column2"));
    Kuba

  • Creating a LINK in ADF UIX table

    Dear sirs...
    is it possible to create a link for each row in an adf uix table? the link selects the row and forwards to another page.
    i have seen this in a JSP page, but uix????
    best regards

    Dear sirs...
    is it possible to create a link for each row in an adf uix table? the link selects the row and forwards to another page.
    i have seen this in a JSP page, but uix????
    best regards

  • ADF Editable Table : CANNOT Insert Multi Rows , Please hellppppssss

    Hi All,
    Our customer requirement is being able to insert Multi Rows in an Editable Table and submit ALL of them with just one Click ?
    Is it Really Possible ?
    I have tried, even I can insert three Empty Rows and Fill them all with values, when I press Submit ONLY one row will be submitted, the other TWO will become BLANK again, is this my code is wrong ?
    Or this is limitation of ADF Editable Table ?
    Here is my codes, I have tried two ways, all same problem :
    (1) public String create_action() {
    BindingContainer bindings = getBindings();
    OperationBinding operationBinding =
    bindings.getOperationBinding("Create");
    Object result = operationBinding.execute();
    if (!operationBinding.getErrors().isEmpty()) {
    return null;
    return null;
    public String myCreate_action() {
    create_action();
    create_action();
    create_action();
    return null;
    (2) public String createMultiRows() {
    DCBindingContainer dcbc = (DCBindingContainer)getBindings();
    //get iterator binding
    DCIteratorBinding ib = (DCIteratorBinding)dcbc.get("DeptView1Iterator");
    // get viewobject
    ViewObject vo = ib.getViewObject();
    System.out.println(vo.getCurrentRowIndex());
    vo.clearCache();
    int currentRowIndex = vo.getRowCount() -1;
    Row row1 = vo.createRow();
    row1.setNewRowState(Row.STATUS_NEW);
    vo.insertRowAtRangeIndex(++currentRowIndex, row1);
    Row row2 = vo.createRow();
    row2.setNewRowState(Row.STATUS_NEW);
    vo.insertRow(row2);
    Row row3 = vo.createRow();
    row3.setNewRowState(Row.STATUS_NEW);
    vo.insertRow(row3);
    return null;
    Please help... I am stuck ...
    Thank you very much,
    xtanto

    Xtanto,
    Could you try changing
    bindings.getOperationBinding("Create");to
    bindings.getOperationBinding("CreateInsert");in your first example to see if it fixes your problem?
    Regards,
    John

  • ADF UIX table example: oracle.cabo.doc.* missing

    Hi,
    I'm working through the Oracle ADF UIX Developer's Guide and want to try the ADF UIX Table Example. Unfortunately I don't seem to have the classes which are referred to in that example (located in oracle.cabo.doc.demo.table..), which makes it difficult for me to follow and understand the example.
    I've found a reply to a post to this forum of 26-nov-2002 where it is stated that these files were at that moment not yet available.
    My question is: have these files become available in the meantime. If so, wher can I find them?
    Regards,
    Anton

    Clicking on a sortable header generates a sort event. You need to specify a handler for this event. The error you see is a result of the application not knowing how to handle the sort event. On your page you should include something like the following to handle the sort event:
    <handlers>
    <event name="sort">
    <method class="myPackage.myClass" method="doMySort"/>
    </event>
    </handlers>
    For more details, see the "Sortable Column Headers" section in this chapter of the ADF UIX Dev Guide: http://helponline.oracle.com/jdeveloper/help/state/content/navSetId.jdeveloper/navId.4/vtAnchor.Sort/vtTopicFile.jdeveloper%7Cuixhelp%7Cuixdevguide%7Ctables%7Ehtml/

  • ADF Master Form / Detail editable table : how to update the table ?

    Hello,
    I'm using ADF faces with entity objects.
    Here is a simple explanation of the model :
    Table DOCUMENT --> Table LINEA DOCUMENT can have 0 or several row in the LINE table. Model is quite simple.
    I'd like to create JSF pages to create and update DOCUMENT/LINE items.
    I began with the Edit one :
    In my DataControls I have something like :
    AllDocuments
    |
    +- Id
    |
    +- Name
    |
    +-> AllDocumentLines
          |
          +- IdLine
          |
          +- ValueI created a form with the "AllDocuments" items having navigation and submit button.
    I created an editable table with "AllDocumentLines" items.
    The values are correctly filled.
    My questions are :
    - Which kind of "button" I have to add at the end of each row of the table to :
    * validate the update if "Value" changes ? I tried to drag/drop the related Create button but it stays disabled.
    * delete the row
    - Which button can I put to "Add" a new row ?
    I searched the forum but can't find answers of my problem.
    Edit: I'm using JDeveloper 11.1.1.3.0
    Edited by: Christophe on Jul 2, 2010 5:12 PM

    For creating a record drag the createInsert operation and for delete drag the delete operation - just make sure to drag the operation from the right VO in the data control palette.
    The you can drag the commit and rollback operations from the AM level - and you can change the "Disabled" properties of the buttons to false.

  • UIX validation in editable table without refreshing

    I have an editable table in a UIX page and I want to validate some fields against the DB (when the focus of each textInput is lost) without refreshing the table (to keep in the textInputs the data previously introduced by de user). To obtain that I pass the value that I want to validate to a second form (using javascript) which is submitted using the javascript function submitForm.
    How can I do to keep the table without refreshing?
    Here is the code:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <document>
    <metaContainer>
    <!-- Set the page title -->
    <head title="Maestro Ficheros"/>
    </metaContainer>
    <contents>
    <script>
    <contents>
    <![CDATA[function foco(){
         var n = document.form0.nombrefi.value;
         document.form1.param1.value = n;
         submitForm(document.forms[1],0,{'event':'Validar'});
    } ]]>
    </contents>
    </script>
    <body>
    <contents>
    <form name="form0">
    <contents>
    <table model="${bindings.Gccintt001View1}"
    id="Gccintt001View11"
    partialRenderMode="multiple"
    partialTargets="_uixState"
    nameTransformed="false">
    <contents>
    <column>
    <columnHeader>
    <sortableHeadermodel=
    "${ctrl:createSortableHeaderModel (bindings.Gccintt001View1, 'Nombrefi')}"/>
    </columnHeader>
    <contents>
    <switcher childName=
    "${uix.current.Nombrefi.inputValue==
    bindings.Nombrefi.inputValue ?
    'selected' : 'notselected'}">
    <case name="selected">
    <textInput id="nombrefi"
    model="${bindings.Nombrefi}"
    readOnly="false" columns="15"
    styleClass="OraBGAccentLight"
    onChange="javascript:foco()"/>
    </case>
    <case name="notselected">
    <textInput model="${uix.current.Nombrefi}"
    columns="15" readOnly="true"/>
    </case>
    </switcher>
    </contents>
    </column>
    <column>
    <columnHeader>
    <sortableHeader model=
    "${ctrl:createSortableHeaderModel (bindings.Gccintt001View1,'Descfichero')}"/>
    </columnHeader>
    <contents>
    <switcher childName=
    "${uix.current.Nombrefi.inputValue== bindings.Nombrefi.inputValue ?
    'selected' : 'notselected'}">
    <case name="selected">
    <textInput id="descfichero"
    model="${bindings.Descfichero}"
    readOnly="false" columns="15"
    styleClass="OraBGAccentLight"/>
    </case>
    <case name="notselected">
    <textInput model=
    "${uix.current.Descfichero}"
    columns="15" readOnly="true"/>
    </case>
    </switcher>
    </contents>
    </column>
    </contents>
    </form>
    <form name="form1" method="post">
    <contents>
    <formValue name="param1" value="vacio"/>
    </contents>
    </form>
    </contents>
    </body>
    </contents>
    </document>
    <handlers>
    <!-- Add EventHandlers (<event> elements) here -->
    <event name="Validar">
    <method class="view.EventHandler" method="pruebaEventHandler"/>
    </event>
    </handlers>
    </page>
    Thanks Gari.

    I found a solution. Using a hidden form inside a iFarame and passing the values between forms with javascript, I can post the hidden form maintaining the changes in the table.
    Gari

Maybe you are looking for

  • Error while calling oracle reports from another report

    Hello everyone, I have a problem running oracle reports. In one report I have a button that calls another report. There is a button for each row of the result in the first report , and i have used Srw.run_report to call the second report. My problem

  • How to Connect LS CAN (USB-8472) to Single-Wir​e CAN device?

    In the post of http://forums.ni.com/ni/board/message?board.id=30&​message.id=216&requireLogin=False , NI Engineer said that "It is possible to use our Low-Speed CAN boards in a single-wire mode. However, the board will give CAN warnings. So, the cont

  • ZVM - Classical Mu

    Hi all?I suspect this is a problem not many people will have, but I am finding the cataloguing/menu system on the ZVM?frustrating for storing classical music. The most logical way of cataloguing classical music is under Composer, then Work, then Arti

  • Ipaq Socket problems

    I'm running into the following problem while running a PersonalJava application on a Compaq ipaq 3600. The Java application tries to open a Socket connection to a server, then close the connection for a number of iterations (currently 300). However,

  • ABAP DF Unable to interpret as a number

    I have a very simply ABAP data flow which joins SAP tables PA0001 and T528T together using PLANS.  If I use PA0001.PLANS in my output schema I receive the following error message: "RFC CallReceive error <Function Z_AW_ABAP_RUN: RFC_ABAP_MESSAGE- Unab