Createinsert operation

i used the createinsert i can see the input text
but the problem that i have now i m using a panel tabbed with the showdetailsitems
i want each time i have to click on the tab i have to see the label and input text
with the related buttons.
in case of the createinsert it look it create something like another page
what could i do by just clicking on the showdetailsitem of a panel tabbed to see labels and inputtext and submit button?
regards
steve

thanks
i m using jdev 11 release 2
i had a problem each time i drag and drop a data control on my application showdetailsitem of the panel tabbed
once i run the application i can see only the labels not the input text,but someone suggested that i should use the createinsert operation
i tried and i could see my input text only if i click the createinsert button.
but with my application i would like each time i click a tab i could see the label and inputtext and the buttons that i could add on the form.
regards
steve

Similar Messages

  • Commit button disabled after CreateInsert Operation... :(

    Hi! I have app module with VO in multiple levels, like this:
    -VO1
    ----VO2
    --------VO3
    ------------VO4
    ------------VO5
    I created one jspx page for each VO and represented VO as Table. All works fine with VO1, VO2, VO3, I can insert data in table using CreateInsert operation and Commit it using Commit operation. After I create new row in table using CreateInsert, commit operation comes enabled. My problem is with VO4 and VO5. When I press CreateInsert button new row appears in VO4 and VO5 tables, but Commit button are disabled. When I press second time CreateInsert button then again new row appears and now Commit button is enabled. WHY I need to press two times CreateInsert button for VO4 and VO5 tables to enable commit, but for VO1, VO2 and VO3 tables only once. From all VO I created table in the same way and checked all 3 times.
    Where might be the problem and how to resove it? If need more info, please let me know.
    Best regards, Debuger!

    Yes, the problem is in Model Layer. The same problem is in AM. With VO1,2,3, all works fine, when I add new row then commit is enabled, see: http://my.jetscreenshot.com/2677/20120629-hqbt-90kb
    But when I try to add new row in VO4,5 then commit is disabled, see: http://my.jetscreenshot.com/2677/20120629-bchq-94kb. Commit comes enabled only when I enter some data, see: http://my.jetscreenshot.com/2677/20120629-hy9o-95kb
    Where might be problem? What code post there to help You?
    Best regards, Debuger!

  • Unwanted rows fetched in createInsert operation

    Experts,
    I am calling the createInsert operation on the binding layer from the managed bean. The VO on which the operation is called has the query like
    select columns from tablewithout any where clause. The issue is the moment the createInsert operation is called, it fetches all the records from the DB which ideally should not happen. What is the best way to handle this types of issues.
    thnks
    Jdev 11.1.2.1

    Had a short look into the issue...
    Here's my log
    SELECT Employees.EMPLOYEE_ID,         Employees.FIRST_NAME,         Employees.LAST_NAME,         Employees.EMAIL,         Employees.PHONE_NUMBER,         Employees.HIRE_DATE,         Employees.JOB_ID,         Employees.SALARY,         Employees.COMMISSION_PCT,         Employees.MANAGER_ID,         Employees.DEPARTMENT_ID FROM EMPLOYEES Employees
    ***** Query Hit Count = 107 *****
    VODef =com.demo.model.EmployeesView
    SELECT Employees.EMPLOYEE_ID,         Employees.FIRST_NAME,         Employees.LAST_NAME,         Employees.EMAIL,         Employees.PHONE_NUMBER,         Employees.HIRE_DATE,         Employees.JOB_ID,         Employees.SALARY,         Employees.COMMISSION_PCT,         Employees.MANAGER_ID,         Employees.DEPARTMENT_ID FROM EMPLOYEES Employees
    ----[VO EmployeesView fetched oracle.jbo.Key[198 ]]
    ----[VO EmployeesView fetched oracle.jbo.Key[199 ]]
    ----[VO EmployeesView fetched oracle.jbo.Key[200 ]]
    ----[VO EmployeesView fetched oracle.jbo.Key[201 ]]
    ----[VO EmployeesView fetched oracle.jbo.Key[202 ]]
    ----[VO EmployeesView fetched oracle.jbo.Key[203 ]]
    ----[VO EmployeesView fetched oracle.jbo.Key[204 ]]
    ----[VO EmployeesView fetched oracle.jbo.Key[205 ]]
    ----[VO EmployeesView fetched oracle.jbo.Key[206 ]]
    ----[VO EmployeesView fetched oracle.jbo.Key[100 ]]
    ----[VO EmployeesView fetched oracle.jbo.Key[101 ]]
    ----[VO EmployeesView fetched oracle.jbo.Key[102 ]]
    ----[VO EmployeesView fetched oracle.jbo.Key[103 ]]
    ----[VO EmployeesView fetched oracle.jbo.Key[104 ]]
    ----[VO EmployeesView fetched oracle.jbo.Key[105 ]]
    ----[VO EmployeesView fetched oracle.jbo.Key[106 ]]
    ----[VO EmployeesView fetched oracle.jbo.Key[107 ]]
    ----[VO EmployeesView fetched oracle.jbo.Key[108 ]]
    ----[VO EmployeesView fetched oracle.jbo.Key[109 ]]
    ----[VO EmployeesView fetched oracle.jbo.Key[110 ]]
    ----[VO EmployeesView fetched oracle.jbo.Key[111 ]]
    ----[VO EmployeesView fetched oracle.jbo.Key[112 ]]
    ----[VO EmployeesView fetched oracle.jbo.Key[113 ]]
    ----[VO EmployeesView fetched oracle.jbo.Key[114 ]]
    ----[VO EmployeesView fetched oracle.jbo.Key[115 ]]as you see, the query executes and rightly says that it found 107 result rows (select * from employees), but it only load 25 (the fetch size) into the VO cache.
    I don't see any error in this behavior. Do you see an equal output on your side?
    Timo

  • ADF 11g Input Table createinsert operation - can I manipulate?

    Hi,
    I am an ADF newbie, and trying to figure out how to best approach this, any help appreciated.
    I am using JDeveloper 11.1.1.3.0 with ADF BC.
    I want to create/delete from a table from UI. I followed 23.3 Creating an Editable Table and 23.4 Creating an Input Table from Fusion Dev Guide.
    Basically, I:
    - Created an entity object, call it xxEO
    - Created a view object based on this entity object, call it xxEOVO
    - Dropped xxEOVO from data control palette as ADF table, and added createinsert, delete, commit operations to toolbar.
    This works great.
    But now I am trying to prepopulate one of the fields on every new row creation when createinsert is clicked. Basically, I dont want the user to be able to change this value, i want it to just show a read-only value in the new row when they hit the createinsert button.
    Is there an easy way to do this? What are my options? I dont see any generated code where I can plug my value in..
    Thanks!
    Kalp

    user514831 wrote:
    Thank you for your reply.
    The existing ActionListener JDeveloper created for me when I dropped CreateInsert as a button is : #{bindings.CreateInsert.execute}.
    So is it that if I want to do anything more complicated than showing all table columns and updating all table columns, I cannot use this and have to replace by custom code like the one you have provided?
    Yes!
    I guess, you want to make only few columns that you have defaulted to be read only & not the entire row.
    If so, make these columns as readOnly
    <af:column sortProperty="Jan" sortable="false"
    headerText="#{bindings.Results.hints.Jan.label}" id="c2">
    <af:inputText value="#{row.bindings.Jan.inputValue}"
    label="#{bindings.Results.hints.Jan.label}"
    readOnly="true"
    required="#{bindings.Results.hints.Jan.mandatory}"
    columns="#{bindings.Results.hints.Jan.displayWidth}"
    maximumLength="#{bindings.Results.hints.Jan.precision}"
    shortDesc="#{bindings.Results.hints.Jan.tooltip}"
    id="it3">
    <f:validator binding="#{row.bindings.Jan.validator}"/>
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.Results.hints.Jan.format}"/>
    </af:inputText>
    </af:column>
    Thanks,
    Navaneeth

  • RE: How to set createInsert operation with panel tab

    Hi all,
    I am using Jdeveloper 11.1.2.3.0
    Here i have one form and it contains two panel tabbed subDetailedItems called List and New.
    I have table in List Tab and form in New Tab.
    Now my requirement is if i select New tab then it has to display empty fields to enter new record.
    Help me to resolve the issue.
    Thanks,
    Syam

    Nitesh,
    I understood the usecase. But my question was, what happens if the user clicks on the New tab (a new record gets created due to createInsert - but not committed), then go back to another tab and then click on New tab again (another new record gets created due to next createInsert). Now, if the user commits, after entering values, he would have 2 rows added to the table (one with blank values and next one with data). You should have to handle that as well.
    -Arun

  • 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 )

  • ADF BC: createInsert and partial trigger

    I notice when i add a createInsert operation to my page and then the corresponding table, JDev will add a partialTrigger to the button.
    I don't see why.
    When i press the createInsert, the table should have the partialTrigger, not the createInsert button because the table should be refreshed in order to show the new row. But when i add the partialTrigger to the table, than it like an infinite loop. Table refreshes button, button refreshed table,...
    It's resolved by removing the partialTrigger from the button but i am wondering why jdev does it?
    I think it has something to do with the disabled state of the button but that does not make sense. THe same for the commit button. If you want everything to work with partialTriggers, then you have lots of buttons/tables linking to each other causing loops or does ADF notices that and takes care of it?

    Hi,
    I reproduce your case and I do not see any loop,
    about your question that why the createInsert need the partialtrigger :
    1-first of all it is because of the the disabled attribute which depends on the table
    2- Second, the table row selection is automatically partial, I mean when you click on the row partially the selected row is determind as it is done partially there is not any way
    for depended components on the table to notify about the state of the tree(changes of row or anything) so the depended component such as CreateInsert need to set the partial trigger.
    3-why the table does not need the partialtrigger at the time of drag and drop, the answer is easy because the default button that you drop on the page is not partialSubmit, so why any other depended component like Table, must have the partialtrigger?? it is only needed when the button is partialSubmit,
    I hope my answer is clear enough.
    to conclude, there is not any mistake or bug from Oracle for sure.

  • Weird injection after CreateInsert in my bean...

    Hi !. My doubt would be the following one... I have to analyze the use case from a friend... And he had a java class implementation of a View Object... The thing is that, when the app first enter my task flow there is a CreateInsert operation and then the page is rendered... but at the same time, there is in his bean a property of the same type of this View Object impl that is referencing this newly created row... I would like to know how to make this ?... I really search over the application a code that would give this property the value but couldn't find it... Cheers

    Yes, of course... Y have in my project two modules... The View and the Model !. In the Model, my friend created let's say 5 View Objects and then he added them to his AM. For one of those View Objects he created the java implementation class. Going to the View Module, he created a task flow with a bean of pageFlow scope. When it first enters the task flow, there is a CreateInsert operation that adds a new row to the collection (of the View Object I am tlking to)... The thing is that, after doing my form filling, when I submit, I don't know how my friend gives to one property of the task flow bean the value of the java implementation class of the View Object... If you think I wasn't clear, I write again... If you see the code above, the datos property is given a value but I don't know how... The problem really is that I leave thise usecase running to the designer but know it doesn't work... The thing would be to know how to get a reference to the newly created row inserted in the cache maybe...
    Let say my bean is:
    public class ReportBean
    private FormEnvioDatosRowImpl datos;
    }

  • ADF Table: CreateInsert Problem

    Hi,
    My JDeveloper version is 11.1.1.5
    I am facing one big problem.....
    Whenever I click on a createInsert button a new row is being created with data of a first row present in that table......!
    Is there any property of the createInsert button to avoid this?
    I have set partialSubmit = true
    Could anyone help me resolving this?
    Many Thanks,

    Are you creating new row with default executable from the datacontrol? Or do you have your own method executable?
    It's better to share some more details, like code-snippet if you have it to help better understand the problem.
    There has been lot said about Create vs CreateInsert:
    Here's one forum post that talks about CreateInsert.
    Re: ADF 11g Input Table createinsert operation - can I manipulate?
    See if it gives you any clues.

  • CreateInsert in Train Bounded Task Flow

    Jdev 11.1.1.5.0
    I have bounded task flow with train behavior. There are two pages, the welcome page and the create page. The train is connected from the welcome page to create page. So, the connection is something like this:
    welcome page --------> create page
    Now I want to include CreateInsert operation of the Data control somewhere in between these two:
    welcome page -----------> CreateInsert ---------> create page.

    Insert the CreateInsert action between welcome and create views in your taskflow and update the control flows.

  • Confusion with Commit and Create Operations

    Hi:
    I'm using JDeveloper 10.1.3.4. I created an ADF Table that I want to use for data entry and modification. I also added Commit and Create operations as command buttons. Here's the behavior I'm seeing when I run the page:
    1. When I click on Create a blank record appears but no record is created in the database. This seems appropriate.
    2. When I enter data and click Commit, two records are created in the database: one with the data I entered and a blank record. This is problematic.
    Can anyone suggest a reason why I get 2 records during the Commit-button action? Also, is there a correct way to create this data-entry table?
    Thanks.

    Hello,
    Try using the createInsert operation instead of create.
    Both these operations only create a new row on the midtier, NOT in the database, which is intended.
    because adding the row right away to the database removed any use for the midtier in general
    cereate only creates a row in the midtier, it does not cimmit anything to the database and will not do so unless any value in that row is altered.
    createInsert create a row on the midtier and marks it so that the next commit will save this row to the database no matter if no values are changed.
    It doesnt explain why you got two records though, which is something different, maybe you clicked twice or called create twice?
    -Anton

  • ADF CreateInsert and Iterator refresh control

    Hi
    JDEV Version : 11.1.1.6
    I have a scenario where i have dragged and dropped updatable EMPLOYEESVIEW as a form on my page with fields EMP_ID (Invisible on JSPX page)and EMP_NAME.
    and have buttons called ADD EMPLOYEE and SAVE.
    I enter the Value to EMP_NAME input Text box and Click on "ADD EMPLOYEE" button
    On click of  ADD EMPLOYEE button i m Setting the value of EMP_ID through java method and invoking  createInsert Operation like this.
    And i Have set Immediate property of CreateInsert button as True also "ADD EMPLOYEE" button has immediate Property set to true, since i want to show User entered EMP_NAME text on the screen bcos i need to give use an option to Edit.
                BindingContainer bindings =
                    BindingContext.getCurrent().getCurrentBindingsEntry();
      BindingContext bctxtree = BindingContext.getCurrent();
                  BindingContainer bindingtree = bctxtree.getCurrentBindingsEntry();
                  List attributelisttree = (List)bindingtree.getAttributeBindings();
                  Iterator itrtree = attributelisttree.iterator();
                                 while (itrtree.hasNext()) {
                                         AttributeBinding attrbind = (AttributeBinding)itrtree.next();
                       String label = attrbind.getName();
                                         System.out.println("lable"+label);
                       if(label.equalsIgnoreCase("EMP_ID")) {
                                           Boolean flag =
                              attrbind.processNewInputValue(variable);
                           attrbind.setInputValue(empid);
                           fetchVal=(Object)attrbind.getInputValue();
                            System.out.println(""+fetchVal);
    here i m invoking the Operation CreateInsert and Though I would have inserted the value of EMP_ID programmatically as soon as i click on CreaetInsert/ Invoke CreateInsert Operation the Binding EMP_ID becomes Empty.
    Because of which when i say "Commit" It throws me an error saying "Null cannot be inserted into EMP_ID since its primary Key"
    How to retain the Value of EMP_ID binding?
    Is it anything to do with the refresh condition which i m suppose to set for EMPLOYESSVIEWITERATOR????
    Help
    Thanks

    This is the java class
        public String onClick(ActionEvent aet) {
                            variable= (getting empid)
                    DCBindingContainer bindingsImplafter= (DCBindingContainer) bindings;
                                                            DCIteratorBinding dciterafter = null;
                    dciterafter.getRowAtRangeIndex(0).setAttribute("IntegrationId", variable);
                           dciterafter.getRowAtRangeIndex(1).getAttribute("EMP_ID"));
    dciterafter.getRowAtRangeIndex(0).getAttribute("EMP_ID"));
          dciterafter.getRowAtRangeIndex(0).getAttribute("EMP_NAME"));
    dciterafter.getRowAtRangeIndex(1).getAttribute("EMPNAME"));
                    RichCommandButton t = (RichCommandButton)genericUtility.findComponentInRoot("createinsertbutton1");
                         ActionEvent actionEvent = new ActionEvent(t);
                         System.out.println("  ActionEvent actionEvent = new ActionEvent(component);");
                         actionEvent.queue();
            return null;
    Tried setting the getCurrentRow too!!
    my jspx page:
        <af:panelFormLayout id="pfl1">
        <af:inputText value="#{bindings.EMP_ID.inputValue}"
                            label="#{bindings.EMP_ID.hints.label}"
                            required="#{bindings.EMP_ID.hints.mandatory}"
                            columns="#{bindings.EMP_ID.hints.displayWidth}"
                            maximumLength="#{bindings.EMP_ID.hints.precision}"
                            shortDesc="#{bindings.EMP_ID.hints.tooltip}"
                            id="it44">
                <f:validator binding="#{bindings.EMP_ID.validator}"/>
              </af:inputText> 
              <af:inputText value="#{bindings.EMP_NAME.inputValue}"
                            label="#{bindings.EMP_NAME.hints.label}"
                            required="#{bindings.EMP_NAME.hints.mandatory}"
                            columns="#{bindings.EMP_NAME.hints.displayWidth}"
                            maximumLength="#{bindings.EMP_NAME.hints.precision}"
                            shortDesc="#{bindings.EMP_NAME.hints.tooltip}"
                            id="it4" >
                <f:validator binding="#{bindings.EMP_NAME.validator}"/>
              </af:inputText>
    </panelFormLayout>
      <af:commandButton actionListener="#{bindings.CreateInsert.execute}"
                                text="CreateInsert"
                                disabled="#{!bindings.CreateInsert.enabled}"
                                id="cb1ci" immediate="true"  visible="false"/>
                                     <af:commandButton actionListener="#{bindings.Commit.execute}"
                              text="Commit" disabled="#{!bindings.Commit.enabled}"
                              id="cb2" />
           <af:commandButton text="+ Click to Add" id="cb1"  actionListener="#{javaclassname.onClick}"  immediate="true">
    On click of "+ Click to Add" button i m setting integration id and i click the button createInsert pro grammatically and in the front page if i call commit it says null value cannot be inserted into INTEGRATION ID.
            dciterafter.getRowAtRangeIndex(1).getAttribute("EMP_ID")); gives me null hence the EMP ID in the jspx page hold empty value in the front end too.
    How to handle this?

  • CreateInsert didnt work properly

    Hi all;
    I have a rather interesting problem today....
    I have a page for creating or updating information of employees;
    For that i have new button which is basicly createInsert operation, save button and a table for employes and employee form for changes;
    problem 1: When i first enter to page and push to "new" button it creates an empty row and insert it to table ....But.... it gives me an error "Error: A value is needed,"You Must enter a value"" near of label text box ....
    This textbox is mandatory but my other pages dont give that error...Besides its not like i m saving it or anything its your basic createInsert Operation
    problem 2: If i select any row from table and then push "new" button, it wont work ,it doesnt do anything.....
    I have all partial triggers i need for but i didnt get the problem i faced...
    Can you help me on this matter please;
    If post too shalow to understand or make a comment i can elaborate more...
    Thanks sincerely
    JDev 11.1.2.1.0
    Oracle DB 11g

    Can you try setting partialSubmit to true for the button? (add the id of the button as partialTriggers for the table).
    -Arun

  • Mandatory fields error as soon as CreateInsert is invoked

    Hi!
    I have a table with a button which invokes createInsert operation.
    As soon as I click it, I get error messages of mandatory fields and they are colored in red, obviously they are empty as I've just click the "Add Record" button...
    What I'm doing wrong?? Jdev=12.1.2
    Regards,
    Jose.

    Hi Jose
    You need to execute your CreateInsert through an actionListener,
    The code will be like
    BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
    OperationBinding method = bindings.getOperationBinding("CreateInsert");
    method.execute();
    AdfFacesContext.getCurrentInstance().addPartialTarget(form); //Or table or PanelGroup
    //To avoid validation triggered.
    FacesContext.getCurrentInstance().renderResponse();
    Then revert the changes you did to the immediate = true etc.

  • What si the difference between crete and create insert operations.

    Hi
    In ADF 11g,what is the difference between create and createinsert operations.
    if anyone knows plz tell me.Any document about this plz provide me.
    Any help is appreciated.
    Sailaja.

    Hi,
    CreateInsert: Creates a new row that becomes the current row, and inserts the
    new blank row into the data source.
    Create: Creates a new row that becomes the current row, but does not insert it.
    --> normaly you would use createinsert
    Doc you can find here (search for Createinsert): http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974.pdf
    br
    Peter

Maybe you are looking for

  • Need to have mail1 play nice with upstream mail server....

    Switched to new mail server and hitting a problem. We have a debian linux box doing SPAM filtering further upstream from the mail server and then sending down to the new leopard mail1 box. On the debian box we're seeing: 2009-04-03 09:14:08 H=216-174

  • New Power Adapter Doesn't fit right

    The power adapter for my iBook G3 started only working when it really felt like it, so I check the discussion boards about buying a new one. I saw the link about Shentech.com, which indicated their power cord was the same as the one bought from the A

  • Should I create a new iTunes Library on my new iMac?

    I have been using a MacPro with multiple hard drives. One such 2TB drive has been the location of my MacPro iTunes library and media files. It takes up about 1.5TB of space with all the music, video and books. I use EyeTV from Elgato to record TV sho

  • Vendor Issue in SRM

    Hi All, I have question regarding vendor mapping to purchase organization and company code. I am working on SRM 4.0. Suppose I created a shopping cart for company code A and purchase organization X using vendor XYZ. This vendor is defined for only co

  • Extending Seeded iProc Page - Options

    Hi, I need to add extra information to a table on a seeded iProc page. I have successfully added extra columns by substituting the VO and adding columns however there isn't going to be enough space width-wise to accommodate all the fields I need to a