Two clicks for getting focus in h:inputtext ?

Hello.
I have a JSF page whose three first components are *<h:inputText ...*
When I press Tab for get focus on the next inputText, the cursor pass to the next field and disappear. I need click mouse on the field for getting focus again. Why?
Thank you.

Then I don't know. It's certainly a matter of the webbrowser/client environment. All I can suggest is to test in different browsers/environments and to doublecheck all the generated HTML/JS output.

Similar Messages

  • SQL*Plus two fetches for getting one row.

    Hi all.
    I have tested following script.
    alter session set events '10046 trace name context forever, level 12';
    select * from dual;And achieved such results (extract from .trc file).
    SQL*Plus: Release 11.2.0.1.0; (Oracle Version 10.2.0.4.0, 11.2.0.1.0)
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        2      0.00       0.00          0          0          0           1
    total        4      0.00       0.00          0          0          0           1SQL*Plus: Release 8.1.7.0.0; (Oracle Version 8.1.7.0.0)
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      2      0.00       0.00          0          0          0           0
    Fetch        2      0.00       0.00          0          1          4           1
    total        5      0.00       0.00          0          1          4           1Allround Automations PL/SQL Developer 8.0.4; (Oracle Version 10.2.0.4.0, 11.2.0.1.0)
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        1      0.00       0.00          0          0          0           1
    total        3      0.00       0.00          0          0          0           1Allround Automations PL/SQL Developer 8.0.4; (Oracle Version 8.1.7.0.0)
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        1      0.00       0.00          0          1          4           1
    total        3      0.00       0.00          0          1          4           11) I can't figure out why sqlplus does TWO fetches for getting ONE row (instead of pl/sql developer).
    8i raw trace
    PARSING IN CURSOR #1 len=31 dep=0 uid=0 oct=3 lid=0 tim=0 hv=3549852361 ad='4a0155c'
    select 'hello world' from dual
    END OF STMT
    PARSE #1:c=0,e=0,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=4,tim=0
    BINDS #1:
    EXEC #1:c=0,e=0,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=4,tim=0
    WAIT #1: nam='SQL*Net message to client' ela= 0 p1=1111838976 p2=1 p3=0
    FETCH #1:c=0,e=0,p=0,cr=1,cu=4,mis=0,r=1,dep=0,og=4,tim=0
    WAIT #1: nam='SQL*Net message from client' ela= 0 p1=1111838976 p2=1 p3=0
    FETCH #1:c=0,e=0,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=0,tim=0
    WAIT #1: nam='SQL*Net message to client' ela= 0 p1=1111838976 p2=1 p3=0
    WAIT #1: nam='SQL*Net message from client' ela= 0 p1=1111838976 p2=1 p3=0
    STAT #1 id=1 cnt=1 pid=0 pos=0 obj=195 op='TABLE ACCESS FULL DUAL '11g raw trace
    PARSING IN CURSOR #3 len=30 dep=0 uid=96 oct=3 lid=96 tim=1581355246985 hv=1158622143 ad='b8a1bcdc' sqlid='5h2yvx92hyaxz'
    select 'hello world' from dual
    END OF STMT
    PARSE #3:c=0,e=130,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=1,plh=1388734953,tim=1581355246984
    EXEC #3:c=0,e=40,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=1,plh=1388734953,tim=1581355247154
    WAIT #3: nam='SQL*Net message to client' ela= 7 driver id=1111838976 #bytes=1 p3=0 obj#=-1 tim=1581355247252
    FETCH #3:c=0,e=18,p=0,cr=0,cu=0,mis=0,r=1,dep=0,og=1,plh=1388734953,tim=1581355247324
    STAT #3 id=1 cnt=1 pid=0 pos=1 obj=0 op='FAST DUAL  (cr=0 pr=0 pw=0 time=0 us cost=2 size=0 card=1)'
    WAIT #3: nam='SQL*Net message from client' ela= 193 driver id=1111838976 #bytes=1 p3=0 obj#=-1 tim=1581355247735
    FETCH #3:c=0,e=2,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=0,plh=1388734953,tim=1581355247800
    WAIT #3: nam='SQL*Net message to client' ela= 5 driver id=1111838976 #bytes=1 p3=0 obj#=-1 tim=15813552478552) Is there any possibility to view data provided by each fetch?
    Thanks in advance!
    P.S.
    SQL> sho arraysize
    arraysize 15

    Thanks.
    I have tested two statements.
    select 'hello world' from dual where 1=1;
    select 'hello world' from dual where 1=0;When query returns no data, there is only one SQL*Net roundtrip (and one fetch)
    SQL> set autot on statistics
    SQL> select 'hello world' from dual where 1=1;
    'HELLOWORLD
    hello world
    Statistics
              0  recursive calls
              0  db block gets
              0  consistent gets
              0  physical reads
              0  redo size
            528  bytes sent via SQL*Net to client
            492  bytes received via SQL*Net from client
              2  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
              1  rows processed
    SQL> select 'hello world' from dual where 1=0;
    no rows selected
    Statistics
              0  recursive calls
              0  db block gets
              0  consistent gets
              0  physical reads
              0  redo size
            329  bytes sent via SQL*Net to client
            481  bytes received via SQL*Net from client
              1  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
              0  rows processedBut in both cases i found in client trace this sequence of bytes:
    ] nsprecv: 00 00 36 01 00 00 00 00  |..6.....|
    ] nsprecv: 00 00 00 00 00 00 00 00  |........|
    ] nsprecv: 00 00 90 19 43 13 00 00  |....C...|
    ] nsprecv: 00 00 00 00 00 00 00 00  |........|
    ] nsprecv: 00 00 00 00 00 00 00 00  |........|
    ] nsprecv: 00 00 00 00 00 00 00 00  |........|
    ] nsprecv: 00 00 00 00 00 00 00 00  |........|
    ] nsprecv: 00 00 00 00 00 00 00 00  |........|
    ] nsprecv: 00 00 00 00 00 00 00 00  |........|
    ] nsprecv: 00 00 00 00 00 00 00 00  |........|
    ] nsprecv: 00 00 19 4F 52 41 2D 30  |...ORA-0|
    ] nsprecv: 31 34 30 33 3A 20 6E 6F  |1403:.no|
    ] nsprecv: 20 64 61 74 61 20 66 6F  |.data.fo|
    ] nsprecv: 75 6E 64 0A              |und.    |In first case - it was in 2nd packet and in second case (query returns no data) - part of 1st packet.

  • JDesktop automatically get focus

    I have a JDesktop with many different classes of JInternalFrames. when the user clicks a JButton in frame#1 and then wants to click a JButton in frame#2, the user must obtain focus on frame#2 and then only after obtaining focus can the user click the jbutton in that frame. basically, unless the user has been "working" in this particular frame, the first time he does something he must "double click"
    What is my solution around this? here is what i want:
    if a user clicks any X,Y point on the JDesktop and that X,Y point happens to be the location of a JInternalFrame, then it would be the same as if the user already had focus to the frame and clicked that area.
    I tried to do some code like this for the JDesktop:
    public class myFrame extends JFrame {
    JDesktopPane myDesktop;
    myFrame() {
    myDesktop = new JDesktopPane();
    getContentPane().add(myDesktop, BorderLayout.Center)
    this.addMouseMotionListener(new DesktopListener(this));
    private class DesktopListener implements MouseMotionListener {
    JFrame parent;
    public DesktopListener(JFrame frame) {
    parent = frame;
    public void mouseDragged(MouseEvent e) {}
    public void mouseMoved(MouseEvent e) {
    // OKAY HERE IS WHERE I AM STUCK
    Okay, i am stuck on what to do with mouseMoved() of the motionlistener. i know i can e.getX() and e.getY(), but how do to:
    1) determine if that coordinate is actually a JInternalFrame
    2) give the JInternalFrame focus at that coordinate focus
    and 3) is this the best solution to do what i am trying to accomplish? i am trying to avoid forcing the user to obtain frame focus when clicking components in a frame. i dont necessary want to bring the JInternalFrame to the front, i just want to avoid having to click to get focus
    thanks

    I implemented your approach, which definitely makes good sense. i ran into two problems:
    1) it only fires the event when the mouse is on the border. if i move the mouse slowly into the internalframe, the event will probably fire. but if i move quickly into the frame, then it never fires. if i put the mouse on the border and stay there for a second, it will always fire.
    2) it brings the internalframe to the front. if the internalframe is covered by another frame, i would prefer that it doesnt come to the front, but just gets the focus.
    any ideas?
    Maybe you should try a different approach:
    try adding a MouseMotionListener to the internalframes
    which will do this.
    //jdp is an instance of JDesktopPane
    MouseMotionAdapter  mma=new MouseMotionAdapter()
    public void mouseMoved(MouseEvent me)
    JInternalFrame
    rnalFrame jif=(JInternalFrame)me.getSource();
    jdp.getDesktopManager().activateFrame(jif);
    JInternalFrame jif=new JInternalFrame("whatever");
    jif.addMouseMotionListener(mma);I belive it should work well.
    p.s.
    what do you mean
    (parent.getContentPane().getComponentAt(e.getX(),e.getY
    ))); did not work?
    if you do not want my approach check what does that
    function return to you.

  • Tab not getting focus on left-click after suspend in Windows 7 64-bit.

    When I left-click on a tab in Firefox 4 rc 2 after my pc wakes up from suspend in Windows 7 64-bit the tab is not getting focus. I have to use the hotkeys in order to move to that tab. My mouse works fine in other programs.

    I have an imac
    I have an magic pad (same thing as the touch pad on a macbook really)
    I have an usb mouse I use both in windows and osx
    if your trackpad somehow was registered as actived for some reason it would seem as if it was the mouse
    had some *** situations both in windows and osx when my cat sit on the magicpad

  • Function Module for getting Number ranges between two number

    Hi guys,
    Is there any Function module which provide us the number range between two numbers?
    For Ex:If i give 1 and 10 to FM it must give me 1
    2
    3
    4.....upto 10.
    is there any FM for doing this,but i'm not able to find exact Fm for same.
    I can write small piece of code for getting number ranges, but if i get FM it could save little work.

    Hi
    But why do u need a fm, can't you do it by yourself?
    DATA: FROM_NUMBER TYPE I VALUE 1,
          TO_NUMBER   TYPE I VALUE 15.
    DATA: NUMBER            TYPE I.
    DATA: BEGIN OF T_NUMBER OCCURS 0,
                  NR TYPE I,
              END    OF T_NUMBER.
    NUMBER = FROM_NUMBER.
    DO.
      IF NUMBER <= TO_NUMBER.
        T_NUMBER-NR = NUMBER.
        APPEND T_NUMBER.
      ELSE.
        EXIT.
      ENDIF.
      NUMBER = NUMBER + 1.
    ENDDO.
    LOOP AT T_NUMBER.
      WRITE: / T_NUMBER-NR.
    ENDLOOP.
    Max

  • How to get difference between two rows for a column field?

    hi, all,
    Could anyone show me what query statement is to get the difference betweem two rows for two column fields?
    The tables and its records are like this:
    id,      begin,      end
    p1         21          30
    p2          45          60
    p3          120          150
    I would like to have the query result like this
    id,    diff
    p1     15    --- which is 45 minus 30
    p2     60    --- which is 120 minus 60
    and so on...
    thank you in advance.
    Raffy

    You can use the LAG function to access values from previous rows:
    with q as (select 'p1' id, 21 v_start, 30 v_end from dual
    union all
    select 'p2', 45, 60 from dual
    union all
    select 'p3', 120, 150 from dual)
    select id, v_start, v_end, v_start - lag (v_end, 1, 0)
      over (order by id) v_diff from q
    ID,V_START,V_END,V_DIFF
    p1,21,30,21
    p2,45,60,15
    p3,120,150,60
    See the SQL Language doc
    http://docs.oracle.com/cd/B28359_01/server.111/b28286/functions075.htm

  • How to prevent Cell from getting focus when I click on a cell in JTable

    Hi,
    I have a new problem which I did not have when using jdk1.3. I have a non editable JTable. Now whenever I select a row the row gets highlighted - which is ok but at the same time the cell on which I click ( to select the row ) also gets focus.
    Previously I used to extend JTable and override the isManagingFocus method to return false. But now it doesnt seem to work
    What should
    Thanks
    --J                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Well, I'm still using JDK1.3 and I don't get the behaviour you describe.
    When isManagingFocus is true then using the tab key will cause focus to move from cell to cell within the JTable and focus will never leave the JTable.
    When isManagingFocus is false then using the tab key will cause focus to move the the JTable to the next component on the JFrame.
    In both cases once focus is on the JTable an individual cell is always highlighted to indicate it has focus.
    The question is if your program only cares which row has been selected, why do you care if an individual cells appears to have focus?

  • Two clicks required to get results from Search Input box on toolbar.

    I'm running version 8.02.208.
    I'm new at Webhelp and was hoping somebody might be able to give me some pointers.
    If I open my published webhelp on the Internet and try to search using the Search Input box on the toolbar the first time, two clicks are required in order to get search results.
    This problem only appears the first time, all other searches from the Search Input box on the toolbar work properly with only one click required.
    In addition, the Search tool opened from the Search button always works fine first and every time, but I did see the extra space that I've read about.
    This is what I don't understand...the problem I mentioned with the 2 clicks required on the toolbar, never happens when I Generate and View the results. Meaning that I am looking at the output but have not published it yet. It works fine first and every time.
    Why would the problem show up one way and not the other? Does anyone know what could be different?
    I just keep hoping that there is something that I can do to get rid of the problem. I keep getting Problem Reports opened and assigned to me and complaints from customer service from customers. They think the search isn't working and I keep having to explain.....arghhhh!
    Thanks!
    Deb

    Hi Sheryl and Peter,
    I have also tried the options as you have suggested without success. Everything works fine when the WebHelp is published to a local or network drive but when it is published to the server the issue occurs.
    I would point out too, that I find that the problem with the space only occurs on the intial attempt to search using the Search Box. Any subsequent attempts without closing the browser appear to work fine.
    Chris

  • Does Adobe Story Free have a Type and template for stageplay format and if so where do I click for it. In the Type button I could only find screenplay, TV script, Two column script, AV script and other, but not for stageplay?

    Does Adobe Story Free have a Type and Template for Stageplay format and if so where do I click for it? In the Type button I could only find, Screenplay, TV script, AV script, Two column script, and other but nothing for Stageplay.

    Does Adobe Story Free have a Type and Template for Stageplay format and if so where do I click for it? In the Type button I could only find, Screenplay, TV script, AV script, Two column script, and other but nothing for Stageplay.

  • Why can't I change the content for some songs when I click the Get Info button?

    Why can't I change the content for some songs when I click the Get Info button?  The information on the song, artist, genre is grayed out and will not allow me to alter the information.

    Hi htechadmin,
    Revcevied your PM and noted all details, Many Thanks.
    Getting this addressed by the team, either they will reply to you, here, or they shall email Or Call you.
    Regards,
    LP

  • Applet getting focus without user click

    I'm writing an applet that takes keyboard input, but I can't get it to start accepting key presses until the I click on it to give it focus.
    The applet is running in a webpage in IE.
    Can an applet in a webpage get focus on it's own, without having to have the user click on it?

    A combination of the suggested solutions gives the Applet focus about 50% of the time. I guess this is the best result I can get, and I'm satisfied with it. Thanks!
    In start()
    setVisible(true);
    requestFocus();
    requestFocusInWindow();
    requestFocus();
    In paint()
    if (mFirstPaint)
    mFirstPaint = false;
    setVisible(true);
    requestFocus();
    requestFocusInWindow();
    requestFocus();
    }

  • Thinking that I was deleting from my iPod, I have inadvertently deleted a lot of music from my iTunes library.  I clicked for retaining on file rather than sending to trash.  How do I get this music back from file into my library?

    Thinking that I was deleting it from my iPod, I have inadvertently deleted a lot of music from my iTunes library.  I clicked for saving to file rather than sending to trash.  How can I get it back into my library?

    See Empty/corrupt iTunes library after upgrade/crash or simply import the media folder back into the library. Restoring a recent backup of the .itl database will restore the original date added values, ratings, play counts, playlist membership, etc. that would otherwise be missing from the reimported media.
    tt2

  • When I click on "Get Mail" I get emails for only 2 of my 3 accounts.

    Clicking on "Get Mail" only brings in the messages for 2 of my accounts. I have to click in the down arrow next to the icon and select the third account from the list, then it works. How do I include this last account in the Get Mail operation?
    I've reviewed the account settings and can find no significant difference in the settings for all 3 accounts. Can anyone help, please?

    Thanks.
    I tried that and it connected without any problems. But it still won't respond when I click on "Get Mail."
    I just installed PostBox and it retrieved all my new email without any issues. Haven't sent any mail, but I imagine it should work fine.  But will only purchase his app if I can't get Mail to work. It's very easy to use and it somewhat looks like Mail.

  • App testing phase: Push notifications are not getting delivered to certain devices (iphone 4S/ios7.0.4 and ios7.0.3 - Push never worked for these two devices for this app). Received OK responses from Apple PUSH services, but notifications not delivered

    We are testing an app at work and Push notifications are not getting delivered to certain devices (iphone 4S/ios7.0.4 and ios7.0.3 - Push never worked for these two devices for this app). Received OK responses from Apple PUSH services, but notifications not delivered to these tow devices.
    PUSH notification were delivered to some of the other iOS devices: (iPhone5 / iOS 6.1.4 and iPhone5 / iOS 7.0.3)

    Sounds like you have a battry issue but don't want to believe it.
    If a car was running fine on one tank of gas, then you filled it up with another tank of gas and it began to run funny, one might suspect that tank of gas. But let's just say coincidence blew a valve-- would you think the new tank of gas was the culprit?
    BUT WAIT!! It just might have been! The gas could have been of higher octane and put more more strain on the valves; you know, like going from 87 octane (OS6) to 93 octane (OS7) and showing you the engine was on the edge of compromise.
    Sometimes you have to go with common sense. If everything else is ruled out, it must be the battery. And if it runs fine one moment in OS6 but immediately ***** in OS7, I'd believe my battery was suspect-- though comfy-- in OS6 but the OS7 showed its true power.
    Moreover, if you had the answer-- or didn't want to believe someone's more competent advice-- why did you even call?  You've already shown that you don't know much when you asked if you could go backwards after setting up the new OS as a new phone.
    Additonally, if you're such the know-it-all, but yourself the $29 battery and put it in yourself. It's a piece of cake.
    <Edited By Host>

  • When I click for a new tab, the homepage is Search Yahoo...I never changed it to that. And I don't know how to get it back to Google. Help? Please!

    But when i open up Firefox, it does bring me to the firefox start up page, but if I click for a new tab it brings me to Search Yahoo

    Firefox's behavior is to open a blank page when you open a new tab. Your issue is most likely caused by one of the add-ons you have. Please see here: [[Troubleshooting extensions and themes]]

Maybe you are looking for