Can I change cursor motion using tab key?

Hi everyone,
I'm Tae from Japan.
Now, I'm developing UI with WD4J and I'd like to change cursor motion.
for example:
- left to right
- up and down
Environment:
SAP NW CE 7.1
SAP NWDS CE 7.1 SP05
Thanks and BestRegards,
Tae

Hi Tae,
Cursor motion through Tab is default given in WD Java, Cursor goes to next defined element in view. By designing the view layout properly you can manage the cursor movement as per requirement.
some points :
1) Tab moves the cursor to next item (if Label property "Labelfor" is  not defined for any ui element, it considers label as one element. Hence define labelfor property)
2)you can use any of layouts grid, matrix, flow or row to define the ui elements.
3)Tab will go to the next element in the same container. After completing all elements in one cotainer cursor goes to next container as defined in view.
3)Shift+Tab will move the cursor backward.
Regards
Deepak

Similar Messages

  • Please reconfirm previous SDN claim:  can't preset cursor movement by TAB!

    In this thread here:
    Tab Order Control on Custom Screens
    several SDNers offered the opinion that you can't set order of cursor movement by TAB key thru a screen.  (I am familiar with the SET CURSOR/GET CURSOR trick for controlling cursor movement by ENTER key.)
    Is it really true that you can't preset cursor movement by TAB key ???
    I could do this back in the 1980's and 90's with CICS and Model 204 User Language - seems strange that you can't do the same in ABAP, which is such a rich and robust language.
    Thanks
    djh

    Rich -
    Thank you for making an excellent point, which as usual, hadn't occurred to me.
    Of course, old-timers like me would say that what SAP should do is:
    1) add a TAB-traversal index number to the little box of properties you get in screen painter;
    2) pass the index numbers to SAPGui when the screen is first used;
    3) keep them in buffer and follow them each time the screen is entered.
    But what do us old-timers know? We grew up when there was just a mainframe talking to tubes with only some 3274's in the middle, and those only later ...
    Regards
    djh

  • Data fetch from table without Refresh and without using tab key.

    hi Friends,
    I have a problem i want to extract data from table without Refresh into text field without using Tab key. when i'll enter any value in a text field then corressponding value should come in to corressponding textfield without using Tab Key.
    eg. when i enter emp_id 101 in a text field then the first_name and last_name ,adress should come in to corressponding text fields without refresh and without using Tab key.
    How Can I do this.
    Thanks
    Manoj

    Hi Manoj,
    I assume that this is similar to: Data fetch without Refresh rather than Re: Value of one textfield should come into another textfield Without Using TAB ?
    If so, the only change you need to make on the first one is to use "onkeyup" instead of "onchange" in the item's "HTML Form Element Attributes" setting.
    Note, however, that the user must move away from the item at some point (for example, to click a button), so the onchange will be triggered anyway.
    Andy

  • How to set current row in table after use tab key on inputText

    Hello all,
    My first post .., I'm newbie in ADF and I will try to explain my problem.
    For the moment we use ADF 11g (11.1.1.4), in a jsff page I have a table with an inputText column.
    On the valueChangeListener of the inputText, I invoke a method in a viewScope bean which call an EJB method, make some services in the EJB on the line modified. After that I refresh the VO and the table (because others values on the line have been modified) and reset the focus on the same inputText modified by the user with javaScript because focus was lost after refresh.
    So far, everything works fine.
    When I use the arrow keys to change the selected row in the table, it's work fine (focus is still in the next or previous inputText), but if user try to use tab key to change the current line, the inputText on the next line have the focus but the current row of the table is not changed (I think it's normal).
    My question : how can I change the current row after tab key pressed in this case ?
    I don't know if it's really clear, not easy to explain, don't hesitate to ask more details.
    Thanks in advance.

    Frank Nimphius wrote:
    Hi,
    My question : how can I change the current row after tab key pressed in this case ?
    Use a client event to listen for the keyboard entry and intercept the tab. The use af:serverListener to call the server to set the rowKey on the table and issue a PPR for the table to re-paint
    See sample 11 on http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html#CodeCornerSamples
    to learn about how to use the client listener and server listener
    FrankHi,
    Thanks a lot for your advices, I used the client and server listener
    I used this code on the method call in order to change the selection after key tab pressed, I don't know if it can be easier, but it works.
              if (LOGGER.isDebugEnabled()) {
              LOGGER.debug("START changeSelectedRow");
              RowKeySet oldRowKeySet = myTable.getSelectedRowKeys(); // get oldRowKeySet
              if (oldRowKeySet == null) {
                   if (LOGGER.isDebugEnabled()) {
                        LOGGER.debug("oldRowKeySet is null");
                   return;
              RowKeySetImpl newRowKeySet = new RowKeySetImpl(); // The new RowKeySet use to change the selectedRow
              DCIteratorBinding bindingIterator = ADFUtils.findIterator(MY_ITERATOR);
              bindingIterator.setRangeSize(-1);
              // set the new index of the current row.
              int index = bindingIterator.getCurrentRowIndexInRange();
              if (index < bindingIterator.getAllRowsInRange().length - 1) {
                   index++;
              bindingIterator.setCurrentRowIndexInRange(index);
              // get the current row after changed the index
              Row currentRow = bindingIterator.getCurrentRow();
              if (currentRow != null) {
                   ArrayList nextLst = new ArrayList(1);
                   nextLst.add(currentRow.getKey());
                   newRowKeySet.add(nextLst);
                   // set the new selectedRow
                   myTable.setSelectedRowKeys(newRowKeySet);
                   SelectionEvent selectionEvent = new SelectionEvent(oldRowKeySet, newRowKeySet, myTable);
                   selectionEvent.queue();
                   AdfFacesContext.getCurrentInstance().addPartialTarget(myTable);
              if (LOGGER.isDebugEnabled()) {
                   LOGGER.debug("END changeSelectedRow");
    Best Regards
    Benjamin

  • Access table cells using tab key with iterators

    Hi,
    I use a tableview with iterator and allow users to mouseclick certain column cells. I capture these user interactions using server event "onCellClick". But I cannot access these cells using tab key instead of mouse click. But tab key is a must for visibly challenged users.      Is there any way to access table cells using tab keys (with iterators)?
    I use icons in those cells to replace  check box and change the icons to differentiate checked/unchecked status.

    Hi Craig,
    Thanks for your effort.
    But I was able to solve my problem. I don't think I gave all the information to simulate my problem in your environment. I used images in certain table cells and was not able to access those cells using tab key or access key. Tag <b><img></b> doesn't have the attributes <b>tabindex</b> and <b>access key</b>.
    I solved the problem by surrounding the <b><img></b> by anchor tag <<b>A>,</b> which has both attributes. I did these changes within the iterator method <b>RENDER_CELL_START</b> using CL_BSP_BEE_TABLE.
    In the event handling, I had to do separate processing for  mouse click event and key press event for those cells.
    For visibly challenged users:
    They can access those cells by tab key or access key and the key press event is used to capture when they hit enter key.
    So this problem is irrelevant to service packages (SP38,..).

  • How can i change the direction of tab canvas in 10g ?

    hi all
    how can i change the direction of tab canvas in 10g at runtime i want to change the direction from left_to_right to right_to_left when i did that the form not appears well
    all prompts of item not dispalyed in order of its sequence ,in spite of that it works in 6i well and change direction without any problems
    i have been used set_canvas_property and set_view_property but it doesn't work
    can anybody help me in this mater?

    please can any body help?

  • How to use tab key with JTextArea to shift focus

    Hi
    My problem is simple as whenevr i use tab key in my JTextArea, instaed of shifting focus to next component, it adds a tab space to my text.
    How do i shift focus out of my JTextArea.
    Ashish

    you can also redefine the textarea's TAB Key behaviour. The tutorial has a good example for that - better than i would be able to describe :-)
    look at http://java.sun.com/docs/books/tutorial/uiswing/misc/keybinding.html

  • How can I change reinstall to correct product key?

    Had to wipe drive and reinstall operating system. When I reinstalled Office for Mac, I used the wrong product key (from another computer). How can I change reinstall to correct product key?

    Try completely removing MS Office and then reinstalling it.
    How to completely remove Office for Mac 2011
    http://support.microsoft.com/kb/2398768
    Or you can try doing just step 4 (removing the license file).

  • How to use TAB key  rolling on the rank of a JTabbedPane ?

    I hope I can use TAB key to switch the different option item , how to do this ?
    Liwei

    You need to use a key listener. Something like:
            static class myKeyListener implements KeyListener
                    //KeyListener reuired methods
                    public void keyPressed(KeyEvent e)
                            int a = e.getKeyCode();
                            //Check if they pressed tab
                            if (a == e.VK_TAB)
                                   //Do whatever
                    public void keyReleased(KeyEvent e)
                    public void keyTyped(KeyEvent e)
            }Then, put "myTabbedPane.add(myInstanceOfMyKeyListener" up where you're creating the pane, replacing "myTabbedPane" and "myInstanceOfMyKeyListener" with whatever variables you're using.

  • Can I change the colors used in iOS7?

    Can I change the colors used in iOS7?
    The white background makes reading text and numbers very difficult.  Especially if the are in light gray.

    The answer to your question is "No"...and what you're experiencing is a major gripe with this "Upgrade".
    If Apple would allow the Invert Colors option to be activated without the effect that has on images it would resolve most of the concerns about iOS 7.  I would even consider downloading it... again.

  • Icloud lists 2 email addresses. How can I change it to use just one.

    icloud lists 2 email addresses.  How can I change it to use just one?

    Sign out of iCloud on the iCloud system prefs. Then, sign in with your new.
    However, purchases from iTunes and the Mac App store are forever tied to the old AppleID. There is no way to change that short of deleting the old purchases and purchasing new under the new AppleID.
    Based on everything that has happened lately with people using social engineering to gain access to other people’s AppleID’s, you need to speak to someone at Apple regarding your account. If you think you knew the answers to your questions and you are not getting emails anymore, someone may have gained access to your old account and has changed all of that info.

  • How can I change the value used in a Criteria Rule in a Subscription agent

    Dear mobile heroes.... How can I change the value used in a Criteria Rule in a Subscription agent in a quality environment? (CRM 70 SP04).
    I have built a subscription agent in dev, which uses a static where clause to filter activity_object on VKORG. I need to filter on a different VKORG value in the quality environment, but when I change the value of the sales org, the change is not saved. I have tried this even non 'activated'  subscription agents, but it still does not appear possible to change and save the changes.
    This poses a big problem because the VKORG value I want to use does not even exist in the dev environment, so I could not even rebuild in dev and transport the new agent to quality. Can anyone help me?

    Too old to care now.

  • DATAGRID FOCUS ISSUE: Focus got lost, while moving from one cell to another cell using tab key.

    Problem: Focus got lost, while moving from one cell to another cell using tab key.
    Example: In an AdvanceDataGrid, there are three columns having custom ItemRenderer with Spark TextInput control (editable=true & focusEnabled=true).
    When I try to move the focus in with in 2nd, 3rd & 4th column using tab key, focus got lost. Most of the time it’s working, but some time it doesn’t work. There’s no clue as to how may rows/columns the focus has jumped to; or whether the focus has gone out of the data grid altogether.
    Observations: I am not sure whether this problem is because of custom component implementation or it is because of some issue related to Flex Component.
    It only occurs when we perform some actions like some server call, some complex logic execution etc. at the focus out event of itemrenderer.
    There is one property of datagrid i.e. editedItemPosition which contains row & column index of datagrid. On the focus out event, it gets null when focus got lost. We tried to set it, but it didn’t work.
    Steps Performed:-
    1. Currently focus is in 2nd column i.e. Apply to #.
    2. Once I press tab key from 2nd column, it goes to 3rd column which is correct.
    3. Now if I press tab key from 2nd column i.e. Payment #, focus should go to 3rd column, but it goes out of data grid and set the focus of button which is outside data grid.

    http://search.java.sun.com/search/java/index.jsp?qp=&nh=10&qt=%2Bjtable+%2Btab+%2B%22enter+key%22&col=javaforums

  • How Can I Change Posting Periods using DI

    Hello All,
    How Can I Change Posting Periopds using DI.
    When Connecting to B1 Company DB , I would like to change default Posting Periods.
    My SBO is 2005B.PL41.
    Best Regards,
    TAK

    Hi,
    Please take a look at the CompanyService Object in the DI help file. and check for the UpdateFinancePeriod method.
    Hope it helps,
    Vasu Natari.

  • Can i change system time using java

    hi guys can i change system time using java iam doing one app in that i have to change the system time (my os is windowsXP) please tell me how to change the time

    What does this have to do with Swing?
    Well, there is no Java API that I'm aware of.
    However you can execute any Windows command by using the Runtime class. So you should be able to invoke the Time command.
    Search the Java Programming forum. There are plenty of examples on using the Runtime.exec(...) command.

Maybe you are looking for

  • Works in IE but not FireFox?

    site is here http://carolyoungs.myartsonline.com/ when i hosted it on a different server it worked in both browsers, now i changed to a different free host because of the mp3 file i have with the site, and some sites will not host mp3 and it only wor

  • Constant unexpected shutdowns with Acrobat 9 Pro

    I've submitted a bug report, but this is really getting annoying: The specs: OSX 10.5.6 - Acrobat 9 Pro, Macbook Pro Unibody, 4gb ram The problem: Every single time I close a comments-enabled PDF (comments are on a webDAV server), Acrobat unexpectedl

  • Handling error in data entry screen

    Dear experts, I developed a module pool program which is an entry screen capturing some fields such as matnr,lifnr. Incase there is a failure to store data on to mseg table  using BAPI for movement, i have set a custom message by using the command as

  • Outlook asking for credentials - only occurs after secondary mailboxes are deleted from exchange

    Hi there.  I've got a problem that just started popping up recently with our users.  Often, we will have a user leave the company.  When this occurs, an employee will often backfill the position and need access to the prior employee's e-mails.  No pr

  • Out of heap space erorr

    Hi guys, My app is mainly a wordlist crunching program. Its a swing app. There are two flat files about 10 MB each. The first part of the app is supposed to read all that data from the two sperate flatfiles and put them into two seperate Hashtables.