Saturday, August 18, 2012

Adf Dynamic Tab Shell: Tab selection using the keyboard

Adf Dynamic Tab Shell: Tab selection using the keyboard

It seem that many of desktop application migrating to ADF UI. Desktop user or end user are much familiar with keyboard use rather then mouse use. Oracle ADF provide the facility to define the hot-keys for fast access of tab selection but it has the limitation of using 10 (0 - 9) key combination. 

There are few limitation:
  • Oracle ADF DynamicTabShell supports 15 tabs, there is a big question what to do with 5 other tabs.
  • User have to remember tab number which he/she want to select. 
Here I am presenting a mechanism using this approach developer can overcome both limitation.
Idea is simple, I am using the key combination for moving next and previous tab.

Key combination are :
Ctrl +1 = Move next tab (If there is not more next tab first tab will get selected)
Ctrl +2 = Move previous tab(If there is not more previous tab last tab will get selected ) 

Below are the details of tab how it will works (Please pardon me for poor layout design.)



  References :

please find the attached application : Sample Application


2 comments:

  1. well nice tutorial amit actually I am new to oracle adf and i have a scenario that I am developing a shopping cart in which the top level categories and products comes from the webservice.I have populated the menu bar at run time due to data coming from the webservice in the form of json.I have added the action listeners on runtime also and they are acting weired because they are called multiple times.Can you guide how could I handle the action listeners on runtime and update other UI components through these action listeners that are created on runtime.Thanks

    ReplyDelete
  2. Your content is excellent but with pics and videos,
    this blog could certainly be one of the best in its field.
    Excellent blog!

    KissAnime

    ReplyDelete

Thanks for your valuable comment. You comment will go live soon.