Issue: LOV tabbing out loses focus

Hi all,
I've realised that typing some characters in a LOV field and tabbing out results in the following:
1. The LOV popup window opens, then you select a value and the value is returned to the lov field.
2. At this moment, the focus is LOST. I would expect the focus to be again at the lov field.
This doesn't reproduce if you open the LOV with the LOV icon. In this case, the focus returns to the lov field, as expected.
Is this a bug?
Does anybody know how to solve it?
Thanks in advance
Version
ADF Business Components 11.1.1.56.60
Java(TM) Platform 1.6.0_18
Oracle IDE 11.1.1.3.37.56.60

Hi a.gruev,
Thanks for your reply. I did some investigation and found that this has to do with IE8 only:
Firefox 3.6: you enter some chars, the LOV opens, you select the value and finally, the mouse cursor stays at the end of the lov field value. OK.
Chrome 7.0: exactly the same, but now the lov field value gets selected and then, the focus remains at the lov field. OK.
Internet Explorer 8.0: works if I enter part of the value (which launches the LOV); if I enter the exact match, the focus is LOST. KO.
Unfortunately we can't get rid of IE, so any suggestions for fixing this for IE will be appreciated.
Barbara
Edited: Anybody knows whether this is a bug?
Edited by: Barbara Gelabert on 19-nov-2010 9:09
Edited by: Barbara Gelabert on 22-nov-2010 6:39

Similar Messages

  • When tab out of an autoSubmit field I lose focus.

    Hello all!
    I'm using jDev 11.1.2.1.0
    I'm facing the following situation. In the employees VO there is a transient attribute which is actually the salary * commissionPct.
    In the jspx, in order to make things interactive, salary and commisionPct have autoSubmit=true. When I change either of the fields the transient column refreshes accordingly. Up to here everything is fine.
    The problem is that when I make a change to either of these fields and tab out the focus is lost. This is very annoying. It happens only in salary and commissionPct fields.
    Is there any way to avoid this??
    Thanks a lot!
    -apostolos

    Sudipto thanks for the link. Very useful.
    I actually use PPR in the employee Iterator, and this is because there is a master-detail functionality in the page. Suppose I have a case similar to department-employees case.
    If I remove the PPR then the master and detail are not synchronized.
    At the bottom you see the sums filed which is actually the product of salary and commissionPct.
    <af:table value="#{bindings.EmployeesVO1.collectionModel}"
                              var="row" rows="#{bindings.EmployeesVO1.rangeSize}"
                              emptyText="#{bindings.EmployeesVO1.viewable ? 'No data to display.' : 'Access Denied.'}"
                              fetchSize="#{bindings.EmployeesVO1.rangeSize}"
                              rowBandingInterval="0"
                              selectedRowKeys="#{bindings.EmployeesVO1.collectionModel.selectedRow}"
                              selectionListener="#{bindings.EmployeesVO1.collectionModel.makeCurrent}"
                              rowSelection="single" id="t1">
                        <af:column sortProperty="#{bindings.EmployeesVO1.hints.EmployeeId.name}"
                                   sortable="true"
                                   headerText="#{bindings.EmployeesVO1.hints.EmployeeId.label}"
                                   id="c1">
                            <af:inputText value="#{row.bindings.EmployeeId.inputValue}"
                                          label="#{bindings.EmployeesVO1.hints.EmployeeId.label}"
                                          required="#{bindings.EmployeesVO1.hints.EmployeeId.mandatory}"
                                          columns="#{bindings.EmployeesVO1.hints.EmployeeId.displayWidth}"
                                          maximumLength="#{bindings.EmployeesVO1.hints.EmployeeId.precision}"
                                          shortDesc="#{bindings.EmployeesVO1.hints.EmployeeId.tooltip}"
                                          id="it1">
                                <f:validator binding="#{row.bindings.EmployeeId.validator}"/>
                                <af:convertNumber groupingUsed="false"
                                                  pattern="#{bindings.EmployeesVO1.hints.EmployeeId.format}"/>
                            </af:inputText>
                        </af:column>
                        <af:column sortProperty="#{bindings.EmployeesVO1.hints.FirstName.name}"
                                   sortable="true"
                                   headerText="#{bindings.EmployeesVO1.hints.FirstName.label}"
                                   id="c2">
                            <af:inputText value="#{row.bindings.FirstName.inputValue}"
                                          label="#{bindings.EmployeesVO1.hints.FirstName.label}"
                                          required="#{bindings.EmployeesVO1.hints.FirstName.mandatory}"
                                          columns="#{bindings.EmployeesVO1.hints.FirstName.displayWidth}"
                                          maximumLength="#{bindings.EmployeesVO1.hints.FirstName.precision}"
                                          shortDesc="#{bindings.EmployeesVO1.hints.FirstName.tooltip}"
                                          id="it2">
                                <f:validator binding="#{row.bindings.FirstName.validator}"/>
                            </af:inputText>
                        </af:column>
                        <af:column sortProperty="#{bindings.EmployeesVO1.hints.LastName.name}"
                                   sortable="true"
                                   headerText="#{bindings.EmployeesVO1.hints.LastName.label}"
                                   id="c3">
                            <af:inputText value="#{row.bindings.LastName.inputValue}"
                                          label="#{bindings.EmployeesVO1.hints.LastName.label}"
                                          required="#{bindings.EmployeesVO1.hints.LastName.mandatory}"
                                          columns="#{bindings.EmployeesVO1.hints.LastName.displayWidth}"
                                          maximumLength="#{bindings.EmployeesVO1.hints.LastName.precision}"
                                          shortDesc="#{bindings.EmployeesVO1.hints.LastName.tooltip}"
                                          id="it3">
                                <f:validator binding="#{row.bindings.LastName.validator}"/>
                            </af:inputText>
                        </af:column>
                        <af:column sortProperty="#{bindings.EmployeesVO1.hints.Salary.name}"
                                   sortable="true"
                                   headerText="#{bindings.EmployeesVO1.hints.Salary.label}"
                                   id="sal">
                            *<af:inputText value="#{row.bindings.Salary.inputValue}"*
                                          label="#{bindings.EmployeesVO1.hints.Salary.label}"
                                          required="#{bindings.EmployeesVO1.hints.Salary.mandatory}"
                                          columns="#{bindings.EmployeesVO1.hints.Salary.displayWidth}"
                                          maximumLength="#{bindings.EmployeesVO1.hints.Salary.precision}"
                                          shortDesc="#{bindings.EmployeesVO1.hints.Salary.tooltip}"
                                          id="it6" autoSubmit="true">
                                <f:validator binding="#{row.bindings.Salary.validator}"/>
                            </af:inputText>
                        </af:column>
                        <af:column sortProperty="#{bindings.EmployeesVO1.hints.CommissionPct.name}"
                                   sortable="true"
                                   headerText="#{bindings.EmployeesVO1.hints.CommissionPct.label}"
                                   id="comm">
                            *<af:inputText value="#{row.bindings.CommissionPct.inputValue}"*
                                          label="#{bindings.EmployeesVO1.hints.CommissionPct.label}"
                                          required="#{bindings.EmployeesVO1.hints.CommissionPct.mandatory}"
                                          columns="#{bindings.EmployeesVO1.hints.CommissionPct.displayWidth}"
                                          maximumLength="#{bindings.EmployeesVO1.hints.CommissionPct.precision}"
                                          shortDesc="#{bindings.EmployeesVO1.hints.CommissionPct.tooltip}"
                                          id="it7" autoSubmit="true">
                                <f:validator binding="#{row.bindings.CommissionPct.validator}"/>
                            </af:inputText>
                        </af:column>
                        <af:column sortProperty="#{bindings.EmployeesVO1.hints.Sums.name}"
                                   sortable="true"
                                   headerText="#{bindings.EmployeesVO1.hints.Sums.label}"
                                   id="c9">
                            *<af:inputText value="#{row.bindings.Sums.inputValue}"*
                                          *label="#{bindings.EmployeesVO1.hints.Sums.label}"*
                                          *required="#{bindings.EmployeesVO1.hints.Sums.mandatory}"*
                                          *columns="#{bindings.EmployeesVO1.hints.Sums.displayWidth}"*
                                          *maximumLength="#{bindings.EmployeesVO1.hints.Sums.precision}"*
                                          *shortDesc="#{bindings.EmployeesVO1.hints.Sums.tooltip}"*
                                          *id="it8">*
                                *<f:validator binding="#{row.bindings.Sums.validator}"/>*
                            *</af:inputText>*
                        </af:column>
                    </af:table>Edited by: apostolosk on May 2, 2012 3:19 PM

  • Lose focus when tabbing out of autoSubmit text box in IE

    Hey,
    Using JDEV 11.1.1.4 I have a problem with tabbing from one textbox to another textbox in IE. Both text boxes have autoSubmit=true and to reproduce the problem it's like so:
    I type a value or edit the existing one into text box 1 and press Tab. The submit is done and focus is given to the second text box but only momentarily before it loses focus. The focus then is given to the window it would appear, because if I press Tab again it begins from the top of the page. This is only happening in IE (v8 is all I have tried so far). This ONLY happens when the value of the second box is null. If it has a value all works fine.
    I tried implementing various solutions including using the ExtendedRenderKitService to write javascript to the client from the bean to set focus on the text box after the partial render. The javascript is called and focus is set but then something else calls blur on it afterwards. I have verified this by putting a blur event listener on it and it gets called after I set focus on it from my own javascript!
    Has anyone experienced something similar? Just to note: It only happens in IE, and it only happens when the second text box is empty.
    Thanks,
    Ross

    Hey John,
    In reply to your message
    1). Tried on 11.1.1.6 to see if the issue is still there?Not really an option to try and upgrade and test if it works there.
    2). Made a simple test case removing as many variables as possible (e.g. do a simple screen with no DB interaction and only two fields) to see if it reproduces or it's something with your screen?Tried this an it works fine which means it is something unique to my code.
    3). Filed an SR at https://support.oracle.com with your test case
    As above it looks like it's not a problem with ADF so I will keep looking at it.

  • URGENT ISSUE Flexfield segment disabling on tab out event

    I have a flexfield on my page.
    i have to set one flexfield segment(A) disabled when we tab out of the other flexfield segment(B) (i.e.wen B loses focus)
    how do we capture such an event and show results thru a controller class?
    Is it a case of partial page rendering..?
    Pls help

    Kindly tell me even if it is technically feasible..??
    Pls respond

  • Urgent.. Tab out issue with ADF 11g Input List of Values..

    Hi,
    I have Customer Number Input List of values on the page(some people also "torch").When we type customer number and tab out it's not bringing the customer name automatically.
    It would be really appreciate if anyone can help me on this..
    Thanks

    Hi Frank,
    The scenario is like this:
    I have a LOV on Item Field,and the Customer table has CustomerNumber and CustomerName(around 100k records).
    User Enters the CustomerNumber say 1000 then the LOV Window should automatically validate and findout the CustomerName without poping up the window.
    Actually what ever user entered is a correct value.how can i solve this issue , if there is a correct matching value in table it shouldn't open up the LOV window.
    I am using jDeveloper 11.1.1.0.0
    Please let me know if you need any further infomation.
    Thanks

  • FF15 is preventing pages in out of focus tabs from autorefreshing. All Javascript/Java and plugins are prevented from refreshing data when tab is not displayed

    FF15 is preventing pages that contain auto refreshing html commands, Javascripts, Java applettes, and other plugins, from auto reloading or refreshing information on web pages, when the tabs than contain them go out-of-focus.
    While tab has focus (page is fully displayed) all auto refreshing/reload embedded commands/programs work correctly.
    I work with web sites, were information needs to be auto updated constantly, whether the tab is hidden or not, such as stock prices, web server monitoring, biding sites, customer support chat, etc.
    This behavior can cause severe loads in web servers with web pages that contain many data items, when all server side programs that pertain to the data being displayed have to run from scratch at the same time, when the tab is brought back in focus, since the browser issues a full reload.
    This behavior also interferes with "reloading" FireFox addons
    One should be able to stop, and/or disable this behavior, and pretty sure this problem is affecting many users, and or web sites that rely on these commands to work according to html protocols.
    Is not the function of a web browser to interfere in any way with html embedded commands or programs, by stoping functionality, or preventing connection to the internet

    No need to remove Adblock Plus, disabling it should help you discover whether ABP is causing that problem or not.
    I saw a mention of that problem at MozillaZine fora a few days ago, but don't recall the details. But IIRC it has to do with toggling a setting to off.
    Adblock Plus has its own support forum.They should be able to help you get ABP adjusted to avoid that issue. <br />
    http://adblockplus.org/forum/

  • How to pause stage/swf with audio when a new tab is opened/ out of focus in browser

    I have created a container in Flash Professional CS5 for my project’s CBT.  I’ve been able to script many of the features we require using AS3, but there are a couple of things I’m still trying to work out.
    I would like the swf presently playing in one tab to pause and go silent when another swf is opened in a new tab (the sound is inside this externally loaded swf which is loaded inside a movie clip from buttons nested a movie clip down).  I’ve tried :
    var originalFrameRate:uint = stage.frameRate;
    var standbyFrameRate:uint = 0;
    addEventListener(Event.ACTIVATE, onActivate);
    addEventListener(Event.DEACTIVATE, onDeactivate);
    function onActivate(e:Event):void
           stage.frameRate = originalFrameRate;
           trace("in focus");
    function onDeactivate(e:Event):void
           stage.frameRate = standbyFrameRate;
           SoundMixer.stopAll();
           trace("out of focus");
    And
          I’ve looked into the HTML tag “has Priority”
    and coded buttons to:
    function fl_ClickToGoToWebPage(event:MouseEvent):void
           navigateToURL(new URLRequest("http://www.ansaldo-sts.com/AnsaldoSTS/EN/index.sdo"), "_blank");
           MovieClip(this.stage).stop();
    With variations of:
    MovieClip(this.parent.parent)stop();
    MovieClip(this.parent.parent.parent.parent)stop(); because the button is 3 movie clips deep.
    MovieClip(this.root)stop();      MovieClip(root)stop();MovieClip(this.currentTarget.root)stop();
    Could someone please provide me with the code?
    This function is present when I publish the CBT with Captivate, so obviously there must be code available. You can set the Captivate button to open url in new window and pause movie.
    Is there something I can add to the html file that is similar to the “has Priority” for mobile devices or is there javascript that can be added to the flash itself?

    You would send a command to Flash from JavaScript when window.onblur event occurs.

  • Word 2011 for Mac Book pro - I have found that my cursor disappears sometimes when I click on a toolbar function. I found out it is a bug, that the Mac loses 'focus'. I can correct it temporarily by clicking on Format - Font - Cancel. Any info?

    I have Word 2011 on a Mac Book Pro and have had problems with a dissapearing cursor - it makes editing tricky
    After googling it I found out that there is a bug where the Mac loses focus if you click away from the document - it also does this with italics according to other users.
    I had a play with it and found out that when I click on the toolbar in a document where this happens, the cursor disappears, e.g. changing font colour etc. And then, when I click on Format - Font - Cancel it returns
    I'd be interested if anyone else has a comment to add, please do
    thanks

    BTW (speaking as a Dad of 3 daughters in Grad school) if you don't already have and use a DropBox account, or some other similar online "cloud" based backup of your school documents, you should start doing so immediately. By keeping all of your important documents in the Dropbox folder on your computer, you have instant access to them from any other computer (or iPad), should you be w/o your computer while in for repairs (or if, God forbid, it is stolen). It's free for 2 GB of online storage, which is more than enough for a few years worth of Word documents, etc. (If you get other people to sign up via your email "invitation", then Dropbox gives you even more free storage space.) Every time you close a document, it is updated on the Dropbox servers (encrypted), if it is in the Dropbox folder (assuming you give it a few seconds to update before turning off your computer). Do a google search of "Cloud based storage comparisons" to compare the amount of free space each of the competing services give you.

  • JTable - loosing focus without tabbing out

    Hi all,
    I have a JTable and when the user goes to enter some text in a field I would like the value entered to persist to the underlying object as soon as the text is changed. This is without the user tabbing out of the JTable.
    Currently when a value is changed and the user hits a save button the value is not saved as the focus is still in the table, it all works fine as soon as the user enters the new value and tabs out of the table and then selects save,
    Does anyone have any suggestions?
    THanks,

    This can be done via your own TableCellEditor class. Create a TableCellEditor class. Implement KeyListener in this editor to save whenever the data is modified.
    You can set the default editor via setDefaultEditor() on JTable.

  • TS4436 hi, when zooming in to capture still images, the image is really blurred and out of focus. is this a hardware issue and is there any solution for this?? or is my device faulty?

    hi, when zooming in to capture still images, the image is really blurred and out of focus. is this a hardware issue and is there any solution for this?? or is my device faulty?

    If you are using the iPhone camera zoom then remember that this is a digital zoom not an optical zoom. The zoomed in area will have fewer pixels and not appear as clear. The more you zoom the worse it gets. It's like cropping a picture after it has been taken.

  • LOV not validating from the list when tabbed out

    Hi,
    I have an item attached to an LOV generated dynamically based on another LOV. When I change the value in the parent LOV, and just click on the child item(which still has old value) and tab out, it does not validate from the list which has new values. The old value in the field is actually wrong one. However, it shows new values when I click on list of values for the child item.
    I am also setting the property VALIDATE_FROM_LIST to PROPERTY_TRUE. The code to set_lov_property to the dynamic query is generic and is used by both key-listval and when-new-item-instance triggers. Except in key-listval I added list_values.
    I am using forms 6i version.
    Can any one tell me where I am doing wrong?
    Thanks,

    Neeraja,
    Its because the item is not validating again, as there is no change in its contents. So you have to tell oracle to validate that item. For that in the WHEN_VALIDATE_ITEM trigger of the parent item, write,
    SET_ITEM_PROPERTY('<block_name>.<child_item_name>', ITEM_IS_VALID, PROPERTY_FALSE);So when you tab out from the child item, the oracle will validate that item even if there is no change in the data.
    Regards,
    Manu.
    If my response or the response of another was helpful or Correct, please mark it accordingly

  • Background Painting of "Out of focus" tabbed Panel (JTabbedPane) ?

    Hi
    I would like to add a on going Bar Graph to a JTabbedPane, this works fine if the specific Tab is in Focus, but when the tab is switched, Painting stops!
    How can i ensure the painting continues in the background!
    Here is an example which demo's the problem! Also, watch the standard out...
    Any idea's how to solve this ?
    import java.awt.*;
    import java.awt.geom.*;
    import javax.swing.*;
    import javax.swing.JPanel;
    import java.util.*;
    public class TestPanel extends JPanel {
        // Define the height and width of the bars. Given by calling process.
        private int height [];
        private int width;
        // Define the starting point of the bar chart and base line.
        private int top = 5;
        private int base = 100 + top;
        private int middle = (base/2)+(top/2);
        private int baseOffset = 3;
        private int indent = 45;
        private int step = (base - top)/10;
        private int baseLen = 0;
        private int tpsArray[];
        private int maxValue;
        private int counter = 0;
        private int value;
        public TestPanel(String server, String file ) {
            tpsArray = new int[32768];
            JFrame f =  new JFrame();
            JTabbedPane t = new JTabbedPane();
            // Set the Content and Window layout
            f.setLayout( new BorderLayout() );
            t.add( panel(), "Tab A");
            t.add( new JLabel("I AM TAB B"), "Tab B");
            f.add( t, BorderLayout.CENTER);
            //f.setExtendedState( Frame.MAXIMIZED_BOTH );
            f.setSize(400,400);
            f.setVisible(true);
        public JPanel panel() {
            // Define the JPanel to hold the graphic
            JPanel panel = new JPanel( new BorderLayout());
            panel.setBackground( Color.white );
            AnnimationModel annimationModel = new AnnimationModel();
            AnimationView animationView = new AnimationView(annimationModel);
            panel.add(animationView, BorderLayout.CENTER);
            return panel;
        private class AnimationView extends JPanel {
            private Dimension d = new Dimension();
            AnimationView(AnnimationModel annimationModel) {
                // Save a reference to the model for use
                // when the view is updated
                annimationModel_ = annimationModel;
                // Listen for the events indicating that the model has changed
                annimationModel_.addObserver(new Observer() {
                    public void update(Observable o, Object arg) {
                        // All we need to do is to get the view to repaint
                        AnimationView.this.repaint();
            public void paintComponent(Graphics g) {
                super.paintComponent(g);
                Graphics2D g2d = ( Graphics2D ) g;
                baseLen = getPanelWidth() - indent * 2 ;
                System.out.println("Painting Again.... Counter = " + counter  );
                int pos = ( indent + 6 );
                addOutLine(g2d);
                // Update the view based on the information in the model.
                g.setColor(Color.green);
                for ( int i=counter;i>0;i--) {
                    if ( pos > ( baseLen + indent )  ) break;
                    g.fill3DRect( pos, (base-tpsArray), 2, tpsArray[i], true );
    pos = pos + 2;
    tpsArray[counter] = value;
    public int getPanelWidth() {
    d.width = getWidth();
    return d.width;
    public void addOutLine(Graphics2D g2d) {
    // Setup the percentage markings on left vertical bar
    g2d.setColor( Color.GRAY );
    g2d.setFont( new Font("Sanserif", Font.PLAIN, 10));
    g2d.drawString( "0", (indent - 14), base + baseOffset );
    // Display the last TPS rate
    g2d.drawString( "" + maxValue, (indent - 20 ) , top+baseOffset );
    // Display the last TPS rate
    g2d.drawString( "(" + value + ")", 3, base + baseOffset );
    // Draw vertical line from top of bar chart to base line
    g2d.drawLine( indent, top, indent, base + baseOffset );
    // Draw horizontal base line
    g2d.drawLine( indent, base, indent+baseLen, base);
    // Draw horizontal top tick mark
    g2d.drawLine( (indent)-5, top, (indent)+5, top);
    // Draw horizontal tick line at 50% or middle point
    g2d.drawLine( (indent)-5, middle, (indent)+5, middle);
    // Draw horizontal tick at bottom base line
    g2d.drawLine( (indent)-5, base, (indent)+5, base);
    // Draw the dotted lines across the bar chart.
    g2d.setColor( new Color( 160,223,233));
    float dashes[] = { 1 };
    g2d.setStroke( new BasicStroke( 1, BasicStroke.JOIN_MITER, BasicStroke.JOIN_ROUND, 0, dashes, 0));
    for (int i=base; i>=top ;i=i-step) {
    g2d.drawLine( indent + 6, i, (indent+baseLen), i );
    // The saved reference to the model
    private AnnimationModel annimationModel_;
    private class AnnimationModel extends Observable {
    // private Shared sharedRef = new Shared();
    AnnimationModel() {
    Thread annimationThread = new Thread() {
    public void run() {
    while(true) {
    try {
    Thread.sleep(1000);
    } catch ( Exception e ) {
    value = 1 + (int) (Math.random() * 100 );
    counter++;
    // Notify the observers
    setChanged();
    notifyObservers();
    annimationThread.start();
    // Simple test main
    static public void main(String[] args) {
    TestPanel app = new TestPanel(null,null);
    Thanks,
    Rob

    How can i ensure the painting continues in the background! Well, I don't think you force painting since Swing appears to be smart enough to not paint a component that isn't visible.
    However, you should be able to do your painting on an offscreen image. So your offscreen image will be continually update. Then your paintComponent(...) method simply paints this offscreen image.
    This posting should get your started using this approach:
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=607073

  • Tab out from the lov gives the error

    Hi All,
    We have an LOV as soon as we tab out or select anything using the glaas icon the error page opens up giving the following error:
    ## Detail 0 ##
    java.lang.NullPointerException
         at oracle.apps.mth.setup.meter.server.MTHMeterSetupAMImpl.setComponentValue(MTHMeterSetupAMImpl.java:202)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:190)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:153)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:762)
         at oracle.apps.mth.setup.meter.webui.MTHMeterSetupCO.processFormRequest(MTHMeterSetupCO.java
    Can someone please tell me how to overcome this error.
    Thanks a lot for your help

    Hi,
    From this error stack it is not possible for me to guess anything.
    Please share the properties, LOV map details for LOV, then we can look into this.
    Regards,
    Reetesh Sharma

  • [svn:fx-4.x] 13997: Addressed an IE8 history issue where our player would lose focus upon appending a history entry .

    Revision: 13997
    Revision: 13997
    Author:   [email protected]
    Date:     2010-02-05 07:53:15 -0800 (Fri, 05 Feb 2010)
    Log Message:
    Addressed an IE8 history issue where our player would lose focus upon appending a history entry. The behavior is unique to IE8.
    Anyone bundling our stock html template would require refreshing their copy of history.js.
    QE notes: None
    Doc notes: None
    Bugs: SDK-23402
    Reviewer: Alex
    Tests run: Checkin
    Is noteworthy for integration: Yes
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-23402
    Modified Paths:
        flex/sdk/branches/4.x/templates/swfobject/history/history.js

  • How to fire valueChangeEvent when tabs out for inputComboboxListOfValues

    Hi,
    Env: JDev 11.1.1.4 and ADF.
    In my page it has one inputComboboxListOfValues field, it can be entered into a new value or select one from LOV, now I met one issue that when enter into a new value and tabs out, it will open search popup window, but if I close popup window(ok or close button), it will return and lose focus and it can't fire valueChangeEvent, but in valueChangeListener() I need to enable/disable other fields. (autoSubmit="true")
    <af:inputComboboxListOfValues id="ToPlanId"
            popupTitle="Search and Select: #{bindings.CopyPlanName.hints.label}"
            value="#{bindings.CopyPlanName.inputValue}"
            label="#{bundle.PLAN_NAME}"
            model="#{bindings.CopyPlanName.listOfValuesModel}"
            required="false" showRequired="true"
            columns="#{bindings.CopyPlanName.hints.displayWidth}"
            shortDesc="#{bindings.CopyPlanName.hints.tooltip}"
            autoSubmit="true" immediate="false" maximumLength="10"
            binding="#{backingBeanScope.CopyPlanBean.destPlanName}"
            valueChangeListener="#{backingBeanScope.CopyPlanBean.destPlanNameChanged}"
            visible="false" partialTriggers="FromPlanType FromPlanName">
    </af:inputComboboxListOfValues>I searched all forums and docs and can't find any guide for that, so my question is:
    1) if ADF supports that use "Tab" key can fire valueChangeEvent? if so, what's wrong with my code?
    2) if not support, how can I fix this issue?
    thanks,
    zeroxin

    Hi,
    refer this code,
    Page code
    <?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:resource type="javascript">
            function onLovValueTabbedOut(evt) {
                var it4 = evt.getSource().findComponent('it4');
                AdfCustomEvent.queue(it4, "onLovValueTabbedOut",
                    'key1' : 'val1',
                    'key2' : 'val2'
    true);
          </af:resource>
          <af:form id="f1">
            <af:panelFormLayout id="pfl1">
              <af:inputComboboxListOfValues id="type1Id"
                                            popupTitle="Search and Select: #{bindings.Type1.hints.label}"
                                            value="#{bindings.Type1.inputValue}"
                                            label="#{bindings.Type1.hints.label}"
                                            model="#{bindings.Type1.listOfValuesModel}"
                                            required="#{bindings.Type1.hints.mandatory}"
                                            columns="#{bindings.Type1.hints.displayWidth}"
                                            shortDesc="#{bindings.Type1.hints.tooltip}">
                <f:validator binding="#{bindings.Type1.validator}"/>
                <af:clientListener method="onLovValueTabbedOut" type="blur"/>
              </af:inputComboboxListOfValues>
              <af:inputText value="#{bindings.RowID.inputValue}"
                            label="#{bindings.RowID.hints.label}"
                            required="#{bindings.RowID.hints.mandatory}"
                            columns="#{bindings.RowID.hints.displayWidth}"
                            clientComponent="true"
                            maximumLength="#{bindings.RowID.hints.precision}"
                            shortDesc="#{bindings.RowID.hints.tooltip}" id="it4">
                <f:validator binding="#{bindings.RowID.validator}"/>
                <af:serverListener type="onLovValueTabbedOut"
                                   method="#{bean1.onTabbedOut}"/>
              </af:inputText>
              <f:facet name="footer">
                <af:panelGroupLayout layout="horizontal" id="pgl1">
                  <af:commandButton actionListener="#{bindings.First.execute}"
                                    text="First"
                                    disabled="#{!bindings.First.enabled}"
                                    partialSubmit="true" id="cb2"/>
                  <af:commandButton actionListener="#{bindings.Previous.execute}"
                                    text="Previous"
                                    disabled="#{!bindings.Previous.enabled}"
                                    partialSubmit="true" id="cb3"/>
                  <af:commandButton actionListener="#{bindings.Next.execute}"
                                    text="Next" disabled="#{!bindings.Next.enabled}"
                                    partialSubmit="true" id="cb4"/>
                  <af:commandButton actionListener="#{bindings.Last.execute}"
                                    text="Last" disabled="#{!bindings.Last.enabled}"
                                    partialSubmit="true" id="cb1"/>
                  <af:commandButton actionListener="#{bindings.Commit.execute}"
                                    text="Commit" partialSubmit="true"
                                    disabled="#{!bindings.Commit.enabled}"
                                    id="cb5"/>
                  <af:commandButton actionListener="#{bindings.Rollback.execute}"
                                    text="Rollback" partialSubmit="true"
                                    disabled="#{!bindings.Rollback.enabled}"
                                    immediate="true" id="cb6">
                    <af:resetActionListener/>
                  </af:commandButton>
                </af:panelGroupLayout>
              </f:facet>
            </af:panelFormLayout>
          </af:form>
        </af:document>
      </f:view>
    </jsp:root>Bean code
    package view;
    import oracle.adf.view.rich.render.ClientEvent;
    public class Bean1 {
        public Bean1() {
            super();
        public void onTabbedOut(ClientEvent clientEvent) {
            System.out.println("clientEvent : " + clientEvent.getParameters());
    }doc :
    http://docs.oracle.com/cd/E21043_01/apirefs.1111/e12419/tagdoc/af_serverListener.html
    Cheers!!!
    Regards,

Maybe you are looking for

  • When I turn on the ipad a box asking for a passcode comes up but it is for entering

    When I now turn on my ipad a box comes up asking for Passcode but it is showing #'s with small letters below like a telephone.  I think I accidentlty pushed a button in Settings that made this happen.  Trying soooo hard to learn the ipad and haven't

  • PC does not recognize Ipod nano G3

    My Ipod is not being recognized by Itunes. Neither is my sister's Ipod nano. My brother's Ipod classic DOES work, however. What should I do?

  • Using OpenCV Library in Flex

    hello everyone. I am quite new to Alchemy. I have been trying to create a Video Recorder for Flex using proper encoding techniques. I tried out this code for Capturing and storing video: http://tdotblog.info/?q=node/1 It works fine but there is no co

  • IWeb SEO - Tracking Not Installed

    Hello I'm using the 1.7.1 of seo and I have added all the meta dat and copy/pasted analytics code anyway I'm logged into my google account and checking profile setting/tracking code and it's showing that it is not installed? Have I done everything co

  • All events and albums are gone from iPhoto

    My library is still in the same location and still 540GB big, but when I open it there is nothing in iPhoto.