Selecting a line to < af:table > triggers continuously refresh the page

Hello

I have a table that reflects the State of some data. When loading the page view fills correctly and sets the initial value on a detail panel.

When I select a line the page goes into a constant loop (post). The detail panel updates with the selection, but the loop continues.

We are doing something wrong or that someone has encountered this problem?

Thank you.

-Bill

Env: Build JDEVADF_11.1.2.4.0_GENERIC_130421.1600.6436.1


EDIT - cut any additional data that were not relevant to the response.

Hello

on the link layer (PageDef) go to the iterator and set the property "ChangeEventPolicy" to "PPR" 'None '.

Frabnk

Tags: Java

Similar Questions

  • How to use the checkbox to select several lines of af: table

    Hi all
    I want to use the checkbox to select several lines of af: table

    Kind regards
    Tom

    Hello

    look at this link
    http://Sameh-Nassar.blogspot.com/2009/12/use-checkbox-for-selecting-multiple.html

    Kind regards
    Felix

  • Netflix continues to become out of sync and I continue to have refresh the page

    I continue to have refresh the page then I watch netflix because it comes out of cynic.i have uninstalled and reinstalled silver lite.i contacted netflix about the problem.they say its Microsoft Works does not

    Original title: Netflix continues to become off synic

    Hello

    1. what operating system is installed on the computer?

    2. What is the exact error related to out of sync?

    3. were there any changes (hardware or software) to the computer before the show?

    Method 1: Run the troubleshooter, if Windows 7 is installed on the computer.

    Open the troubleshooting of Audio playback

    Method 2: To update the display drivers and check.

    Updated a hardware driver that is not working properly

    Update a hardware driver that is not working properly (Windows Vista)

    How to manage devices in Windows XP

    Hope this information helps.

  • the selection of lines handling af:table

    Dear all,

    I have a table of the ADF, when the line is selected, then I want to get the content of the current line, to run logic...
    I have following code but in the fact that it only returns the contents of the first line...
    < inlineStyle = af:table ' height: 200px; "width ="100% "value =" #{bindings. " Var Entries_VO1.collectionModel}"="row ".
    lines = ' #{bindings. " Entries_VO1.rangeSize}.
    emptyText = "#{bindings." Entries_VO1. Viewable? "{'No data to display.': 'Access Denied.'}".
    fetchSize = "#{bindings." Entries_VO1.rangeSize}.
    rowBandingInterval = '0 '.
    filterModel = "#{bindings." Entries_VO1Query.queryDescriptor}.
    queryListener = ' #{bindings. " Entries_VO1Query.processQuery}.
    filterVisible = "true" varStatus = "vs."
    selectedRowKeys = ' #{bindings. " Entries_VO1.collectionModel.selectedRow}.
    selectionListener = "#{backingBeanScope.main.tableRowSelected} '"
    rowSelection = "single" id = "t1" >

    {} public void tableRowSelected (SelectionEvent selectionEvent)
    Add the code in the event here...
    RowKeySet rs = selectionEvent.getAddedSet ();
    Iterator it = rs.iterator ();
    DCBindingContainer links =
    (DCBindingContainer) BindingContext.getCurrent () .getCurrentBindingsEntry ();
    DCIteratorBinding = empIter
    bindings.findIteratorBinding ("Entries_VO1Iterator");
    RowSetIterator empRSIter = empIter.getRowSetIterator ();
    While (it.hasNext ()) {}
    Key = (Key) ((List) it.next () .get (0);
    Line currentRow = empRSIter.getRow (key);
    System.out.println (CurrentRow.GetAttribute ("XmlContent"));
    }

    }

    in the above code I selectionListener "# {bindings." Entries_VO1.collectionModel.makeCurrent}"to the one above.

    and also, when the page first loads everything, I want the rows in the table deselection...

    Could someone help me with this please...

    -Thank you.
    Kind regards.

    jdev version: 11.1.1.4.0

    Published by: Santosh Vaza on March 7, 2011 15:40

    Thanks nini! Your solution worked for me.

  • Select simple lines that correspond to a column in the output of function group

    Writing a query that will search through a set of data that returns the codes bar of the CompoundNames who have a quantity amount > 500.

    Then if it ran against the sample table below the output would be
    0005
    0006
    0007
    0008
    0009
    0010

    Code bars, CompoundName, BatchId, quantity
    --------------------------------------------------------------
    0001, XE 1000, 1000 100 XE, 100
    0002, XE 1000, 101 1000 X 100
    0003, 102 1000 XE, XE 1000, 100
    0004, XE 1000, 1000 103 XE, 100

    0005, 2000 XE, XE 2000 100, 100
    0006, 2000 XE, XE 100, 2000 101
    0007, 2000 XE, XE 2000 102, 100
    0008, 2000 XE, XE 2000 103, 100
    0009, 2000 XE, XE 2000 104, 100
    0010, 2000 XE, XE 2000 105, 100

    0011, XE 3000, 3000 100 XE, 100


    I had this day

    Select CompoundName, Sum (Quantity) OF Table
    CompoundName GROUP
    HAVING Sum (Quantity) > 500)
    compoundname order;

    But I need every barcode corresponding to each batchid, while the total amount of lots is > 500.

    TIA

    Welcome to the Forum,
    The following approach will work for you.

    select distinct * from
    (
    Select Barcode, CompoundName, SUM(QUANTITY) over (partition by CompoundName) sumqty
    FROM Table
    )
    where sumqty > 500
    order by compoundname;
    

    TRN
    Sudhakar B.

  • Popup do not insert in the table and not refreshing called page...

    Greetings



    Environment: APEX 3.1.1.00.09 on AIX 5.3 with 10 gr 2



    I read a lot of threads about my question and I think I'm getting closer to the answer but in some sort have combined a too big number of suggestions and am tripping over my own code.



    Please look at my sample application on apex.oracle.com:



    Workspace: galway

    User: gwicke

    Password: gwicke



    Please start by Page3, select any agency and then click on "add a new contract."

    There are currently a label "BOLD" < facilities > < strong > 'Add new Builder' which is a link that should open a popup window. Type a name in the field, and then click 'Create Builder'. This should INSERT the row into the table builder, close the pop-up window, assign the new name of the generator to the item page calling "Name Builder" and fill the screen element.



    In current state, the application will open the pop-up, allow entry and close by clicking on the button "create Builder." However, the new constructor is NOT inserted into the table and the calling page element is not met.



    Looking at the Page elements and Session State, I can see the correct values assigned to the elements "Pn_BULDER_NAME" on the popup page (4) and the calling page (2), but the value does not appear on the screen.



    I read here where there really two parallel universes, not forgiveness, Articles of two versions of the screen, a State of Session and the other which is displayed in the browser and there are measures to be taken to be sure that is displayed is updated to state of Session I want in this case.



    I entered the Javascript code on Page4 - header to set the 'passBack2()' function and the code in the section "Option URL Redirect" to the button "Add Builder" if all goes well perform protocol ARP for the INSERT, assign items to page 2 and close the pop-up window. He gets not quite everything.



    Any helpp is greatly appreciated. Thanks to Dene for most of the suggestions I have followed by code.



    -gary

    Hi Gary,.

    I think that there is a very simple solution to this topic - is not this spot really last night.

    First, Yes, you could use a "button" to manage the call for the popup - make sure that the button is a type of URL 'button', which is actually an A tag with the appeal under target URL. Otherwise, you could take you existing a tag and use the same class for one of your buttons attribute because this should make it look like a button.

    More importantly, however, I think we could do as:

    1. on your call popup page 2, clear cache for page 4 (the popup page) - I already did in your application by updating the url

    2. on page popup, allow the user to enter their desired P4_BUILDER_NAME value (not sure if you want to do something to make it unique?)

    3 let the user click on create on the shortcut menu. He will submit the page, that will make your P4_BUILDER_RANK (pk) value and insert a new record in the table (you might consider the creation of a sequence and a trigger to handle the creation of new value PK?).

    4 - assuming that the P4_BUILDER_RANK then exist (it would not if there is a mistake somewhere), then conditionally display a region that had a piece of javascript submit page 2 and closes then itself - we don't need to move everything back to page 2 (see below)

    5. as the P4_BUILDER_NAME and the P4_BUILDER_RANK exist in the session, to which page 2 be reloaded, (A) the selection list should be updated with the new generator (still not sure why all my entries appeared downstairs instead of in alphabetical?) and (B) the P2_BUILDER_NAME and the P2_BUILDER_RANK can have Post calculation calculations together (NVL) ((: P4_BUILDER_NAME,: P2_BUILDER_NAME) and NVL (: P4_BUILDER_RANK,: P2_BUILDER_RANK) respectively)-l' effect is, if there are the values stored in the page P4 elements, we use them, otherwise, we use whatever values were in the elements of page P2

    6 - Finally, to stop (5) that happens in all the loading of page 2, you would need to clear the cache of page 4 in as many places as possible - for example, branches for a 2 page or buttons on page 2

    The reason why we cannot pass values back to page 2, it is one of the elements is a list of selection. The value we want to select will appear not on the selection list until the page has been sent. So, we can set the value and submit because the value is not there. We can introduce and define the value, because the javascript don't know when the page has been updated (or, at least, you need an independent mechanism to identify, which can get complicated).

    So, in other words, as long as we know that if the values are in the session, we can use Post calculation calculations to set our fields to these values. The only thing to keep in mind is that we must ensure that these session values only exist when in need - so we empty the cache. This principle should work for any type of terrain - but as you have no doubt seen, simple text fields can be updated by the popup directly as the field must accept any value that we give.

    My only recommendation would be to completely remove the MRU of the page process because they are not necessary (they simply confuse the issue) and you could make your fetch PK and record insert into a single process - just to keep things clean and tidy, you understand!

    When I finished last night with your app, I will leave so that javascript can create an option on the select list, and then set the value. But the method described above seems to be much simpler.

    Andy

  • Get a specific line of an iterator when loading of the page

    Hi all
    I m new on JDeveloper/Adf and I have a problem with that:
    I have an iterator that contains a few lines extracted from the base and I want to show the information of a specific line when I load the page. I get the values that identifies my line of parameters.
    What I want is to define an action such as 'Next' or 'Previous' in the definition of page my .jsf that I can use to get a specific line. Then invoke this action using 'invokeAction.
    I appreciate if anyone can help.
    Thanks in advance...

    Just played around with it. The carousel component does not set the current line automatically. You must add a spinListener as

    public void onSpin(CarouselSpinEvent carouselSpinEvent) {
                   List currentSelectedKey = (List) carouselSpinEvent.getNewItemKey();
    RichCarousel carousel = (RichCarousel) carouselSpinEvent.getSource();
                    CollectionModel componentModel =
                                  (CollectionModel) carousel.getValue();
    JUCtrlHierBinding carouselTreeBinding =
                       (JUCtrlHierBinding) componentModel.getWrappedData();
                    JUCtrlHierNodeBinding selectedCarouselItemNode =
                   carouselTreeBinding.findNodeByKeyPath(currentSelectedKey);
                    DCIteratorBinding dcIterBinding =
                                 carouselTreeBinding.getIteratorBinding();
                    dcIterBinding.setCurrentRowWithKey
                       (currentCarouselItemKey.toStringFormat(true));
    }
    

    to set it by code.

    Timo

  • How can we fine table or view in the page of the OPS?

    Hi all


    How can we find which table-based page?

    as in apps, we can find with the help of forms-> Diagnostics-> review


    in the case of the OAF page, how can we find?



    Thank you
    Muthu

    'About this page' link is available by setting the FND:Diagnostics option to profile on 'Yes' to the Site or user level.

    The link is left out the bottom of the page. Here you can get information on the ViewObject attached with beans.

    IN OFA ViewObject contains the Sql query.

    http://oracleanil.blogspot.com/2010/09/how-to-start-learning-OAF.html

    Thank you
    -Anil
    http://oracleanil.blogspot.com

  • ADF: How to avoid the selection of lines of default table by the ADF

    Hello

    My Version of JDeveloper is 11.1.1.5

    Scenario, I have two related tables project and Project_Documents and they are hierarchical in my ProjectVO display object. Since they are hierarchical, on my page if I select any project, I'm related document
    in the Project_Documents table.

    But everytime I open this page, project table is selected by default with the first row.

    How to avoid this? I can do to not select any default line by the ADF? So that the user must be able to select the first line, not by the ADF itself... Is there a way to do this?

    Thanks in advance,

    remove the table def selectedRowKeys or disable rowkeyset programmatically.

    RKS RowKeySet = t1.getSelectedRowKeys ();
    RKS. Clear();
    AdfFacesContext.getCurrentInstance () .addPartialTarget (t1);

  • I have more visible tabs line so that I can switch between the pages of tabs. How can I restore it?

    I need to make the tab visible band, not hide it. I downloaded and installed the latest version of Firefox. Windows 7 Home Premium operating system. Thank you

    Make sure that you run not Firefox mode full screen (press F11 or Fn + F11 to toggle; Mac: Command + SHIFT + F).

    If you are in full screen view then hover over with the mouse to the top of the screen to facilitate the bar appear Navigation and tab bar.
    Click the expand (in the top right Navigation bar) to exit full screen or right-click on a space empty on a toolbar and select "exit full screen" or press the F11 key.

    You can check the problems caused by a corrupt localstore.rdf file.

  • Lines and boxes around all display on the page? Why?

    Help > troubleshooting information.

    Did you select the high contrast setting?

    See:

  • How can disable us the selection of lines under condition

    Hi Experts,

    JDEV version 12.1.3.0

    How can disable us the selection of lines under certain conditions.

    As the lines newly unregistered should be allowing the selection of lines.

    Saved lines should be disabled from the selection.

    Can achieve us.

    Please me advice accrdingly

    Thank you

    Roy

    You are implementing a generic selection as shown here http://www.oracle.com/technetwork/developer-tools/adf/learnmore/23-generic-table-selection-listener-169162.pdf Manager in this handler, you check and validate the selection of our not.

    Timo

  • A table does not remove the lines

    I created a tabular presentation. I select one or more lines with the line selector. I click the button Delete and you get a warning/confirmation message. I select OK, then refresh the page. I selected the lines are always present.

    I edited the multi-rang button - remove and found that Action of database has been set no Action database, so I changed it to Action SQL DELETE.

    Still not delete.

    What Miss me?

    Hi mdwyer,.

    I edited the multi-rang button - remove and found that Action of database has been set no Action database, so I changed it to Action SQL DELETE.

    No need for the modification of database SQL DELETE action Action, it is correct with no Action from the database.

    I created a tabular presentation. I select one or more lines with the line selector. I click the button Delete and you get a warning/confirmation message. I select OK, then refresh the page. I selected the lines are always present.

    1. check that the request after clicking on delete...

    For example

    JavaScript:apex.confirm (htmldb_delete_message, 'MULTI_ROW_DELETE');

    Here MULTI_ROW_DELETE is passing as request.

    2. change your ApplyMRD process and check the status

    When you press the button: no condition button

    Condition type: request = Expression1

    Expression 1: MULTI_ROW_DELETE

    Check the request that you place the button Delete is same as a condition of the terms of the Expression 1 or not.

    Or better, you can create examples on apex.oracle.com, which helps the user to study and solved the problem.

    If your problem still persists, then try to recreate the form of tables and check.

    Hope this helps you,

    Reg

  • Selection of lines JTable

    Hello

    I need a JTable where selection of lines is allowed, but not only with the entire line, but individual cells in a single line interval.
    When the user has pressed the mouse button and move the mouse inside the line cells get added or released to the selection.
    When he leaves the current line and releases the mouse button outside the line, that nothing is selected.
    In addition, it would be when the user leaves the line with the mouse button down and enters the line again, select the cell containing the user started
    is highlighted again.
    import javax.swing.*;
    import javax.swing.event.*;
    
    
    public class TestTable extends JPanel{
    
         private JTable table;
         private JFrame frame;
         /**
          * @param args
          */
         public TestTable(JFrame frame)
         {
              this.frame = frame;
              this.table = new JTable(10, 10);
              this.table.setSelectionMode(ListSelectionModel.SINGLE_INTERVAL_SELECTION);
              //this.table.setRowSelectionAllowed( false );
              //this.table.setColumnSelectionAllowed( true );
              this.table.setCellSelectionEnabled(true);
              
              ListSelectionModel rowSelMod = this.table.getSelectionModel();
              rowSelMod.addListSelectionListener( (new ListSelectionListener() {
    
                   @Override
                   public void valueChanged(ListSelectionEvent e) {
                        ListSelectionModel lsm = (ListSelectionModel)e.getSource();
                        System.out.println(lsm.getAnchorSelectionIndex());     
                   
                   }
              }));
              this.add(this.table);
              
         }
         
         public static void main(String[] args) 
         {
              TableView.setMetalLookAndFeel();
              javax.swing.SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    createAndShowGUI();
                }
            });
         }
         
         private static void createAndShowGUI() 
         {
            JFrame frame = new JFrame("Example");
            //frame.getRootPane().setWindowDecorationStyle(JRootPane.FRAME);
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            TestTable newContentPane = new TestTable(frame);
            
            newContentPane.setOpaque(true); //content panes must be opaque
            frame.setContentPane(newContentPane);
    
            frame.pack();
            frame.setVisible(true);
            frame.setLocation(10, 20);
        }
    
    }
    I tried a lot of things with the SelectionModel, the JTable.rowSelectionAllowed () and the JTable.columnSelectionAllowed (), but I do not have the behavior that I want to have.
    The ListSelectionModel model in the valueChanged method has just information about the index of the current column, but no information on the row index.

    Kind regards
    Chang

    Hi Chang,

    This allows you to select cells in a row and a single row:

    import javax.swing.*;
    import javax.swing.event.*;
    
    public class TestTable extends JPanel {
    
        private JTable table;
        private JFrame frame;
        private int selectedRow = -1;
        private final ListSelectionListener columnSelectionListener;
    
        public TestTable(JFrame frame) {
            this.frame = frame;
            this.table = new JTable(10, 10);
            this.table.setSelectionMode(ListSelectionModel.SINGLE_INTERVAL_SELECTION);
            this.table.setCellSelectionEnabled(true);
            this.add(this.table);
            //row selection listener:
            ListSelectionListener rowSelectionListener = new ListSelectionListener() {
    
                @Override
                public void valueChanged(final ListSelectionEvent e) {
                    if (!e.getValueIsAdjusting()) {
                        ListSelectionModel lsm = (ListSelectionModel) e.getSource();
                        selectedRow = lsm.getAnchorSelectionIndex();
                    }
                }
            };
            table.getSelectionModel().addListSelectionListener(rowSelectionListener);
            //column selection listener:
            columnSelectionListener = new ListSelectionListener() {
    
                @Override
                public void valueChanged(final ListSelectionEvent e) {
                    if (!e.getValueIsAdjusting()) {
                        final int row = selectedRow;
                        ListSelectionModel lsm = (ListSelectionModel) e.getSource();
                        int anchorSelectionIndex = lsm.getAnchorSelectionIndex();
                        int leadSelectionIndex = lsm.getLeadSelectionIndex();
                        lsm.removeListSelectionListener(columnSelectionListener);
                        table.changeSelection(row, anchorSelectionIndex, false, false);
                        table.changeSelection(row, leadSelectionIndex, false, true);
                        lsm.addListSelectionListener(columnSelectionListener);
                    }
                }
            };
            table.getColumnModel().getSelectionModel().addListSelectionListener(columnSelectionListener);
        }
    
        public static void main(final String[] args) {
            SwingUtilities.invokeLater(new Runnable() {
    
                @Override
                public void run() {
                    createAndShowGUI();
                }
            });
        }
    
        private static void createAndShowGUI() {
            JFrame frame = new JFrame("Example");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            TestTable newContentPane = new TestTable(frame);
            newContentPane.setOpaque(true); //content panes must be opaque
            frame.setContentPane(newContentPane);
            frame.pack();
            frame.setVisible(true);
            frame.setLocation(10, 20);
        }
    }
    

    It will be useful.

    See you soon,.
    André

  • [JS] select multiple rows in a table

    Hi guys,.

    Is it possible to select several lines in a table? If I pass a reference table of the lines to the app.select () method, it fails.

    For that which is ok, but not for two or more. The lines are next to that them not chnge a thing.

    var t = ....tables[0] //a given reference to a table
    app.select([t.rows[1], t.rows[2], t.rows[3]])
    //Error > Expected array of objects but received (Row,Row,Row)
    

    App.Select(t.Rows[1]) works very well. But when I want to select multiple lines, that is not.

    Any advice?

    TIA Loïc

    Hey!

    Try selecting each line separately:

    var myT = app.selection[0].tables[0];
    myT.rows[0].select();
    myT.rows[1].select(SelectionOptions.ADD_TO);
    

    tomaxxi

Maybe you are looking for

  • I can't remove it AGRSMMSG.exe?

    I'm going through all my .exe files to search for viruses and remove them manually... ideas? I can't remove it AGRSMMSG.exe?

  • Theme of HP artist Edition 2

    Hi can one please give me the theme artists HP Edition 2, it is located on drive C under directory SwSetup\MyColors Windows Vista, my crash of hard disk and had to replace it with a new one and have no other means to reinstall the theme out, please h

  • Windows 7: cannot find Show Desktop

    I have a laptop with Windows 7. When I bought my computer, desktop icon was on my activitifield and it has now disappeared. I want to come back to this new field. What should I do? Windows 7 Tried to put the icon on desktop manually, by clicking the

  • EBBM BBM / BBM protect

    The BlackBerry experience: New York City, he was a beta program. I left my details but have not heard from anyone. Are there contacts to request registration for the beta program?

  • WIndows 8; can't connect to certain websites and games on the internet

    So, here's the deal, I have windows 8 and use IE10. I play an online game called World of Tanks and until yesterday, there was no problem of this game. Now for some reason I can't connect to the game on the server, more site of World of Tanks is not