Enter instead of Tab

Hi.
Tell me, please,
I need to replace pressing Enter on pressing TAB.
How best to do this using the ADF?
(I need to move between the components by pressing the enter key)
Thanks.

User, please tell us your jdev Version!
You can use javascript for this. Write a function which exchange the enter key with the tab key. This method you call from each text field. A smoke for such a method you find here
http://www.oracle.com/technetwork/developer-tools/adf/learnmore/march2011-otn-harvest-351896.pdf
Look for 'How-to filter table filter input to only allow numeric input' in the doc.
You have to change the method to your needs but get the picture.
Timo

Similar Messages

  • Enter key instead of TAB key

    Hi folks,
    I'd like to make the ENTER key behave the same way as the TAB key in
    the system I'm developing. I thought I would be able to do it by setting
    the ENTER as a function key (using Window.SetAsFunctionKey), and
    then after detecting an ENTER key press, request focus on the current
    fieldwidget's 'NextTabField'. However, this attribute defaults to NIL unless
    you override the default TAB sequence. And I don't really fancy setting
    the Next and Prev TabField for every onscreen field.
    Anyone done this before using a simpler method?
    By the way, I don't really want to get into a long thread about whether it is
    good practice to bypass Windows (TM) standards or not. We require
    fast data entry, and keyboard entry is essential for that.
    Cheers,
    Duncan Kinnear,
    McCarthy and Associates, Email: [email protected]
    PO Box 764, McLean Towers, Phone: +64 6 834 3360
    Shakespeare Road, Napier, New Zealand. Fax: +64 6 834 3369
    Providing Integrated Software to the Meat Processing Industry for over 10 years
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Duncan,
    The application we are building will replace legacy application and had similar
    requirements to accommodate the current users. We solved this problem by creating a
    special frame, appropriately named as the "Terminal Frame". It is distributed as
    part of the Scaffolds framework.
    The Terminal frame implements ENTER instead of TAB key. As you know the tabbing
    order in a terminal frame (top to bottom, left to right) is different than windows
    tabbing order (left to right, top to bottom). The Terminal frame solves the tabbing
    problem by constructing a "field traverse list" which includes all the fields in a
    window including nested views ordered according to their X,Y co-ordinates. It is a
    recursive method works on the same lines as described by Sakharov, Nickolay in
    earlier mail. The method also sets the NextTabField, PrevTabField references for
    each field in the traverse list.
    This framework is working very well for us. In a terminal frame world, you still
    have some user training issues as some of the fields (OutlineField, DropList,
    ArrayField, CheckBoxe etc.) behave differently for ENTER and TAB keys. But these
    are minimal compared to a complete change in style.
    Hope this is helpful.
    Good Luck,
    Shirish
    Duncan Kinnear wrote:
    On 22 Jun 99, at 23:47, Jeanne Hesler wrote:
    Do the math on this one. Be sure your users understand the cost and the
    lack of payback. I have no problem going against common practice when
    there is a good reason, but this reason just doesn't add up. Even if it
    did slow them down, which it won't, they would never lose enough time to be
    worth the work that it would take to implement.Jeanne,
    Thanks for your reply (even though it doesn't help me!).
    Don't get me wrong, I'm not advocating we abandon the TAB key
    functionality in favour of the ENTER key. I just want to ADD the ENTER
    key as a navigational aid for our 'legacy' users (and we have many). If it
    is done right, there should be no need to tell the user about it. Their
    transition to the new product would be virtually painless.
    Since I posted my original question I've realised that the cost of
    implementation is actually fairly low. And this is why. I have just
    discovered that the default tab order defined by Forte (left to right, top to
    bottom) is essentially useless for most of the windows we will be creating.
    Therefore, we will need to override it by explicitly setting the
    "NextTabField" and "PrevTabField" attributes of our input fields in virtually
    every window. As I am writing the framework for our new product, I will
    have to implement the facility to do this in the framework itself. And if we
    have our tab order defined, then adding the ENTER key functionality is
    minimal extra effort (see my original post). In fact, if I implement it in my
    "CoreWindow" (the root of my windows framework inheritence tree), then
    no-one will ever have to deal with it again.
    The TAB key is not even much of a windows data-entry standard. Many
    of our customers have defined secondary systems using Microsoft
    Access, and it uses the ENTER key (along with the TAB key) to move
    from field to field. Will these customers not complain that they cannot
    use the ENTER key to move between fields if we don't implement it?
    As we do not have the resources to completely rewrite our existing
    COBOL system (over 2 million lines of code) in one go. We will be rolling
    out the new system module by module. This means that a lot of our users
    will be switching between the new windows interface and the text-based
    unix telnet sessions. When I switch back and forth between windows
    editors and 'vi' on the unix host, I experience first-hand how mixed
    navigational facilities can hamper productivity!
    Anyway, I was just hoping there might be a little setting somewhere in
    Forte to switch this on, but as no-one has pointed it out, it seems unlikely.
    Thanks again for your input, lively discussion is always welcome.
    Cheers,
    Duncan Kinnear,
    McCarthy and Associates, Email: [email protected]
    PO Box 764, McLean Towers, Phone: +64 6 834 3360
    Shakespeare Road, Napier, New Zealand. Fax: +64 6 834 3369
    Providing Integrated Software to the Meat Processing Industry for over 10 years
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>--
    Shirish Kulkarni <mailto:[email protected]>
    Sage IT Partners <http://www.sageitpartners.com>
    44 Montgomery St. Suite 3200 San Francisco, CA 94104
    (925)210-6965 Office (415) 399-7001 Fax
    The Leaders in Internet Enabled Enterprise Computing
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • Enter key press instead of tab key

    I want to use enter key Instead of tab key in my page to move to next item
    Please answer in detail steps because i am new to apex and especially to Javascript

    I strongly advice against using an app like this.
    I always play by the rule not to re-invent the wheel.
    Try to convince the user from the new possibilities and the fact that tabbing is a default procedure.
    You'll see that this will be easier than actually programming the enter-key to act like the TAB key.
    I you really need to do this, then you'll need to do something like this
    http://thinksimply.com/blog/jquery-enter-tab
    good luck!
    Regards,
    Richard
    blog: http://blog.warp11.nl
    twitter: @rhjmartens
    If this question is answered, please mark the thread as closed and assign points where earned..

  • When I open a new window, the current window is closed. I would like to keep the current window and open the new window without losing my current window. I checked "Open new window in a new tab instead" under tabs

    When I open a new window, the current window is closed. I would like to keep the current window and open the new window without losing my current window. I checked "Open new window in a new tab instead" under tabs
    == This happened ==
    Every time Firefox opened
    == Noticed yesterday, June27, 2010

    i just went into preferences, deleted what was in the home page, and entered a new home page address which solved the problem, 

  • Urgent - How to add a new control instead of tabs in JTabbedPane

    Hi,
    Please give me an idea or a sample program for how to add a new control
    in JTabbedpane instead of tabs that means overlay any Java controls or pane
    in the tabpane empty place next to tabs

    "Urgent" is not relevant to the question. Your question is no more important than anybody elses.
    My answer in this posting show a limited solution:
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=636289
    Otherwise I suggest you try using a layered pane approach:
    http://java.sun.com/docs/books/tutorial/uiswing/components/layeredpane.html

  • Only 0 serial numbers entered instead of 30

    Hi Experts,
    I am facing one problem during Usage decision in QA32 TRANSACTION,
    After saving the Usage decision , the system saying that +'Only 0 serial numbers entered instead of 30'+,
    due to that i am unable to save the usage decision so that goods are not moving from Quality block to unrestricted stocks,
    Inception type is 1 in QM set up view, Inspection type 03  is extra added which is not required for this material, is it causing any problem ?.
    I have tried to remove this 03 Inspection type but system not allowing as there are stocks exists,
    Work scheduling and Gen Plant 1/2 storage view also activated by mistakenly for this material, in these views Serial profile is assigned, which is not there for previous plant ( Rolled out to new plant), now the problem is with new plant material inspection lots, not for all, few of the lots are creating the problem(Only 0 serial numbers entered instead of 30)
    I have tried to send the material return to Vendor from Quality block but not success in that,
    Can I deactivate views,
    Can problem be solved If i remove the Serial number profile 
    Can I delete inspection type 03 from the material master QM set up view
    Can anybody suggest how to trouble shoot the problem
    Thanks in advance !!

    First check whether serial numbers are attached to the inspection lot or not.
    Please check the configuration of the serial number profile in transaction code OIS2.
    Yes problem can be solved by Turn off serial number profile
    refer
    Serial Numbers in QA11 Record Usage Decision

  • I have my home page set to google. When I open a new tab I want it to also open as google instead of tabbed browsing. Would you please email me how to do this, please? Thank you!

    '''''
    I have my home page set to Google. When I open a new tab I want it to also open as Google instead of tabbed browsing. Would you please email me how to do this, please? Thank you!'''''
    Kind regards,
    Ronny T. Gallichio

    You can look at one of these extensions:
    * NewTabURL : https://addons.mozilla.org/firefox/addon/2221
    * New Tab Homepage : https://addons.mozilla.org/firefox/addon/777

  • IE11 restricted users opens links in new window instead new tab

    Hello,
    Have a problem. All restricted users, on several machines when try to open link in new tab, link opens in new window instead new tab. Pressing ctrl+K or ctrl+T works fine. Resetting browser setting didn't help. Red cross near resetting user customizations.
    Administrators don't have this problem. OS: Windows 7 x64 + IE 11. Machine belongs to workgroup. All available updates are installed. Is there any decision?
    Thanks

    Hi,
    This might be related with the UAC settings. See
    this thread.
    How are the restriction of the users configured here?
    Best regards
    Michael Shao
    TechNet Community Support

  • Time formatet string in thtmlb dropdownlistbox after enter key or tab key

    Dear Collegues,
    In our BSP-Application we use the thtmlb:dropdownlistbox. It's configured as you can see below in the code cutout:
    DATA: wa_result type ZZPRBRS_PRSRG.
                      %>
                      <td>
                      <thtmlb:dropdownListBox id        = "DD_PREISREGEL"
                                              selection = "<%= DD_PREISREGEL %>"
                                              editable  = "TRUE" >
                        <%
      loop at APPLICATION->PRREG_TAB into wa_result.
                        %>
                        <thtmlb:ddlbItem key   = "<%= wa_result-PRSRG %>"
                                         value = "<%= wa_result-PRSRG %>" />
                        <%
      endloop.
      clear wa_result.
                        %>
                      </thtmlb:dropdownListBox>
    As you can see the ddlb is set as editable.
    So far so good.
    But when we edit the entry in the box and leave the box with ENTER KEY or TAB KEY the controlle change the format of the entry to a kind of time format. Excamlpe:
    We choose the entry GSVIES2 (one of the list entries) and we edit it to GSVIES22 the controll change it to 22:00. Longer entries will be changed to an entry like xx:xx:xx.
    The wa_result-PRSRG for the entries is an char(12).
    I found no notes about this issue.
    Does anybody know this behave?
    How can we avoid that changing after editing?
    Kind regards
    Thomas

    Hi Thomas,
    I was wondering, if you really want to have an editable DropDownlistbox, did they advise anything?
    And, what do you think; should I go ahead and extent the THTMLB library with a ZDropDownlistbox which doesn't use the 'timepicker' javascript?
    references to my questions:
    BSP extensions: THTMLB
    dropdownlistbox classes: CL_THTMLB_DROPDOWNLISTBOX, CLG_THTMLB_DROPDOWNLISTBOX
    In the class: CL_THTMLB_DROPDOWNLISTBOX method IF_BSP_ELEMENT~DO_AT_END calls this JavaScript
    *     Building a unique variable name (simply based on a new tag ID):
          lv_guid_str = me->generate_tag_id( ).
          CONCATENATE  'v_' lv_guid_str
                 INTO  js_unlisted_timepicker_key.              "#EC NOTEXT
    *     Building the script retrieving the KEY and saving it into that variable:
          CONCATENATE  `var ` js_unlisted_timepicker_key
                       ` = thtmlbConvertTimeToKey("`
                       js_new_selected_value
                       `"); `
                 INTO  lv_script.
    Kind regards,
    Sander

  • Code editor: need spaces instead of tab characters for indentation

    I need to have spaces inserted into my code for indentation instead of tabs. "Use tab character" is unchecked under tools|preferences|code editor|code style|edit but to no avail. Any suggestions? Thanks, M C

    But would this cause a tab to be translated as one space or would it still be a tab character? I think it will still be a tab character, which is a problem. I know MS Dev Studio can be set to translate tabs to spaces on the fly so if you hit a tab the cursor jumps 4 spaces and those spaces are spaces, not a tab. Thanks for the reply.

  • Can the editor use spaces instead of tabs for indentation?

    I need to have spaces inserted into my code for indentation instead of tabs. "Use tab character" is unchecked under tools|preferences|code editor|code style|edit but to no avail. Any suggestions? Thanks.

    But would this cause a tab to be translated as one space or would it still be a tab character? I think it will still be a tab character, which is a problem. I know MS Dev Studio can be set to translate tabs to spaces on the fly so if you hit a tab the cursor jumps 4 spaces and those spaces are spaces, not a tab. Thanks for the reply.

  • Keyboad without numeric keypad - How to produce "enter" instead of "return"

    Sorry, no forum on keyboards, so I used this one ... Sometimes, "enter" and "return" has the same effect but in certain circumstances they don't. For instance, in Excel, in a cell "enter" will paste what you've copy, "return" will change the current cell. Sorry for this silly question but how do you get "enter" instead of "return" on the little keyboard with no numeric keypad ???

    I'm not sure if this answers your question...
    In Excel, pressing enter or return will only paste data if the CutCopy mode is active (or true), having just cut or copied data from a cell; in other words the clipboard has data waiting to paste.
    Moving from one cell to another when pressing enter is an option that can be set by the user.
    Pressing the single enter/return key will do both but it depends on the previous action performed, if any.
    That said, I create VBA excel programs using a laptop exclusively and notice no difference in the singe enter/return key.

  • How do I get firefox 4.0.1 to open in separate windows instead of tabbed browsing? Thanks!

    How do I get firefox 4.0.1 to open in separate windows instead of tabbed browsing? Thanks!

    (If you have the orange Firefox button, tap the Alt key or press F10 to display the classic menu bar.)
    Tools > Options > Tabs
    Uncheck the first checkbox.
    Hopefully that's all you need, but if it doesn't work, let us know.

  • Liked old vista overlay windows.. can I change Win7 w/firefox to do overlay windows instead of tabs on same browser?

    liked old vista overlay windows.. can I change Win7 w/firefox to do overlay windows instead of tabs on same browser?

    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
    Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!

  • How can I use the enter key instead of tab to change field focus?

    I am using Acrobat 9 Pro.
    We have a fillable PDF where the users enter numbers into fields.  They want to be able to use the <enter> key on the 10-key pad instead of the <tab> key on the keyboard to move the focus to the next data entry field.
    How can I set my PDF so that it recognizes the <enter> key instead of the <tab> key for changing focus?
    Thanks!

    You can use a custom Keystroke script, something like:
    // Custom Keystroke script for text field
    if (event.willCommit && event.commitKey === 2) {
        getField("Text2").setFocus();
    Where "Text2" is the name of the next field. This doesn't disable the Tab key though. For more information, see: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.608.html

Maybe you are looking for