Doubt to the advanced multiple selection table

Hello

I use a table in my page.and I have several columns of the table selection.
I select several lines and inserts the data into another table.

My question is when I check the multiple select box and select lines it will redirect to another page.
and when I return to the selection page of that checkbox values are not resetting.it shows the same values.
Please let me know how to reset these values or how these values are not checked.


Thanks in advance
Bharat

Bharat,

Attach a transitional attribute with Multiple selection... instead of any attribute associated with the table.

Kind regards
GYAN

Tags: Oracle Applications

Similar Questions

  • 'shift' key does not work in the multiple selection table

    I created a table by dragging default datacontrol vo, the multiple value RowSelection, override the SelectionListener a manageBean method as follows:

    {} public void tableMakeCurrent (SelectionEvent selectionEvent)
    RowKeySet rks = selectionEvent.getAddedSet ();
    System.out.println (RKS. GetSize());
    Iterator it = rks.iterator ();
    {while (IT.hasNext ())}
    System.out.println (IT. Next());
    }
    }

    The problem is when I use 'shift' button help me select several lines, it will only print the last line, which I selected.

    Is there a way to fix this? Thank you...

    jdeveloper11.1.1.3

    for rowSelection multiple = to work with 'shift' you should not have the selectionListener or selectedrowkeys for your af:table
    http://www.adftips.com/2010/11/ADF-UI-implementing-multi-select-table.html
    delete selectedrowkeys and ownership selectionListener in the table and you will get select using the 'shift '.

  • The MySQL Multiple selection list

    How to make multiple selections in the drop-down list in a form in Dreamweaver 8 and publish on MySQL?

    I tried using implode as recommended here: http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=12 & catid = 263 & threadid = 1112556 & highlight_key = y & keyword1 = multiple

    It worked unless the user did not select all the items in the list. Then, I got a bad argument error message.

    Then I tried just using POST without the implode and [] at the end of the name, but this put the word 'Picture' in the row/column in the database instead of the data.

    I then tried the POST with [the] on the chosen name and [] in the SQL statement: GetSQLValueString ($_POST [' devices [] ""], "text"), Dreamweaver wouldn't let me associate it under Insert a record in the section of the server behaviors - so nothing is put in the database.

    I need to be able to display multiple selected items in a list box for MySQL, but allow the user to select nothing in the drop-down list without receiving an error.

    Thank you very much for your help. In the end, he has worked with put the [] after the name and the following code:

    GetSQLValueString (isset($_POST['appliances'])? implode ("-", $_POST ['appliances']): "", "text")

  • How to manage the lines multiple region table OFA

    Hi gurus,

    I'm new to the development of new Pages of the OFA. Please help me how to manage multiple lines in the table region OAF.

    My requirement I'm not able to manage multiple lines in my area of Table.

    First row in my table area I am selected date_start and date_end when I select the end_date I need I need difference bet ween dates.

    My problem is I am able to manage the first Table line but I am not able to manage the table still ranks when I fire that time I first get the rank only.

    POS:

    14/08/12 07:59:40 1

    14/08/12 07:59:40 inside

    14/08/12 07:59:40 date difference is 86400000

    14/08/12 07:59:40 date difference is 1

    14/08/12 07:59:40 date is less than 365

    14/08/12 07:59:57 1

    14/08/12 07:59:57 inside

    14/08/12 07:59:57 date difference is 86400000

    14/08/12 07:59:57 date difference is 1

    14/08/12 07:59:57 date is less than 365

    14/08/12 08:00:13 1

    14/08/12-08:00:13 inside

    14/08/12 08:00:13 date difference is 86400000

    14/08/12 08:00:13 date difference is 1

    14/08/12 08:00:13 date is less than 365

    My custom logic:

    If (DutDetSEndDat".equals (pageContext.getParameter (EVENT_PARAM))) {" "}
    DateDiff (pageContext, webBean);
    //Am = XxDutyTravelAMImpl
    //(XxDutyTravelAMImpl) pageContext.getApplicationModule (webBean);
    OAViewObject = oaviewobject1
    (OAViewObject) am.findViewObject ("XxDutyTravelDuDetEOVO1");

    System.out.println("1");
    If (oaviewobject1! = null) {}
    System.out.println ("Inside");
    oaviewobject1. Reset(); New line added
    oaviewobject1. Next(); new line added
    Line OARow = (OARow) oaviewobject1.getCurrentRow ();

    Date sDate = (Date) row.getAttribute ("DutdetStartDate");

    Date = eDate (Date) row.getAttribute ("DutdetEndDate");
    java.util.Date VChangeDateTime =
    new java.util.Date (sDate.timestampValue () .getTime ());

    If (sDate! = null & & eDate! = null) {}
    long m1 = sDate.timestampValue () .getTime ();
    long m2 = eDate.timestampValue () .getTime ();

    long diff = m2 - m1;
    System.out.println ("difference in date is" + diff);
    int diffDays = Math.round (diff / (24 * 60 * 60 * 1000));
    System.out.println ("difference in date is" + diffDays);
    If {(diffDays > 365)
    System.out.println ("Date is greater than 365");
    } else {}
    System.out.println ("Date is less than 365");
    }
    }
    }
    }

    Kind regards

    Srinivas

    Hi Srini,

    To get the event line descriptor that shot please use code below.

    If (DutDetSEndDat".equals (pageContext.getParameter (EVENT_PARAM))) {" "}
    DateDiff (pageContext, webBean);
    Am = XxDutyTravelAMImpl
    (XxDutyTravelAMImpl) pageContext.getApplicationModule (webBean);

    String rowRef = pageContext.getParameter (OAWebBeanConstants.EVENT_SOURCE_ROW_REFERENCE);
    OARow line = (OARow) am.findRowByRef (rowRef);

    Date sDate = (Date) row.getAttribute ("DutdetStartDate");

    Date = eDate (Date) row.getAttribute ("DutdetEndDate");
    java.util.Date VChangeDateTime =
    new java.util.Date (sDate.timestampValue () .getTime ());

    If (sDate! = null & eDate! = null) {}
    long m1 = sDate.timestampValue () .getTime ();
    long m2 = eDate.timestampValue () .getTime ();

    long diff = m2 - m1;
    System.out.println ("difference in date is" + diff);
    int diffDays = Math.round (diff / (24 * 60 * 60 * 1000));
    System.out.println ("difference in date is" + diffDays);
    If {(diffDays > 365)
    System.out.println ("Date is greater than 365");
    } else {}
    System.out.println ("Date is less than 365");
    }
    }
           
    }

    Thank you

    Vlaminck

  • Unable to move the table header id advance where multiple selection is used

    Hello
    We have a page of the OFA using custom tables and rows headers in the sections of lines we used several LOV selection using the table of actions (and we did it with success.,)

    Now my question is, the header value is failed in the lines that I create by selecting the lines of creation.

    For example:
    the header ID is 101
    the selection of multiple lines for the creation.
    create lines with success but id header does not pass in one of the lines in the header of line level table id column.

    TNX in advance.

    Hello

    I used the code for similar requirements below. Please check if its useful for you.

    Here, I take the current header ID value and check line lines whole vo seen headerID as null and setting the current headerID for these lines headerID.

    code processFormRequest
    {
    OAViewObject HeaderVo = (OAViewObject) am.findViewObject ("CreateHeaderVO1");
    Line OARow = (OARow) HeaderVo.getCurrentRow ();
    "" String headerIDValue = row.getAttribute ("ReqHeaderId") + "";
    Serializable [] params = {headerIDValue};
    am.invokeMethod ("insertDetails", params);

    }

    code the insertDetails method in AM as below:

    {} public void insertDetails (String HeaderID)

    OAViewObject linevo = (OAViewObject) getLineVO2 ();

    int headerId1 = Integer.parseInt (HeaderID);

    rowCount int = linevo.getRowCount ();

    Line row = linevo.first ();

    for (int i = 0; i)<>
    {

    oracle.jbo.domain.Number headerId = (oracle.jbo.domain.Number) row.getAttribute ("ReqHeaderId");
    Row1 OARow = (OARow) linevo.getCurrentRow ();

    if(headerId==null)
    {

    Row1.SetAttribute ("ReqHeaderId", headerId1);
    }

    line = linevo.next ();
    }

    } //end insertDetails()

  • Selection multiple question table advanced on the OFA page

    Hello

    I have a table edge on the OA Page. This advanced table, I had added the action of multi selection table.
    For multiple selection, I have attached an Instance of the view and an attribute of the view.

    There are text entry field in the advanced table. If the user makes changes to it, a 'updateDate' event fires.
    Co:
    {if (Event.Equals ("updateDate"))}
    System.out.println ("A");
    String rowReference =
    pageContext.getParameter (OAWebBeanConstants.EVENT_SOURCE_ROW_REFERENCE);

    [Serializable] param = {rowReference};

    am.invokeMethod ("DetailsCheckBox", param);
    }

    Am:
    public void DetailsCheckBox (String rowReference) {}
    System.out.println ("B");
    line oracle.jbo.Row = findRowByRef (rowReference);


    Ivo DetailsVOImpl =
    FindViewObject ("DetailsVO1") (DetailsVOImpl);

    String chkbox = (String) row.getAttribute ("Multiselect");
    System.out.println ("multiselect original:" + chkbox);
    If ((chkbox == null) |) (chkbox.equals ("N"))) {
    ivo.setCurrentRow (row);
    row.setAttribute ("Multiselect", "Y");
    String chkbox1 = (String) row.getAttribute ("Multiselect");

    System.out.println ("multiple selection:" + chkbox1);
    Ivo.Reset ();
    }

    }

    The problem is that if there are 5 lines are displayed in the advanced table and changes to one of the first 4 rows, the box gets checked on the page but if I make the changes to the last row, the box is not checked on the page, even if the statement String chkbox1 = (String) row.getAttribute ("Multiselect"); Returns 'Y' AM.

    Help, please. Its urgency.

    Hello

    We use the following pseudocode of the AOS.

    VO. Reset()
    While (vo.hasNext ())
    {
    your code
    }

    This will solve your problem.

    Thank you
    Kumar

  • Obligation to fill the values in table advanced according to the selection of a value in another article of lov (not in the advanced table)

    Hi all

    We work in a custom oaf page subdivision. We have an obligation to fill the values in table advanced based on a value selection in an element of the lov (this LOV is not in the advanced table) .can share you it please me steps or examples of code to achieve this. Waiting for response.

    Kind regards

    I do not understand completely still. What do you mean by "default in the table values must be inserted".

    You can create a dummy VO with the same columns and fix the VO in the advanced table.

    In the normal scenario, when the user clicks on submit button, browse this VO, and copy the values to the validation according to VO and appeal EO. If values gets inserted into the database.

    When the user selects the number of PO, simply run the other VO and fill this dummy VO so that values are available in the advanced table. When you click on send, do not copy these values to the EO based VO, so these lines won't get inserted.

    It work?

    See you soon

    AJ

  • Create the form for selecting data in multiple tables

    Hello

    I'm getting APEX for the first time and I just read 2 days dev Application Express guide

    I tried to play and I can't create a report with the form that select data from several tables

    What I want to achieve is a report we'll say 'USERS' makes MANAGER_ID ID, NAME, with a form that allows me to create, delete, change users

    The problem is that, once the report with the form created, if I click on create (to create a user) it will ask me for id, name, and manager_id

    I need a water drop down which allows me to select managers in the table manager instead of manually insert Director id

    How do I do that?

    Thank you!

    HI Chris,

    LOV will use this magic.

    Search:

    Kind regards

    BEnjamin

  • view multiple lines in the advanced table

    Hi all

    I have a requirement. I created advancedtable. When the page loads, to display 4 rows at a time. Can anyone please help how to achieve this req

    Kind regards
    Murali

    Hello

    Write the code below in AM that will create 5 blank lines in the advanced table.

    xxVOImpl voImpl = getxxLineVO1();
    voImpl.setWhereClause ("1 = 2");
    voImpl.executeQuery ();
    for (int i = 1; i)<=5>
    {
    Line = voImpl.createRow ();
    voImpl.insertRow (row);
    row.setNewRowState (Row.STATUS_INITIALIZED);
    row.setAttribute ("column1", i);
    row.setAttribute ("column2", "XYZ");
    }

    Kind regards
    Mary

  • Automatic filling of multiple selection based on the selection list

    Hello

    I have a problem in filling multiple selection data in the selection list.
    I would like to take an example and explain.
    I have 3 tables: employee, Department and a link table for employee and department.
    The selection list contains employee and the Department is a multiple selection. Employee selection, all departments must be posted and belongs to the Ministry of which employee (which comes from the binding table) must be selected (high-lighted). How can I do this?

    HI 841762 :),.

    Do not use the 'style' to highlight that you would have found out by now that would make the blue text background while the font color remains black and this will make the text unreadable. Plus if there is a button on the page when you submit it to us, I doubt that it will store the State of the selected items in a multiple of P1_DEPT in session state. then try this...

    In the application process, replace, the status of 'style' that you used to highlight as you...

    ....
    If (rec.R=cnt)then
    htp.prn('');
    ELSE
      htp.prn('');
    end if;
    ...
    

    Then in the JS, use

    appendToSelect(list, l_Opt_Xml.getAttribute('value'), l_Opt_Xml.firstChild.nodeValue,l_Opt_Xml.getAttribute('selected'));
    

    and change the function "appendToSelect".

    function appendToSelect(pSelect, pValue, pContent,pIsSelected) {
    
     var l_Opt = document.createElement("option");
     l_Opt.value = pValue;
    
    if(pIsSelected)
    l_Opt.setAttribute('selected','selected');
    
    if(document.all){
      pSelect.options.add(l_Opt);
      l_Opt.innerText = pContent;
     } else {
      l_Opt.appendChild(document.createTextNode(pContent));
      pSelect.appendChild(l_Opt);
     }
    }
    
  • How can I do a multiple selection in Enum control or control of the ring or control Combo box

    How can I do a multiple selection in Enum control or control of the ring or control Combo box

    You can not.

    You can use a listbox control.

    An alternative solution is to write the code and each selection, the user gives an enum, for example, can be send to a table and invite the user to continue to select...

  • How to enable multiple selection in a TableView via dragging the mouse

    Hello

    I work multiple selection in my TableView but only via the combination SHIFT + click or by using the keyboard, but how can I enable selection of multiple rows in the table via a drag of the mouse? It doesn't seem to work out of the box.

    Thank you

    Robert

    Take a look at this thread:

    Re: How can I select multiple cells in tableview with javafx only with the mouse?

  • How to hide a multiple selection of the TableRegion element dynamically

    Hi all

    I have a requirement to hide the column multipleselection area of table dynamically. Based on the id liability multipleselection column must be disabled or hide.

    I gave the following code to set the fake rendered property.

    OATableBean tabBean = (OATableBean) webBean.findIndexedChildRecursive ("SearchTable");
    Salt of OAMultipleSelectionBean = (OAMultipleSelectionBean) tabBean.getTableSelection ();

    sel.setRendered (false);

    But it's not working. Someone help me in this.

    Thank you and best regards,

    Myvizhi

    Hello

    Try using the code below:

    (I found this on the blog of Mukul

    Oracle of Mukul technology blog: dynamically change multiselect for single select statement in table of the OAF)

    Hide Multiple selection

    OAAdvancedTableBean tabBean = (OAAdvancedTableBean) webBean.findIndexedChildRecursive ("[table item id]");

    Given that multiple selection is at the end, get the total-1 to remove

    int count = tabBean.getIndexedChildCount (pageContext.getRenderingContext ());

    System.out.println ("number of children" + count);

    tabBean.removeIndexedChild(count-1);

    Sushant-

  • Prevent the same selection in the menu in a Table expanding

    Hi all

    I have a table 2 x 2 in which the top line is a header line and the line of the low 'Row1 '. Row1 Cell1 has two buttons, one to add a new Row1 using Javascript click script of the instance:

    this.parent.parent.instanceManager.addInstance)

    .. .and one for delete all Row1 using Javascript click script of the instance:

    rowNum var = this.parent.parent.index;

    this.parent.parent.instanceManager.removeInstance (rowNum);

    Row1 Cell2 contains a datadropdown object.  Basically, when a user adds an extra Row1, I need prevent the to select a previously selected item in the list of dropdowndata.  I can't understand because I'm trying to set up output instance script (or would be - this script validate?) who's trying to reference Row1 [*].  In most simple situations where I have two fixed objects, I just made this as an output FormCalc script:

    If (Object1 = Object2)

    then xfa.host.messageBox ("you cannot select the same thing again")

    and xfa.host.resetData ("Object1")

    endif

    ... that prevents the user to select something with the same rawvalue by alerting the, then turning off the field.

    I hope this makes sense and someone can help!  Thanks in advance for all the gurus of adobe there

    Hello

    Would it not possible to filter the choices in the drop-down list that have already been selected.  If so, you could try something like this JavaScript in the event your falling down preOpen.

    dropDownItems var is ['abc', 'def', 'hij'];.

    var lines = Table1.resolveNodes ("Row1 [*]");

    for (var i = 0; i)< rows.length;="">

    {

    var line = rows.item (i);

    If (! line.) DropDownList1.isNull)

    {

    dropDownItems = dropDownItems.filter (function (item) {element return! == row.}) DropDownList1.rawValue});

    }

    }

    this.setItems (dropDownItems.join(","));

    The first line Initializes a variable with all possible values and then we will although each line filter those already selected.

    You will probably have to change the names of form objects depending on you form, but here's my sample to test the code, https://files.acrobat.com/preview/eb0256dc-af30-4f7c-9187-469ba84464a4

    Concerning

    Bruce

  • How to use the Multiple selection in ADF faces

    I have, I want to know how to use a multiple selection (ADF select several choices) for updating the database.

    by mentioning your exact jdev version.

    As far as I know he in not possible automatic update select a choice that she returns a list which you must map back to the lines of the table yourself.

    Timo

Maybe you are looking for

  • Where the hell is Plugin-Container.exe?

    For some reason, Plugincontainer.exe is does not start. Why is it not appear? I am sure that my version of Firefox should have, because she has been a feature for quite a while. It becomes boring because without it, my browser crashes a lot more ofte

  • Usable graphic card my PC?

    Hi I recently baught a HP Pavilion 500-047c desktop PC Number of product = H5P71AA #ABA And I was wondering if this http://www.evga.com/Products/Product.aspx?pn=02G-P4-2774-KR EVGA gtx 770 with cooler would be able to turn on my PC, I was more wonder

  • Can I set the size of a GUI control in centimeters?

    Hello I know I can get the resolution of the monitor and with this set the display size of a control in a graphical interface. However, the actual size (in centimeters) actually depends on the dimensions (in centimetres) of the screen. I can't that p

  • How many days?

    Hello I want to design a VI that allows to calculate how many days ago 3 or 5 years taking now the review of leap years. Thank you

  • Files of REM blackBerry Smartphones does not not on PC or BlackBerry

    Hello I've seen a lot of problems near mine here, but none seems to help me. A little while back I accidentally erased my handset after entering my password incorrectly 3 times. I know, I know. Although my multimedia files were still there, some vide