Button enable/disable in Master-Detail table

I am using JDeveloper 11.1.1.3.0 and I have a page fragment (.jsff) which includes a Master-Detail table and the Master table has 3 buttons that get enabled/disabled based on the specific string within a column say, if the column has value, 'DRAFT', the buttons should be enabled. In all other cases, the buttons should be disabled.
The above mentioned scenario works in cases where the table has more than one row in the table; but in two cases the buttons don't get enabled even though the column has 'DRAFT' as its value:
     1. when the table first loads with the data populated in the table; clicking on the first row doesn't trigger the buttons, clicking on any other row triggers the buttons
     2. when there is only one row in the table
To resolve this, I tried looking at the logs for any specific information regarding the buttons getting enabled or disabled. I couldn't find info on setting up a breakpoint for the commandbutton and the disabled property which would enable me to determine whether it is being triggered as soon as the table gets populated or not.
How can I get the buttons to work per my requirements? Also, can I set breakpoints for the button and/or evaluate disabled property's EL expression?
Thanks in advance.

Navaneeth:
The buttons are part of panelCollection which exists in panelHeader. As the below code demonstrates,
1. Buttons are defined in the toolbar (t2) in panelCollection (pc1)
2. Each buttons' partialTrigger is set to the table (md1)
3. Tables' (md1) partialTrigger is set to the toolbar (t2).
<af:panelHeader text="#{viewcontrollerBundle.HISTORIC_PANEL_SPECS__TESTER_S}" id="ph2">
        <af:panelCollection id="pc1" styleClass="AFStretchWidth">
          <f:facet name="menus"/>
          <f:facet name="toolbar">
            <af:toolbar id="t2" partialTriggers="t2">
              <af:commandButton actionListener="#{bindings.promotePanelSpec.execute}"
                                text="#{viewcontrollerBundle.PROMOTE_PANEL_SPEC}"
                                id="cb1" icon="/Images/up16.png"
                                partialTriggers="md1"
                                disabled='#{bindings.Status!="DRAFT"}'
                                immediate="true"/>
              <af:commandButton text="#{viewcontrollerBundle.ADD_TESTER_SPEC}" id="cb2"
                                partialTriggers="md1"
                                icon="/Images/action_add.gif"
                                actionListener="#{bindings.CreateWithParams.execute}"
                                action="addTestSpec"
                                disabled='#{bindings.Status!="DRAFT"}'/>
              <af:commandButton actionListener="#{PanelSpecTesterSpec.deleteTesterSpec}"
                                text="#{viewcontrollerBundle.REMOVE_TESTER_SPEC}"
                                id="cb3" partialTriggers="md1 ::pc2:t1"
                                icon="/Images/delete.png"
                                disabled='#{bindings.Status!="DRAFT"}'/>
            </af:toolbar>
          </f:facet>
          <f:facet name="statusbar"/>
          <af:table id="md1"
                    rows="#{bindings.PanelSpecTesterSpecView1.rangeSize}"
                    fetchSize="#{bindings.PanelSpecTesterSpecView1.rangeSize}"
                    emptyText="#{bindings.PanelSpecTesterSpecView1.viewable ? 'No data to display.' : 'Access Denied.'}"
                    var="row"
                    value="#{bindings.PanelSpecTesterSpecView1.collectionModel}"
                    rowBandingInterval="0"
                    selectedRowKeys="#{bindings.PanelSpecTesterSpecView1.collectionModel.selectedRow}"
                    selectionListener="#{bindings.PanelSpecTesterSpecView1.collectionModel.makeCurrent}"
                    rowSelection="single" partialTriggers="::t2"
                    filterVisible="true" displayRow="selected"
                    filterModel="#{bindings.ProductIdPanelSpecVersionToolNameQuery.queryDescriptor}"
                    queryListener="#{bindings.ProductIdPanelSpecVersionToolNameQuery.processQuery}">
            <af:column headerText="#{bindings.PanelSpecTesterSpecView1.hints.ProductId.label}"
                       sortProperty="ProductId" sortable="true" id="c39"
                       filterable="true">
              <af:outputText value="#{row.ProductId}" id="ot28"/>
            </af:column>
            <af:column headerText="#{bindings.PanelSpecTesterSpecView1.hints.Status.label}"
                       sortProperty="Status" sortable="true" id="c43"
                       filterable="true">
              <af:outputText value="#{row.Status}" id="ot40"/>
            </af:column>
          </af:table>
     </af:panelCollection>
</af:panelHeader>The fact that the above code works when there are multiple rows tells me that buttons are having trouble reading the first row of the table.
Also, I changed the displayRow property for the table from "selected" to "first" but no luck either.

Similar Messages

  • Radio button in master-detail tables.

    I work with ADF, Struts, JSP of JDeveloper10G 10.1.2.0.0 (Build 1811).
    My DataPage has two master – detail tables. Master table has “radio button” in each row.
    If click on radio button of master table, information on detal table no change. But with Navigation buttons all right.
    In master table radio looks like this:
    <input type="radio" name="rowKey" value="<c:out value='${Row.rowKeyStr}'/>"
    <c:if test='${Row.currencyString == "*"}'> checked</c:if>/>
    What can i do to relate these tables over radio ?
    Thanks.

    Hi,
    the radio button by itself only sets the row currency but doesn't refresh the page. You will have to enforce a page refresh if master and detail are on the same page so teh detail data can be updated
    Frank

  • Filtering not working for newly added child objects in master-detail table

    Hi,
    I am using Jdeveloper 11.1.1.4 version.
    Problem scenario:
    Filtering of records is not working for newly created child objects in a master-detail scenario.
    Steps to reproduce this issue using HR Schema (using LOCATIONS and DEPARTMENTS table ) :
    1. Create Business components (EO's & VO's ) for LOCATIONS & DEPARTMENTS table)
    1. Create a .jspx page and insert a readonly master table of Locations
    2. Insert a child table (inline-edit table) of Departments and enable filtering
    4. For the child table, drag and drop CreateInsert operation as a toolbar button .
    5. Create a new child record using the toolbar button and enter data .
    6. Filtering on the newly created child record's attributes does not work.
    Please note that the same filter works for existing child records.
    Any suggestions for resolving this issue?
    Thanks,
    Vikas

    Found from Fusion Developer's Guide the following snippet about QBE functionality :
    "+When you create data controls, all data collections will automatically include a Named Criteria node with an All Queriable Attributes criteria. This is the default view criteria that includes all the searchable attributes or columns of the data collection. You cannot edit or modify this view criteria+. "
    So, the question is if the implicit view criteria cannot be edited, how else to set the query execution mode to "Both" ?
    Shouldn't ADF BC support this by default? Is this a bug?
    Note:- If you create a maste-detail table using POJO datacontrols, filter works correctly for newly created child records also .
    This seems to be an issue with ADF-BC datacontrols only.
    Thanks,
    Vikas

  • Problem with crude operations in master detail tables

    Hi,
    I have Master-Detail tables in my page and crud operations are there for both the tables. Create/delete/edit are working fine on the master table but i am facing the following problems for the detail table
    1.delete operation is alway referring to the 1st record.
    2.Edit operation is working fine for the 1st time but when i amt trying to edit any other record it's refer to the previous record, if i did the same again then it's pointing to current record.
    Selected row keys and selectionListner and row selection is defined on my detail table as shown below.
    selectedRowKeys="#{bindings.CmSubscriberTerritoryXrefView1.collectionModel.selectedRow}"
    selectionListener="#{bindings.CmSubscriberTerritoryXrefView1.collectionModel.makeCurrent}"
    rowSelection="single"
    Please do need full.

    Hi,
    Thanks for your quick reply.
    I am using JDeveloper 11g. Yes i select the record, i am using a popup for delete operation so i write a button which invoke popup in that popup i am asking confirmation like do you wanted to delete for not. in the OK button i have return logic like
    BindingContainer bindings = getBindings();
    OperationBinding operationBinding =
    bindings.getOperationBinding("Delete2");
    Object result = operationBinding.execute();
    if (!operationBinding.getErrors().isEmpty()) {
    return null;
    operationBinding = bindings.getOperationBinding("Commit");
    result = operationBinding.execute();
    if (!operationBinding.getErrors().isEmpty()) {
    return null;
    FacesContext fc = FacesContext.getCurrentInstance();

  • Polling the master detail table and to update the LAST_UPDATED with SYSDATE

    Hi
    The requirement is polling the master detail table where read_flag is null and has to update the LAST_UPDATED with SYSDATE in both tables.
    Refered the MasterDetail and PollingPureSQLSysdateLogicalDelete samples of SOASuite.
    Used the delete polling strategy in polling process and modified the generated TopLink discriptor as follows.
    set the TopLink -> Custom SQL tab -> Delete tab with the following query
    for master table (RECEIVER_DEPT) :
    update RECEIVER_DEPT set READ_FLAG= 'S' , LAST_UPDATED=sysdate where DEPTNO=#DEPTNO
    set the TopLink -> Custom SQL tab -> Delete tab with the following query
    for Detail table (RECEIVER_EMP):
    update RECEIVER_EMP set LAST_UPDATED=sysdate where EMPNO=#EMPNO
    After deploying the bpel process data is updated in master(RECEIVER_DEPT) table with LAST_UPDATED as sysdate and read_flag as S
    however data is deleted in detail(RECEIVER_EMP) table rather than updated records.

    Xtanto,
    I suggest using JSP / Struts. UIX will be replaced by ADF Faces in JDeveloper 10.1.3 and thus I wouldn't suggest new developments to be started with UIX unless time doesn't allow to wait for ADF Faces. In this case develop UIX in an MVC1 model, using the UIX events for navigation because this model seems more likely to be mgratable, according to the UIX Statement of direction on Otn.
    Back to your question. You can create a search form in JSP that forwards the request to a StrutsData Action to set the scope of teh result set. The read only table can have a link or a button to call the detail page, passing the RoewKey as a string.
    Have a look at the Oracle by Example (OBE) tutorials that contain similar exaqmples.
    Frank

  • Master-Detail table on the JSF is unable to update the database

    Hi all,
    In my ADF application I am using a master-deatail relationship datasource. I have to enter the detail rows for a master table row and submit the detail rows it should update the
    database. For this I created a master-detail table and dragged the same on to my JSF page as ADF Forms. I created the forms as ADF Form included all the buttons and submit button. I
    dragged CreateInsert operation from the detail table datacontrol on to the detail form. When I enter the detail and click on submit the data is not getting submitted in the database.
    Please help me in this.
    Thankd In Advance.

    There is no such thing as an iPhone 's3'.  There is a 3G which can only be updated to iOS 4.2.1 and a 3GS which can be updated to iOS 6.1.3.
    Which model iPhone is this?
    Identifying iPhone models

  • Master-detail table where detail is in a bounded task flow

    Dear all,
    Iam pretty much new to ADF 11g. I have the following question.
    I have a search form(using af:query) created from the View Criteria of a view. The search results are displayed in a master-detail table, since my view has the following form in the data control:
    MasterView ->DetailView
    I would like that the detail table be part of a page fragment of a region of a bounded task flow. And of course, the detail table should be refreshed every time another row is selected in the master table.
    Is this feasible? Because I find difficulties in the following areas:
    1. How to pass a parameter to the bounded task flow that will display the detail table?
    (I suppose that I will need to build a new view to display the DetailView. In the WHERE clause I will have to pass the id of the row clicked in the master table.
    2.How passing the variable to the bounded task flow of the detail table be implemented when clicking the row of the master table? In similar examples I have seen, e.g. in the ADF Code Corner, there is always a submit button that sets a pageFlowScope variable.
    Is my approach feasible or it needs a lot of ADF twisting?
    Edited by: dimitris74 on Sep 12, 2011 6:20 AM

    Hi,
    If you have two different regions in your page for master and details and you want to refresh the child table based on your master row selection then you can use the contextual actions. Raise an event whenever you select a row and send your master-table id as the payload. Have a handler method at the detail page and execute some logic to get the rows for the selected master record.
    I hope it helps you.
    Thanks,
    Lakshman

  • Update records in Master Details table

    Hi,
    I have to update a Master Details table,
    in this case after clicking the edit button user will be forwarded to the Edit page with one Header info & its corresponding Line info(e.g one header info and its 10 line info)
    user can edit header & its line info in the edit page and after clicking save header & line info will be updated to the database header & line table.
    more than one line info should be saved at a time-- is it possible??

    It is possible. Check the OAF dev guide, they have a sample.
    --Shiv                                                                                                                                                                                           

  • Sql loader master detail tables

    Hi
    I am trying to load master detail tables using sql loader. I have a sequence in the master table as primary key and have to load primary key in detail table. is there any way i can query up the primary key by name in the control file. please whats the best way to do this.
    can i query up the primary key in the master table by the name in detail table which is jan09.
    e.g
    master data
    jan09,description
    detail data
    jan09,'test1','100,'y'
    LOAD DATA
    INFILE 'test.data'
    insert
    INTO TABLE master_table
    fields terminated by ',' optionally enclosed by '"' trailing nullcols
    (id position(1:2) "myseq.nextval",
    code char,
    creation_date date sysdate,
    last_update_date date sysdate,
    into TABLE BDETAILS
    fields terminated by ',' optionally enclosed by '"' trailing nullcols
    (id number "select id from master_table where code=" || :code
    name char,
    amt decimal,
    flag char
    )

    Hey Here is what you need.
    You will have to understand and test this properly.
    It took me quiet some time before i could get to this stage
    Here is the test data with all the commands.
    As far the ID in the detail table is concerned you have no option but to update that column once the loading is complete.
    1) create Table
    CREATE TABLE master_table(ID NUMBER,code VARCHAR2(50),creation DATE,last_update DATE);
    CREATE TABLE bdetails(ID NUMBER,NAME VARCHAR2(100),amt NUMBER,flag VARCHAR2(10));
    ALTER TABLE master_table ADD (chc VARCHAR2(10));2) Create Sequence
    CREATE SEQUENCE testseq INCREMENT BY 1;3) CTL FILE
    LOAD DATA
    INFILE 'c:\sqlldr\test.txt'  /*path of data file */
    append
    INTO TABLE master_table
    when (1) ='M'  /*to check if the record in the data file is a master record */
    fields terminated by ',' optionally enclosed by '"' trailing nullcols
    (id  expression "testseq.nextval", /*select next value from sequence */
    mcol1 filler, /*FILLER keyword is sused to skip first column from data file */
    chc,
    code  ,
    creation "sysdate",
    last_update "sysdate"
    Into TABLE BDETAILS
    when (1) ='D'  /*to check if the record in the data file is a Detail record */
    fields terminated by ',' optionally enclosed by '"' trailing nullcols
    (id  expression "testseq.currval", /* UNFORTUNATELY THIS PICKS UP THE LAST ID OF THE MASTER RECORD SESSION STUFF GOING ON HERE*/
    col1 filler position(1:2),  /* specifying this POSITION(1:2) is very very important as you need to reset the cursor to start of the line for the next record */
    name  ,
    amt ,
    flag )4) SQLLDR Command
    sqlldr scott/tiger data=c:\sqlldr\test.txt control=c:\sqlldr\1.ctl
    5) data file
    M,jan09,description
    D,test1,100,y
    M,feb09,description1
    D,test2,200,x
    M,mar09,description2
    D,test3,200,xHope this helps you and give you a lead how to proceed.
    Cheers!!!
    Bhushan

  • How to remove the Detail column programmatically in Master detail table

    Hi,
    I have a master detail table.
    I want to remove the show Hide (Detail) link from the table programmatically based on some serach criteria. Is it possible to do that.
    Thanks in Advance,
    Kaushik Rambhiya

    Set the Vertical Elasticity property of the master frame to Variable.

  • Search in the Detail of a Master\Detail Table

    Hi everyone.
    I have a master detail table. How can i search in the detail of that table?
    Thanks!

    Assuming your detail is setup using a view link and included as an actively-coordinated view link in the data model, then the detail VO will only display the data for the current master.
    In addition, if that detail has bind variables of its own, you can supply those bind variables values using ExecuteWithParam built-in action. This will further filter that current set of details for the current master.
    For example, imagine DeptView and EmpView.
    You can search the DeptView to find Depts you want, as you navigate between them the EmpView will show only the employees for that current department. Let's say you do this and have Dept = 10 as the current row in the master. The EmpView will show all employees having DEPTNO = 10.
    You can also further filter the detail by using a view criteria or using bind variables. If you're using the latter, then the ExecuteWithParam built-in action gives you a way to supply values to those bind variables and re-executing the query. The query will be a merging of your original query and the additional WHERE clause fragment added by the framework that restricts the rows to only be for the current department.

  • Commit operation not enabled after createinsert in detail table

    Hi Everybody,
    After clicking createinsert operation for detail table in master detail, i got unique contraint error from db.after rectifiying the data for newly created row..commit operation not enabled to save the data.
    Please find the code i used in my jsf.
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="d1">
          <af:messages id="m1"/>
          <af:form id="f1">
            <af:panelBox text="PanelBox2" id="pb2">
              <f:facet name="toolbar">
                <af:group id="g2">
                  <af:commandButton actionListener="#{bindings.Delete1.execute}"
                                    text="Delete1"
                                    disabled="#{!bindings.Delete1.enabled}"
                                    id="cb4"/>
                  <af:commandButton
                                    text="CreateInsert1"
                                    disabled="#{!bindings.CreateInsert1.enabled}"
                                    id="cb3"
                                    action="#{backingBeanScope.MyIndustryBean.cb3_action}"/>
                  <af:commandButton actionListener="#{bindings.Commit.execute}"
                                    text="Commit"
                                    disabled="#{!bindings.Commit.enabled}"
                                    id="cb5"/>
                  <af:commandButton actionListener="#{bindings.Rollback.execute}"
                                    text="Rollback"
                                    disabled="#{!bindings.Rollback.enabled}"
                                    immediate="true" id="cb6">
                    <af:resetActionListener/>
                  </af:commandButton>
                </af:group>
              </f:facet>
              <af:table value="#{bindings.IndustryEOView1.collectionModel}"
                        var="row" rows="#{bindings.IndustryEOView1.rangeSize}"
                        emptyText="#{bindings.IndustryEOView1.viewable ? 'No data to display.' : 'Access Denied.'}"
                        fetchSize="#{bindings.IndustryEOView1.rangeSize}"
                        rowBandingInterval="0"
                        filterModel="#{bindings.IndustryEOView1Query.queryDescriptor}"
                        queryListener="#{bindings.IndustryEOView1Query.processQuery}"
                        filterVisible="true" varStatus="vs"
                        selectedRowKeys="#{bindings.IndustryEOView1.collectionModel.selectedRow}"
                        selectionListener="#{bindings.IndustryEOView1.collectionModel.makeCurrent}"
                        rowSelection="single" id="t1" width="448"
                        inlineStyle="height:193px;" partialTriggers="::cb3 ::cb4">
                <af:column sortProperty="IdDesc" filterable="true" sortable="true"
                           headerText="#{bindings.IndustryEOView1.hints.IdDesc.label}"
                           id="c2">
                  <af:inputText value="#{row.bindings.IdDesc.inputValue}"
                                label="#{bindings.IndustryEOView1.hints.IdDesc.label}"
                                required="#{bindings.IndustryEOView1.hints.IdDesc.mandatory}"
                                columns="#{bindings.IndustryEOView1.hints.IdDesc.displayWidth}"
                                maximumLength="#{bindings.IndustryEOView1.hints.IdDesc.precision}"
                                shortDesc="#{bindings.IndustryEOView1.hints.IdDesc.tooltip}"
                                id="it2">
                    <f:validator binding="#{row.bindings.IdDesc.validator}"/>
                  </af:inputText>
                </af:column>
                <af:column sortProperty="IdPlace" filterable="true" sortable="true"
                           headerText="#{bindings.IndustryEOView1.hints.IdPlace.label}"
                           id="c1">
                  <af:inputText value="#{row.bindings.IdPlace.inputValue}"
                                label="#{bindings.IndustryEOView1.hints.IdPlace.label}"
                                required="#{bindings.IndustryEOView1.hints.IdPlace.mandatory}"
                                columns="#{bindings.IndustryEOView1.hints.IdPlace.displayWidth}"
                                maximumLength="#{bindings.IndustryEOView1.hints.IdPlace.precision}"
                                shortDesc="#{bindings.IndustryEOView1.hints.IdPlace.tooltip}"
                                id="it1">
                    <f:validator binding="#{row.bindings.IdPlace.validator}"/>
                  </af:inputText>
                </af:column>
              </af:table>
            </af:panelBox>
            <af:panelBox text="PanelBox1" id="pb1">
              <f:facet name="toolbar">
                <af:group id="g1">
                  <af:commandButton actionListener="#{bindings.Delete.execute}"
                                    text="Delete"
                                    disabled="#{!bindings.Delete.enabled}"
                                    id="cb2"/>
                  <af:commandButton
                                    text="CreateInsert"
                                    disabled="#{!bindings.CreateInsert.enabled}"
                                    id="cb1"
                                    action="#{backingBeanScope.MyIndustryBean.cb1_action}"/>
                  <af:commandButton actionListener="#{bindings.Create.execute}"
                                    text="Create"
                                    disabled="#{!bindings.Create.enabled}"
                                    id="cb7"/>
                </af:group>
              </f:facet>
              <af:table value="#{bindings.IndustryRatinEOView1.collectionModel}"
                        var="row" rows="#{bindings.IndustryRatinEOView1.rangeSize}"
                        emptyText="#{bindings.IndustryRatinEOView1.viewable ? 'No data to display.' : 'Access Denied.'}"
                        fetchSize="#{bindings.IndustryRatinEOView1.rangeSize}"
                        rowBandingInterval="0"
                        filterModel="#{bindings.IndustryRatinEOView1Query.queryDescriptor}"
                        queryListener="#{bindings.IndustryRatinEOView1Query.processQuery}"
                        filterVisible="true" varStatus="vs"
                        selectedRowKeys="#{bindings.IndustryRatinEOView1.collectionModel.selectedRow}"
                        selectionListener="#{bindings.IndustryRatinEOView1.collectionModel.makeCurrent}"
                        rowSelection="single" id="t2"
                        partialTriggers="::t1 ::cb1 ::cb2 ::cb7">
                <af:column sortProperty="RatingId" filterable="true" sortable="true"
                           headerText="#{bindings.IndustryRatinEOView1.hints.RatingId.label}"
                           id="c5">
                  <af:selectOneChoice value="#{row.bindings.RatingId.inputValue}"
                                      label="#{row.bindings.RatingId.label}"
                                      required="#{bindings.IndustryRatinEOView1.hints.RatingId.mandatory}"
                                      shortDesc="#{bindings.IndustryRatinEOView1.hints.RatingId.tooltip}"
                                      id="soc2" autoSubmit="true">
                    <f:selectItems value="#{row.bindings.RatingId.items}" id="si2"/>
                  </af:selectOneChoice>
                </af:column>
                <af:column sortProperty="RatingSubId" filterable="true"
                           sortable="true"
                           headerText="#{bindings.IndustryRatinEOView1.hints.RatingSubId.label}"
                           id="c6" partialTriggers="soc2">
                  <af:selectOneChoice value="#{row.bindings.RatingSubId.inputValue}"
                                      label="#{row.bindings.RatingSubId.label}"
                                      required="#{bindings.IndustryRatinEOView1.hints.RatingSubId.mandatory}"
                                      shortDesc="#{bindings.IndustryRatinEOView1.hints.RatingSubId.tooltip}"
                                      id="soc1" partialTriggers="soc2">
                    <f:selectItems value="#{row.bindings.RatingSubId.items}"
                                   id="si1"/>
                  </af:selectOneChoice>
                </af:column>
                <af:column sortProperty="Place" filterable="true" sortable="true"
                           headerText="#{bindings.IndustryRatinEOView1.hints.Place.label}"
                           id="c4">
                  <af:inputText value="#{row.bindings.Place.inputValue}"
                                label="#{bindings.IndustryRatinEOView1.hints.Place.label}"
                                required="#{bindings.IndustryRatinEOView1.hints.Place.mandatory}"
                                columns="#{bindings.IndustryRatinEOView1.hints.Place.displayWidth}"
                                maximumLength="#{bindings.IndustryRatinEOView1.hints.Place.precision}"
                                shortDesc="#{bindings.IndustryRatinEOView1.hints.Place.tooltip}"
                                id="it3">
                    <f:validator binding="#{row.bindings.Place.validator}"/>
                  </af:inputText>
                </af:column>
                <af:column sortProperty="RatingDesc" filterable="true"
                           sortable="true"
                           headerText="#{bindings.IndustryRatinEOView1.hints.RatingDesc.label}"
                           id="c3">
                  <af:inputText value="#{row.bindings.RatingDesc.inputValue}"
                                label="#{bindings.IndustryRatinEOView1.hints.RatingDesc.label}"
                                required="#{bindings.IndustryRatinEOView1.hints.RatingDesc.mandatory}"
                                columns="#{bindings.IndustryRatinEOView1.hints.RatingDesc.displayWidth}"
                                maximumLength="#{bindings.IndustryRatinEOView1.hints.RatingDesc.precision}"
                                shortDesc="#{bindings.IndustryRatinEOView1.hints.RatingDesc.tooltip}"
                                id="it4">
                    <f:validator binding="#{row.bindings.RatingDesc.validator}"/>
                  </af:inputText>
                </af:column>
              </af:table>
            </af:panelBox>
          </af:form>
        </af:document>
      </f:view>
    </jsp:root>

    Hi,
    Need to set partialSubmit true for CreateInsert and partialTrigger attribute for Commit button(Select Createinsert button for partialTrigger )

  • Field values erases when Add Row button is pressed in Master Detail Form

    Hi,
    I am using APEX 4.0. There is a master-detail form in a page, this has 5 rows in it by default, has a Add row and a Delete button. I face two problems now:
    1. When the values are entered in all the 5 rows, that are in default, and Add Row button is clicked, these values are entered in the DB, but they are erased from the interface. Means when user clicks Add row he don't see the old values he has entered. All new empty rows are only seen. This might confuse the user. How can I resolve this.
    2. The values are saved to the DB only when the Add row button is clicked, so suppose if the user enters some wrong values in the default rows and after he clicks Delete button, all the field values are erased. Is there a way to delete only that particular row? (Please note: the values are not saved to the DB, unless the Add Row button is clicked)
    Please let me know how to resolve these 2 issues.
    Thanks.

    So let me get this straight:
    You enter information into a tabular form and then click the add row and the data is being duplicated from the prior row or being inserted into the table ?
    Thank you,
    Tony Miller
    Webster, TX
    A lady came up to me on the street, pointed at my suede jacket and said "Do you know a cow was murdered to make that jacket?"
    "I didn't know there were any witnesses", I replied " Now I'll have to kill you too"

  • Master-details tables with popup edit form : popup doesn't zynchronized

    In first, we don't use "Task Flow".
    We have 1 table master and 1 table details.
    Each of these tables shows an Edit button to open a popup formular.
    This formular is based on the same view object than the table below.
    The trouble is that :
    1. The user moves the current row on the table "Master".
    The table "Detail" refreshes automatically (partial trigger based on the table "Master").
    Click on the Edit Button, on table "Detail" shows the popup formular on current detail row.
    2. The user changes the current row on the table "Master".
    The table "Detail" refreshes automatically (partial trigger based on the table "Master").
    But, Click on the Edit Button, on table "Detail" shows the popup formular on the same previous detail row. The trouble is that the popup formular is not correctly refreshed.
    Failed Tries :
    We add a partial trigger on the detail popup formular, based on :
    a) an item from the Master Table
    b) the MasterTable
    c) the Detail Table
    Without success.
    screenshots:
    1) master table row 1 : [master : ok|http://img87.imageshack.us/img87/5699/sanstitrevs.jpg]
    2) master table row 3 : [master change row : ok|http://img14.imageshack.us/img14/6242/sanstitre2ef.jpg]
    3) detail table, row 1 : [slave row : ok|http://img8.imageshack.us/img8/9392/sanstitre3ay.jpg]
    4) detail table, other row : [slave other row : ko always first detail row data|http://img17.imageshack.us/content.php?page=done&l=img17/5923/sanstitre4bx.jpg&via=mupload]

    On the popup control, try switching the popup's contentDelivery property to lazyUncached.
    CM.

  • Filter on Master Detail tables

    Hi,
    I've just created a simple Master Detail view (both tables) on my jsf page.
    I would like to add a filter above all the master table columns but I can't.
    I have set all the properties linked to Filtering I've seen to "true" (for the table and the columns) but I don't see the header with the filter field.
    I'm just wondering what value I should set in the FilterModel property. When I create a simple table, it's linked to a queryDescriptor, but this doesn't exist for my master table.
    Could anyone help ?
    Thank you.

    Hi,
    here's what happens when you create a filterable table using the table dialog. If you want to apply this manually, then the same steps need to be performed
    - A search binding is added to the executables section in the ADF page definition file of the containing page. The binding is configured by the <searchRegion> metadata element.
    - The queryListener attribute is set to reference the processQuery method that is exposed by the <searchRegion> implementation class
    - The filterModel attribute is set to point to the query descriptor exposed on the ADF hierarchical binding that exists for the table.
    - The filterVisible attribute is set to true to display the filter input components above the table header, as shown in figure 09-4. The filterVisible attribute value can be set using Expression Language, allowing the application developer to dynamically control when a user is allowed to filter the table and when he or she isn’t.
    - The filterable attribute is set to true on the contained columns. To exclude a column from query-by-example, set this property to false.
    I suggest you drop a second instance of the master table to get the bindings created. Copy the settings of the table to the first one. Change the references to the second table binding to point to the first and then delete the second master table. Sounds easier to me
    Frank

Maybe you are looking for

  • How to Connect my External WD Passport hard disk using wifi

    Dear Friends, i have got a new Apple Ipad 4 Gen, of 16GB but now i am facing a problem due to space requirements. my ipad is filling with lots of photoes and music.right now only 750mb is available among 16GB. i have an idea ,i need to connect my Ext

  • Error in Report Query

    Hi Friends I have a report with the following query SELECT  DISTINCT         CASE WHEN IVPROVISION_ID = 1 OR             IVPROVISION_ID = 5 OR             IVPROVISION_ID = 4 OR             IVPROVISION_ID = 10         THEN             APEX_ITEM.CHECKB

  • Camcorder Compatibility Issues

    I have a Sony DCR-HC40 camcorder and USB cord, and I want to capture video onto my new Mac. I do not believe iMovie is compatible. Is there any way I can use this camera to upload the video?

  • If someone plugs in my stolen ipod can I locate it or send a message?

    I lost my 2007 ipod video in town yesterday. I was wondering if I could locate or send a message to the person who picked it up when its plugged into their computer and itunes loads up. I hope that whoever picks it up feels charitable and could retur

  • Graphics returning null in one place, but not another.

    If you want to compile and run my program.... you can get all the files here: http://s94182144.onlinehome.us/randomstuff/files.zip (The main classes you'll need to look at are DrawingCanvas, Trig and GraphEngine) Here's a visual just in case: http://