UIX LOV loses modal focus

Hi,
I have written a LOV in UIX and call it with MarlinCore.js' openWindow function. It works fine. But... When it starts up it has "modal focus". I cannot set the focus back to the calling window, as expected. However when I refresh the LOV, or in fact submit any request from it (such as pressing a "query" button, wich would be quite basic functionality for a LOV), it loses the modal focus, meaning that the calling window can be made active while the LOV window is still visible. Has anybody got a working LOV that keeps its focus, even after firing requests from the LOV?
I have noted that when I create a LOV with a faulty url and my webserver opens a LOV window and serves some 404-page I have defined in web.xml to it, this window will indeed keep its focus, even after a refresh. Very strange indeed.
Am I missing some fundamental javascript knowledge here? Are
Pls help.
-Martijn

Adam,
Not really sure I understand your post, but in answer to your question, this is how I raise the LOV:
From uix page:
  <image source="../images/lov.gif"
         onClick="javascript:   openWindow(top,
                                          ,'<someUrl>
                                          ,'lovWindow'
                                          ,{width:600,height:600}
                                          ,true
                                          ,'dialog'
         />As I wrote in an earlier post, the lov uix code reads:
<?xml version="1.0" encoding="ISO-8859-1"?>
<document xmlns="http://xmlns.oracle.com/uix/ui"
          xmlns:data="http://xmlns.oracle.com/uix/ui"
          xmlns:html="http://www.w3.org/TR/REC-html40"
          xmlns:cqj2ee="http://xmlns.cumquatit.com/uix/ui">
  <metaContainer>
    <head title="SomeTitle" >
      <contents>
        <script data:source="JS_LIB@cqj2ee:appInfo"/>
      </contents>
    </head>
  </metaContainer>
<contents>
  <dataScope>
    <contents>
      <!-- IMPORTANT: DO NOT INCLUDE A BODY TAG HERE. THIS WILL LEAD TO MODALLES LOVs!
    Long postings are being truncated to ~1 kB at this time.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • Camera Raw loses system focus and becomes inactive

    While working in ACR if I hover over any of the command buttons, Save Image,  Open Image, Cancel, or Done for a few seconds the "tool tip" for the button displays and as soon as I move the mouse again the whole Camera Raw windows loses system focus and becomes inactive (every tab, control, menu, etc., becomes greyed out).  To regain the system focus I must move the mouse to the windows 7 taskbar and then back into Camera Raw.  If the fullscreen checkbox in Camera Raw is active the only way to regain system focus is to press the Windows Key twice on the keyboard and move the mouse out of the taskbar tray.  This gets pretty frustrating.  Any clues?

    It doesn't normally do this, I can assure you.  Normally the tooltips just pop up and Camera Raw stays active.
    Do you have any desktop management software installed, besides what Windows provides?
    Are your video drivers up to date?
    -Noel

  • Lose of focus (mouse click/enter key)

    Hello,
    we have a problem customers are complaining about for quite a while now, but despite our efforts, we can not fix it or at least determine with certainty the problem cause.
    We have an application launching forms apps, and from time-to-time we completely lose the focus on this form (generally after typing ENTER in a filter), I mean by focus, we cannot click anymore (cursor seems to stay on a object), we cannot press enter anymore (we get a 'Not defined key function') and so on...
    I heard somewhere that it could be due to 'KEY-OTHERS' trigger not handling correctly the ENTER-KEY. But I need this trigger for my filters, or is there another way? KEY_ENTER does only navigate from field to another.
    I found something which was able to remove focus lost (kind of a hack while trying to fix this on an on), but the problem is I had to remove this, because it blocks the opening of new windows or popups. It was a mouse-click trigger on forms triggers level:
    Go_Record(:System.Mouse_record);
    Go_Item(:System.Mouse_Item);
    But this blocks any window opening, and it also blocks some other tools we have developed.
    Thanks,
    Best regards,
    G.
    EDIT: Forms 11g, and I am pretty sure we had not that much problems with 10g
    EDIT2: I read the same kind of topics in the forum, but no patch seems to help
    AND we use JRE 1.7....
    Edited by: lakers on Jan 14, 2013 11:56 PM
    Edited by: lakers on Jan 14, 2013 11:59 PM

    this problem occurs with some of versions of JRE. Try with JRE JInitiator 1.3.1.22. Also unstalled all others JRE if exists.
    A file called fmrpcweb.res has also been provided which gives the Microsoft Windows client/server keyboard mappings. To use this file, rename fmrpcweb.res to fmrweb_orig.res, and copy fmrpcweb.res to fmrweb.res. Alternatively, use the term parameter as described above.
    By default, whether deploying client/server or over the Web pressing the ENTER key takes the cursor to the next navigable item in the block. To override this default behavior it is necessary to modify the forms resource file to revise the key mapping details.
    Modify fmrweb.res and change the Forms Function Number (FFN) from 27 to 75 for the Return Key. The line should be changed to the following:
    10 : 0 : "Return" : 75 : "Return"
    By default, the line is displayed with an FFN of 27 and looks as follows:
    10 : 0 : "Return" : 27 : "Return"
    This line should NOT fire the Key-Enter trigger since the Return or Enter key is actually returning the Return function represented by the FFN of 27. The FFN of 75 represents the Enter function and fires the Key-Enter trigger.
    http://docs.oracle.com/cd/E24269_01/doc.11120/e24477/configure.htm#i1077054
    please mark correct/helpful if problem is solved..
    Edited by: Askdineshsinghminhas on Jan 15, 2013 5:28 AM

  • Forcing JFrame to lose its focus programatically

    Hello everyone,
    I have a JFrame with a button over it. Now I wants that when I click on the button,
    my JFrame should lose its focus.
    Can anybody tell me whether it is possible in java or not?
    Thanks in advance.

    It depends upon the underlying OS
    On Windows XP it goes to the last application which was in focus.
    For eg- If I first open up a notepad and after that my java application the once my application loses its focus it should go to notepad.
    But i think that will be handled by the OS itself because when you minimizes an application then the application which had the focus before this one will automatically get the focus.

  • Forcing ComboBox to lose its focus when isPopupVisible()==false

    Hi,
    I'm in a situation where I need to force my comboBox to lose its focus, in a case when user clicks the comboBox to pull down the popup but does not click any value inside the comboBox popup. In such a situation I need to force the comboBox to lose its focus.
    I looked for some method like setFocus in comboBox api, but did not find anything such.
    appreciated..

    import javax.swing.*;
    import javax.swing.table.*;
    public class JTableComboSSCCE extends javax.swing.JFrame {
        JTable table;
        DefaultTableModel model;
        public JTableComboSSCCE() {
            initComponents();
            createTable();
        public void createTable() {
            model = new DefaultTableModel();
            model.addColumn("Name");
            model.addRow(new Object[]{"Julia"});
            model.addRow(new Object[]{"Sara"});
            model.addRow(new Object[]{"David"});
            model.addRow(new Object[]{"Mauricio"});
            model.addRow(new Object[]{"Tina"});
            table = new JTable(model);
            scrollPane.setViewportView(table);
            TableColumn firstColumn = table.getColumnModel().getColumn(0);
            JComboBox comboBox = new JComboBox();
            comboBox.addItem("Snowboarding");
            comboBox.addItem("Teaching high school");
            comboBox.addItem("None");
            firstColumn.setCellEditor(new DefaultCellEditor(comboBox));
        void updateTable() {
            model.removeRow(4);
        private void initComponents() {
            scrollPane = new javax.swing.JScrollPane();
            jButton1 = new javax.swing.JButton();
            jLabel1 = new javax.swing.JLabel();
            jLabel2 = new javax.swing.JLabel();
            setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
            addWindowListener(new java.awt.event.WindowAdapter() {
                public void windowClosed(java.awt.event.WindowEvent evt) {
                    formWindowClosed(evt);
            jButton1.setText("Update Table");
            jButton1.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jButton1ActionPerformed(evt);
            jLabel1.setText("1- Click the last row, but do not pick any value, then click outside the table");
            jLabel2.setText("2- Click Update Table button, then click any row to edit cell");
            javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
            getContentPane().setLayout(layout);
            layout.setHorizontalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addComponent(scrollPane, javax.swing.GroupLayout.DEFAULT_SIZE, 670, Short.MAX_VALUE)
                .addGroup(layout.createSequentialGroup()
                    .addGap(21, 21, 21)
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                        .addComponent(jLabel2, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(jLabel1, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 469, Short.MAX_VALUE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 52, Short.MAX_VALUE)
                    .addComponent(jButton1)
                    .addGap(29, 29, 29))
            layout.setVerticalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addGroup(layout.createSequentialGroup()
                            .addGap(24, 24, 24)
                            .addComponent(jButton1)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED))
                        .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                            .addContainerGap(37, Short.MAX_VALUE)
                            .addComponent(jLabel1)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(jLabel2)
                    .addGap(15, 15, 15)
                    .addComponent(scrollPane, javax.swing.GroupLayout.PREFERRED_SIZE, 214, javax.swing.GroupLayout.PREFERRED_SIZE))
            pack();
        private void formWindowClosed(java.awt.event.WindowEvent evt) {
            this.dispose();
        private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
            updateTable();
        public static void main(String args[]) {
            java.awt.EventQueue.invokeLater(new Runnable() {
                public void run() {
                    new JTableComboSSCCE().setVisible(true);
        private javax.swing.JButton jButton1;
        private javax.swing.JLabel jLabel1;
        private javax.swing.JLabel jLabel2;
        private javax.swing.JScrollPane scrollPane;
    }

  • Firefox frequently loses window focus

    It seems that Firefox frequently loses window focus when I open a new page. It may be a bookmark, a link opened into a new tab via CTRL+Left-Click, or whatever. The following scenario always results in the window losing focus (for me).
    # Open Firefox.
    # [http://www.foxnews.com Open this link and bookmark it].
    # Close and reopen Firefox.
    # Open the page just bookmarked using the bookmark list and don't touch the window.
    I read this page daily, so when I start Firefox and open the page, I have to click in it so as to scroll, etc..
    Firefox 13, Windows 7 Home Premium 64-bit
    I wish this site had "Preview" for its posts. Geez Louise.

    Oh please fix this ******* issue, it is driving me mad.
    ''Edited by a moderator due to language. See the [http://support.mozilla.com/kb/Forum+and+chat+rules+and+guidelines Rules & Guidelines] .''

  • Escaping Single Quotes in UIX LOVs

    Hello all,
    I am creating an application using ADF and UIX. In the system, I am using the standard UIX LOV, and I am curious if there is an existing way of handling single quotes entered by users in the search area. By default (at least in my case), single quotes cause an error in the SQL query, so I would like to escape them before the query is run. I attempted to override the onLovFilter method to handle this, but it seems like the LOV window does not actually fire any events or call overridden methods. I also overrode prepareMode to simply output "hello" when it is called, to test if any events were really being fired, but my method looks like it is simply being ignored. Is there a simpler way to avoid troubles caused by single quotes? Or can anyone help me override methods in LOVs? Thanks in advance.
    Regards,
    John

    No. Please use PreparedStatements. That is theonly
    correct answer to this question.Ok please tell us. how would you use prepare
    statement.. no just say USE PREPARE STATE.. givethe
    guy the code... or help..What size spoon would you like to be fed with? There
    was nothing about gob size in the original post.
    http://www.javaalmanac.com
    well duffymo.. i think you gave a link, is quite of help, but my friend preparestatement just gave "use preparestatement"..
    i think even you when you start coding you needed help... and some one just tell you use preparestatement how do you feel..
    There is a level of help. i think it will be (((as much as you can)))

  • Switching windows in Linux/Firefox loses keyboard focus. Workarounds?

    Hi,
    I've been stumbling on an issue in which an applet gets into a state where it can receive mouse events but not keyboard events. This state occurs some of the time when switching from a non-modal dialog to the applet.
    I've witnessed this behavior on:
    Linux (fc8), Firefox 3.0.10, Java plug-in 1.6.0_13, Gnome 2.20.3
    Sun Solaris (5.10), Firefox 3.0.8, Java plug-in 1.6.0_12, Sun Java Desktop System or CDE
    I can not reproduce this behavior using appletviewer, nor can I reproduce it on the Mac (Opera/Firefox/Safari), nor on Windows (Firefox/IE).
    I've crafted some code that shows the behavior:
    FocusApplet.java:
    import javax.swing.JApplet;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.border.*;
    import javax.swing.event.*;
    import java.beans.*;
    public class FocusApplet extends JApplet {
      JTextArea infoText;
        Object activeWindow;
        Object focusOwner;
        Object permanentFocusOwner;
           Applet contains two components.
           NORTH: Text field
           CENTER: Info text
           The info text is updated whenever the following
           KeyboardFocusManager properties change:
              activeWindow
           focusOwner
           permanentFocusOwner
      public void init(){
          JTextField tf = new JTextField("Type here");
          infoText = new JTextArea();
          infoText.setEditable(false);
          infoText.setLineWrap(true);
          infoText.setWrapStyleWord(true);
          infoText.setBorder(new EtchedBorder());
          this.add(infoText, BorderLayout.CENTER);
          this.add(tf, BorderLayout.NORTH);
          KeyboardFocusManager focusManager =
           KeyboardFocusManager.getCurrentKeyboardFocusManager();
          activeWindow=focusManager.getActiveWindow();
          permanentFocusOwner=focusManager.getPermanentFocusOwner() ;
          focusOwner=focusManager.getFocusOwner() ;
          updateText();
          focusManager.addPropertyChangeListener(
           new PropertyChangeListener() {
             public void propertyChange(PropertyChangeEvent e) {
              String prop = e.getPropertyName();
              if ("focusOwner".equals(prop)) {
                  focusOwner = e.getNewValue();
                  updateText();
              } else if ("permanentFocusOwner".equals(prop)) {
                  permanentFocusOwner = e.getNewValue();
                  updateText();
              } else if ("activeWindow".equals(prop)) {
                  activeWindow = e.getNewValue();
                  updateText();
          // Create non-modal dialog
          JDialog jdl = new JDialog((Frame)null,"Extra dialog",
                        false/*modal*/);
          jdl.setSize (300,550);
          jdl.setVisible(true);
        public void updateText() {
         infoText.setText("Active window: "+getName(activeWindow)+
              "\nFocus owner: "+getName(focusOwner)+
            "\nPermanent focus owner: "+getName(permanentFocusOwner));
        public String getName(Object obj) {
         return (obj==null) ? "null" : obj.getClass().getName();
    }Applet HTML:
    <applet code="FocusApplet.class" width="400" height="400"></applet>When I run this applet, I can click on the text field ("Type here") and enter text. Then, I switch between the empty dialog box and the applet using the window manager. (I.e., clicking on the dialog, then clicking on the applet.) Sometimes I see the following Keyboard Focus settings when I bring the applet to the front:
    Active window: sun.plugin.viewer.frame.XNetscapeEmbeddedFrame
    Focus owner: javax.swing.JTextField
    Permanent focus owner: javax.swing.JTextField
    In this case, clicking on the text field will allows the user to edit text. Good! However, 10%-50% of the time I get the following settings after I bring the applet to the front:
    Active window: null
    Focus owner: null
    Permanent focus owner: javax.swing.JTextField
    In this case, I can click on the applet, and I can highlight text in the text field, but I can not edit the text. (No carat appears. Bad!) Since there is no keyboard focus owner, the applet appears non-responsive.
    I have a few questions:
    1. Is this a Java plug-in bug? A Firefox bug? Who do I file a bug with, assuming there's not something I'm missing?
    2. Can anyone suggest a workaround?
    Thanks,
    -David-

    I noticed the problem too. Is there any fix or workaround? Friends using Windows say that all is ok.
    Linux x86_64 (Gentoo), Firefox 3.5.1, jre 1.6.0.15.

  • Firefox randomly loses window focus.

    When using firefox, the window will randomly lose focus so that I cannot scroll with the mouse wheel or keypad. This seems to happen randomly or usually a minute or two after I open firefox for the first time after restarting or powering on my computer. I am running the most recent version of firefox and the most recent version of adobe flashplayer. Why is this happening and how can I fix this?

    I think Adobe might have solved this by now, but there used to be a problem where when you launched a new window using Flash, you would get switched to a different window. The workaround was to disable the protected mode feature of the Flash player plugin. It has security benefits, but seems to have compatibility issues on some systems.
    The old instructions were somewhat arduous; fortunately, there is a new hidden setting for this:
    (A) In a new tab, type or paste '''about:config''' in the address bar and press Enter. Click the button promising to be careful.
    (B) In the search box above the list, type or paste '''flash''' and pause while the list is filtered
    (C) Double-click the '''dom.ipc.plugins.flash.disable-protected-mode''' preference to switch its value from false to true.
    This might not take effect until all Flash has been unloaded for a few minutes, or you close Firefox.
    Before that preference was added, the way to disable protected mode was by creating or editing a settings file. The following pages/posts provide different approaches for that if it turns out to be necessary (if Flash EXE processes continue to show up in the Windows Task Manager, Processes tab, even after changing the Firefox preference):
    * Adobe support article under the heading "Last Resort": [http://forums.adobe.com/message/4468493#TemporaryWorkaround Adobe Forums: How do I troubleshoot Flash Player's protected mode for Firefox?]
    * Manual steps: https://support.mozilla.org/questions/968190?page=5#answer-509209
    * Batch file to automate the manual steps: https://support.mozilla.org/questions/982093#answer-518078 (alternate version of Carm's batch file with a few changes by me: [https://onedrive.live.com/?cid=f7d304d92388737d&id=F7D304D92388737D!336&ithint=file,.bat&authkey=!AP2FXW2Y_3BXZyo])
    Flash needs to completely unload from memory (exiting and starting Firefox up again might help) before this takes effect.
    Any improvement?

  • UIX LOV: How to Design an LOV that provides lookup value to multiple field

    Hi,
    I've have an input form which has following fields.
    1) Task Name1: (input lookup field. invokes LookupTask.uix)
    2) Task Name2: (input lookup field. invokes LookupTask.uix)
    3) Task Name3: (input lookup field. invokes LookupTask.uix)
    4) TaskId1 (hidden form field. tied to field Task Name1)
    5) TaskId2 (hidden form field. tied to field Task Name2)
    6) TaskId3 (hidden form field. tied to field Task Name3)
    the way I intend to have the LOV work is as follows:
    The three Task Name input fields are populated by using the same LOV page LookupTask.uix. The user will select a task name from the LOV page.
    When the user invokes the LoV against the TaskName1 field, and selects a value from the LoV and closes it, then it should transfer the task name from the LoV to the Task Name1 field and the corresponding task id to TaskId1 hidden field on the input page. If the LoV was invoked from the TaskName2 field, then the lookup values should be transferred to the TaskName2 and TaskId2 fields correspondingly.
    I am able to make it work if there is just one pair of field, i.e. TaskName1 and TaskId1. I'm not able to make it work with multiple fields served by the LOV window.
    any suggestions on making this work will be greatly appreciated.
    thanks
    Lalit Agarwal

    Lalit -
    Have you tried setting the onLovSelect attribute on the lovInput to a javascript callback function that populates the hidden form fields?
    Matt Lee
    UIX Team

  • Firefox loses window focus when I switch Windows user accounts

    If I have Firefox running in one Windows account and switch to another account (where I don't use Firefox) and then switch back to the account where Firefox is running, and then I open a new Firefox window, Firefox loses focus (in other words, I cannot use the new window unless I first bring it back into focus on the Desktop.) ...and, no, it is not a Windows issue, as other program behave a expected. It's just Firefox that does this. Highly annoying, btw.
    [Oh, and, mods, please reopen my previous thread, I wasn't done with it, thanks.]

    Threads are automatically locked after 6 months and that older thread was started Sunday January 19, 2014.
    This thread was archived:
    *[[/questions/983798]]
    We moderators can't reopen such an archived thread, but can add a link to a new thread if necessary.
    How do you open that new window?
    Is that by clicking the Firefox desktop shortcut or via the Firefox File menu or a toolbar button?

  • Adobe shock wave flash is causing Mozilla Firefox to lose window focus.

    WhenI leave a website open in Mozilla Firefox and then shut my laptop and leave it over night, then turn on my laptop the next day and open Mozilla Firefox and start using it my window loses focus so that I can't scroll or type without clicking somewhere on the screen to regain window focus. I am running windows 8.1 with the most recent version of the schockwave flash plugin. (17.0.0.169). I am also using the most recent and updated version of Mozilla Firefox. Why am I losing window focus? It seems to only happen after starting up my computer after leaving a webpage open from the day before.

    I think Adobe might have solved this by now, but there used to be a problem where when you launched a new window using Flash, you would get switched to a different window. The workaround was to disable the protected mode feature of the Flash player plugin. It has security benefits, but seems to have compatibility issues on some systems.
    The old instructions were somewhat arduous; fortunately, there is a new hidden setting for this:
    (A) In a new tab, type or paste '''about:config''' in the address bar and press Enter. Click the button promising to be careful.
    (B) In the search box above the list, type or paste '''flash''' and pause while the list is filtered
    (C) Double-click the '''dom.ipc.plugins.flash.disable-protected-mode''' preference to switch its value from false to true.
    This might not take effect until all Flash has been unloaded for a few minutes, or you close Firefox.
    Before that preference was added, the way to disable protected mode was by creating or editing a settings file. The following pages/posts provide different approaches for that if it turns out to be necessary (if Flash EXE processes continue to show up in the Windows Task Manager, Processes tab, even after changing the Firefox preference):
    * Adobe support article under the heading "Last Resort": [http://forums.adobe.com/message/4468493#TemporaryWorkaround Adobe Forums: How do I troubleshoot Flash Player's protected mode for Firefox?]
    * Manual steps: https://support.mozilla.org/questions/968190?page=5#answer-509209
    * Batch file to automate the manual steps: https://support.mozilla.org/questions/982093#answer-518078 (alternate version of Carm's batch file with a few changes by me: [https://onedrive.live.com/?cid=f7d304d92388737d&id=F7D304D92388737D!336&ithint=file,.bat&authkey=!AP2FXW2Y_3BXZyo])
    Flash needs to completely unload from memory (exiting and starting Firefox up again might help) before this takes effect.
    Any improvement?

  • [ADF UIX] LOVs, what does the "dot" path expression do?

    Hi
    In developing an ADF UIX web page, I've let JDeveloper create a messageLovInput on the "ExternalSource" field for me as follows:
    <messageLovInput
    model="${bindings.ExternalSource}"
    id="${bindings.ExternalSource.path}"
    destination="refCodesExternalSourceLevelOneLov.uix"
    partialRenderMode="multiple"
    partialTargets="_uixState"/>
    You'll notice that the id is set to blah-de-blah ".path". I can't find mention in the documentation of what the .path does. I think it should be documented in the section "About the Properties of the ADF Bindings" but has been excluded.
    Does anybody have any idea what this binding value provides? And specifically what functionality it provides in the id as a apart of a messageLovInput?
    Thanks!
    CM.

    Or to be more specific, the messageLovInput supplying the following ID with ".path":
    <messageLovInput
    model="${bindings.DepartmentId}"
    id="${bindings.DepartmentId.path}"
    destination="lovWindow0.uix"/>
    ...is used by the LOV lovSelect event "SET" call target property below in returning a value to the calling page?
    <event name="lovSelect">
    <set property="inputValue"
    value="${bindings.DepartmentId.inputValue}"
    target="${data.departmentsUIModel.DepartmentId}"/>
    </event>
    .....and trying something like the following to return more than one field to the calling page would be pointless:
    <event name="lovSelect">
    <compound>
    <set property="inputValue"
    value="${bindings.DepartmentId.inputValue}"
    target="${data.departmentsUIModel.DepartmentId}"/>
    <set property="inputValue"
    value="${bindings.DepartmentName.inputValue}"
    target="${data.departmentsUIModel.DepartmentName}"/>
    </compound>
    </event>
    ..... as the calling messageLovInput can only supply one ID .path?
    Oops, sorry, I hope that isn't too long winded. It's at the end of a very long day for me.....
    Thanks for your help!
    CM :)

  • ADF UIX LOV and JBO-33035

    I'm working on a UIX form which is based on a view, ViewA, which is built up from two entities - e.g. EntA and EntB. Between the entities there is a relation EntA is the child and EntB is the parent. In the view definition EntA is updateable and EntB is not updateable but referenced. ViewA contains all of the fields from EntA (including the foreign key) and Name field from EntB. I also created ViewB which is based on EntB.
    ViewA now has the following fields:
    AId (based on EmpA.Id, updateable)
    AField (based on EmbA.Field, updateable)
    A_B_Fk (based on EmbA.B_Fk, which is the fk. between EmpA and Emp B, updateable)
    BName (based on EmbB.Name, not updateable because of it is part of the referenced, but not updateable EntB)
    I put the views into an application module.
    After that I made a UIX input form based on ViewA. In this form the I displayed only the AField and BName fields. The latter is a messageLovInput node. Because ViewA.BName is a not updateable field I do not use 'model' attibute, I fill the text and prompt attribute with EL expressions instead. When the user presses the LOV button the LOV window appears. There in the 'onSelect' event I set ViewA.A_B_Fk as I saw in the 'ADF_UIX_ListOfValues' sample. Everything seams to work, the referenced EntB is properly filled according to the new value of ViewA.A_B_Fk, but I got JBO-33035: the currency has changed, the expected Key is ...
    I would like to know how should I implement a LOV in a case like this?
    It's very important for me to get through this problem, because I must solve several similar case and the closing date is so near.
    Any help appreciated,
    Gábor

    Ryan,
    Thanks, I've read it and I did my LOV based on that.
    But:
    In that article the LOV field (department id) was just a simple attribute of the EmployeesView and if you had changed dept. id then nothing else would have changed in EmployeesView. In my example if you changed ViewA.A_B_Fk then ViewA.BName would change!
    The problem could be the following (Suppose thet the ViewA edit form is in EditViewA.uix, and the LOV page is LOV.uix):
    If you change ViewA.A_B_Fk in LOV.uix (as we can see in the examle you mentioned) BC4J selects the appropriate EntB and fills ViewA.BName properly. After that EditViewA.uix is refreshed and prepareMethod called. It notifies that the referenced entity is not the same as before and it throws the exception (I don't know why).
    I made a workaround: in LOV.uix I put the selected value into a session variable and I use this value in the lovUpdate event of EditViewA.uix. It seems it works but it could be nicer.
    What do you think about this?
    Gábor

  • UIX LOV default query setting

    When clicking on a flashlight next to an empty or blank “messageLovInput”, its "inputValue" being blank, the resulting LOV popup will show no records found. How can I set either the "inputValue" of the “messageLovInput” or search field in the LOV popup to a default value of “%”?
    The LOV uix source is set to:
    <listOfValues title="Data Source ID" searchText="${param.searchText}" searchAreaMode="filter">
    I need to either set the “messageLovInput”, its "inputValue", to “%” or when the LOV popup is initiated to set its “searchText” to “%”. When set to “%” the LOV will show all records available in the LOV.

    Hi Ed and Karyn,
    Ed, in your example you add <parameters> tag for every search column of the table. I just use one in my application and it works. I hope my example will help :)
    <messageChoice name="filterBy">
    <contents>
    <option text="Department ID" value="DEPARTMENT_ID"/>
    <option text="Department name" value="DEPARTMENT_NAME"/>
    </contents>
    </messageChoice>
    <event name="lovFilter">
    <compound>
    <null/>
    <invoke method="setWhereClause" instance="${bindings.DepartmentsView1.viewObject}" javaType="oracle.jbo.ViewObject">
    <parameters>
    <parameter javaType="string" value="${empty param.filterBy ? 'DEPARTMENT_ID' : param.filterBy} LIKE '%${param.searchText}%'"/>
    </parameters>
    </invoke>
    <invoke method="executeQuery" instance="${bindings.CustId.viewObject}" javaType="oracle.jbo.ViewObject"/>
    </compound>
    </event>
    'DEPARTMENT_ID' in <parameter> is just a default value in case param.filterBy is null.
    Note that I use value property of Choice to assign a table column for whereclause and text property for choice description. So you can write whatever in text to help user.
    Also I have a question. I need my LOV window to be called from different UIX pages. Do you have an example of this? The problem is in updating different UIModels from one LOV window. At forum I was advised to write event handler to update provider depending on source parameter. But unfortunatly I don't know how to do so.
    Thank you in advance.

Maybe you are looking for

  • ITEM GROUP NEEDS TO BE SET UP WITH BALANCE SHEET ACCOUNT

    I am trying to set up an Item so that I can charge it to a Balance Sheet account but the Item Group will not let me do this as it only allows me to charge it to either an Expense or Revenue account.  Is there a way to correct this or change the curre

  • Adding login page to framework page for anonymous user/access

    Hi all, I have created all iviews, page and a role with anonymous authentication. Created desktop,set theme, added rules for the custom framework page for anonymous access.  We need to show some information even before user logs in. How should I add

  • Font size on N80

    Is there anyway that I can increase the font size in N80 buth not with Psiloc?

  • 10.4.9 and Toast Titanium

    Since I´ve downloaded the 10.4.9 update I have problems to burn DVDs with Toast Titanium 6.1.1 CDs are not effected The burn process starts properly, but a few minutes before it is finished it stops the job and Toast freezes. Does anybody else encoun

  • Move Entourage messages to Mail in diferrent user account

    I have two user accounts on my MacBook and need to move Entourage messages from one account to Apple Mail in the 2nd account.  What is the easiest way to do this?