PJC tab-key navigation problem within bean  (FORMS intercepting tab key??)

Using Forms 10.1.2.3, IE7, JRE 1.6
When attempting to navigate within the bean area, it appears as if FORMS is suppressing the keyEvent when the tab key is pressed. This means that I cannot use tab or shift-tab to navigate within the PJC's editable fields/buttons. I can click on them, enter data within them, but tab is somehow intercepted. When I place my PJC within a normal (non-forms) Java window, everything works fine.
Documentation that I've read seems to indicate that tab should navigate perfectly fine within the bean area.
Any ideas?

Hi,
This is how I did it. Sorry about the formatting, it was OK when I pasted the code fragment in.
My class contains this in the variable definitions.
private AWTEventListener keyListener = new DoKey ();
private class DoKey implements AWTEventListener {
public void eventDispatched (AWTEvent e) {
//System.err.println("eventDispatched " + e.toString());
//System.err.println("eventDispatched source " + e.getSource().toString());
if ((e instanceof KeyEvent) && (e.getSource() instanceof Component)) {
* The event was a key pressed event and it was sourced from a Component.
KeyEvent evt = (KeyEvent) e;
if (evt.getID() == evt.KEY_PRESSED) {
if (evt.getKeyCode() == evt.VK_TAB) {
if (evt.isShiftDown()) {
((Component)e.getSource()).transferFocusBackward();
else {
((Component)e.getSource()).transferFocus();
The listener is enabled when on initialisation
Toolkit.getDefaultToolkit().addAWTEventListener (keyListener, AWTEvent.KEY_EVENT_MASK);
Regards, Tony C

Similar Messages

  • Problem to open form for tab

    Hi,
    i am using tab in form.
    when i open the form no fields are showing which are under tab.
    but if i open that form through screen painter -> preview  -> close screen painter.
    thereafter its working fine.
    what is the problems ????
    i am using 2005 version.
    regards,
    Avijit

    Hi,
    Thanks for your reply
      If pVal.FormUID = "PR_empsal" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED And pVal.BeforeAction = False Then
                Try
                    Select Case pVal.ItemUID
                        Case "7"
                            oForm.PaneLevel = "1"
                            oForm.Settings.MatrixUID = "8"
                        Case "1000001"
                            oForm.PaneLevel = "2"
                            oForm.Settings.MatrixUID = "9"
                        Case "15"
                            oForm.PaneLevel = "3"
                            oForm.Settings.MatrixUID = "16"
                        Case "21"
                            oForm.PaneLevel = "4"
                        Case "36"
                            oForm.PaneLevel = "5"
                            oForm.Settings.MatrixUID = "99"
                    End Select
                Catch ex As Exception
                    SBO_Application.MessageBox(ex.Message)
                End Try
            End If
    I am using above code.
    But i got error-
    Form- operation is not supported on system form (60000-30)
    Pls want suggestion on this error ....
    Thanks in advance ...
    Regards,
    Avijit

  • Tab pages - Navigation Problem

    Hi,
    What key I should use, if I want to navigate to other blocks in the same tab page.
    Thanks
    KC
    null

    I had this same problem. I created a TAR on Metalink about it and Oracle's response to me was to see Note#1016812.4 "KEY-NXTBLK AND KEY-PRVBLK DO NOT FIRE ON TAB PAGE".
    Basically, those triggers perform differently for tab pages.
    Solution Description:
    =====================
    The KEY-NXTBLK and KEY-PRVBLK triggers are re-defined to mean "Next Tab Page" and "Previous Tab Page" when on a tab page.
    However, you can put calls GO_ITEM or GO_BLOCK into a WHEN-TAB-PAGE-CHANGED
    trigger instead of the KEY-NXTBLK and KEY-PRVBLK triggers. This way, when
    Forms thinks you want to change tab pages, you can change blocks.
    Solution Explanation:
    =====================
    The KEY-NXTBLK and KEY-PRVBLK triggers were redefined to be consistent
    with the Microsoft standard for tab sheets.
    null

  • Navigation problems within my website folders

    Here's my problem... I created folders within the main folder for my website on dreamweaver in order to eliminate the ".html" at the end of some of the page links within my website. So Before where it would say www.ybcreations.com/ybyoga.html it now says www.ybcreations.com/ybyoga. It just looks nicer and cleaner. But here is the problem, I have a menu that pops up for each and every page that is the same for each and every page including the main page and when you are within the link www.ybcreations.com/ybyoga, and click in the menu to be renavigated to, say, the energy work page, it then generates in the browser as www.ybcreations.com/ybyoga/energywork instead of www.ybcreations.com/energywork. I'm trying to figure out how to fix this but so far I am hittind dead ends. i know there has to be a way. If you can help please follow the same direction i stated above.
    Go to www.ybcreations.com
    then roll the mouse over where it says "Kundalini Yoga" underneath the "Special Events" tab. Click on Kundalini yoga.
    From there hover over the "Special Events" tab again and click on "Energy Work", and see what happens.
    ybyoga and energywork are the only pages that i've created special folders for to eliminate the ".html" at the moment. But I want to make this for all of the pages.
    Please help me.

    You made this bed by over complicating your site. Simple solution, take your pages out of sub-folders.  Nobody but you cares about the .html extensions. IMO, it's a very poor reason for using sub-folders.
    About linking & navigation:
    http://help.adobe.com/en_US/dreamweaver/cs/using/WScbb6b82af5544594822510a94ae8d65-7c44a.h tml
    Presently, you must be using document relative link paths.  Either switch to Site Root Relative links which will likely work on your remote server but fail to test locally.  Or use absolute URLs (http://).  The downside with this is that DW won't be able to manage links for you.
    Nancy O.

  • Tab Page Navigation Problem???

    Hi All:
    I am facing problem with tab page. when I save some record at the last tab then it moves towards its previous tab page. May be navigation becomes wrong.Record is saved. What would be the solution? Can anyody tell me. Thanks
    Ali

    Just two wonders...:
    1) Are the blocks ordered in the Object Navigator ... as they appear in the tabs of your tab canvas...????
    2) Is there in the 'save trigger' or in other place (which take place in the save process) a "go_item(<itemname_of_the_previous_tab>)" or "go_block(<block_resides_in_the_previous_tab>)"...????
    Greetings....
    Sim

  • URGENT! TAB + Folder navigation Problem

    Hi!
    I've got a portal page with two tabs (let's say tab1 and tab2). Inside each of them I have added a portlet(wich is in fact a folder pubilshed as portlet - let's say folder1 and folder2)
    1 - I click on tab1.
    2 - I click on folder1 - it's subfolders are shown. Ok
    3 - I click on tab2
    4 - I click again on tab1
    5 - Instead of folder1, it's subfolders are shown. !!!
    I wan't the page to go to the parent folder each time a tab is selected.
    Thanks in advance

    I have similar problem with tabs and parameter persistence.
    I have portlet with submit form on one page tab.
    Problem is, if user submits data on form, and then moves on other tab, all submited data are send via url parameters again....
    How can I avoid this kind of behaviour..
    I find many peoples with simillar problem, but no one has find solution or workaround for this problem..
    Please help........

  • Navigation Problems within Notes

    Hi.  I recently purchased an iPhone 4s and I'm running OS 5.01.
    Sometimes when I go into the Notes application and a note within it I lose the title/menu bar at the top and I can't get out of the current note. I've got the trash can and reply at the bottom, but no "left/right" navigation and no "add new" ("+" sign) or Notes title up top.  Tapping on the very top bar (which indicates carrier, signal strength, etc.) produces nothing and tapping within the note obviously only brings up the keyboard, which I then can't get out of.
    Before I get the token responses of "reset your phone", or "exit out and return to the program", let me just say that a reset of the phone will correct this but for obvious reasons I don't want to have to keep doing this and would rather know what I'm doing wrong inside the app. 
    Not sure if anyone else has this problem?  If the solution is something easy that I've missed, please accept my apologies in advance but right now I'm stumped.
    Thanks!

    You made this bed by over complicating your site. Simple solution, take your pages out of sub-folders.  Nobody but you cares about the .html extensions. IMO, it's a very poor reason for using sub-folders.
    About linking & navigation:
    http://help.adobe.com/en_US/dreamweaver/cs/using/WScbb6b82af5544594822510a94ae8d65-7c44a.h tml
    Presently, you must be using document relative link paths.  Either switch to Site Root Relative links which will likely work on your remote server but fail to test locally.  Or use absolute URLs (http://).  The downside with this is that DW won't be able to manage links for you.
    Nancy O.

  • Key mapping problem for web forms !!!

    Hi all,
    I have implemented forms 6 on the web using OAS 4.0.7 on WinNT SP 3 workstation. I have modified FMRWEB.RES file for activating F9 - LOV. We have a customized toolbar for our application. There are also shortcut keys defined for the same. For example, if the user presses ALT+S, then 'Save' button gets pressed. But when i run the form on the web, if the focus is on any list box, and if the user presses 'S', then 'Save' button gets pressed. I figured that if i deactivate 'ALT+S' key on the web, then it will work. How can i make the changes in FMRWEB.RES file ??
    Please advise urgently...Thanks
    Best Regards,
    Saumin
    null

    Hi Hector,
    Please ensure that in your Payment Terms code, no such special character has been used that are reserved by XML.This may cause conflict with the XML format and may lead to this issue.
    Moreover, for analysis, you may provide with the list of common Payment Terms across your Intercompany participating companies.
    Regards,
    Agneesh Jain
    SAP Intercompany Team

  • Can MDAC installation cause navigation problems within the portal?

    Hello,
    I have a client who having problems loading page links in our second level navigation.  Evertime time she clicks on node to expand the tree of links, she gets a "loading" message.  I see this all the time but this message doesn't go away. She also gets a javascript error on the page stating it cannot find the specify module.  She notice the problem around the time of her MDAC file installation.  Do anyone know if this can cause a problem for navigation on the portal?
    Thank you,
    Francis

    You made this bed by over complicating your site. Simple solution, take your pages out of sub-folders.  Nobody but you cares about the .html extensions. IMO, it's a very poor reason for using sub-folders.
    About linking & navigation:
    http://help.adobe.com/en_US/dreamweaver/cs/using/WScbb6b82af5544594822510a94ae8d65-7c44a.h tml
    Presently, you must be using document relative link paths.  Either switch to Site Root Relative links which will likely work on your remote server but fail to test locally.  Or use absolute URLs (http://).  The downside with this is that DW won't be able to manage links for you.
    Nancy O.

  • Key navigation in forms 10g

    During migration of forms 6i to 10g, we are encounterd the followng problem
    In 6i return key navigation is sink with up/down arrow keys.but in 10g up/down key is not sink with return key or tab key.

    I don't understand your problem. Could you give some more details?

  • Tabs in navigation page (Tabs persistance problem)

    Hello all,
    I'm looking for a workaround of tab persistence (the problem in post URGENT! TAB + Folder navigation Problem )
    ; is it possible, somehow, to make a navigation page with tabs, and in those tabs some kind of auto-redirection to the actual pages ? Or any other way using tabs? I just want to avoid image-map style navigation. This tab persistance feature is sooo anoying...
    Please help

    Hello
    I gave it up using tabs for navigation issue. There are too many problems with that. Now I'm using URL-items within navigation pages and that works fine...
    Cheers,
    Chrigel

  • Problem with tab-key navigation

    I am making chanegs to an existing form.
    I have a tab canvas with 3 tabs, each contains a data block, and other data blocks outside of the tab canvas.
    I wanted the tab key to move the cursor to the next record so I changed the navigation style from "Change Block" to "Change Record", but it did not help. When the cursor is a on a record of a multi-record block and I tab through the items to the last one, pressing the tab key leads me to another tab-page.
    I put in some debug code and noticed that the WHEN-TAB-CHANGED trigger did not fire. The WHEN-VALIDATE-RECORD trigger fired and the cursor block and record number were correct.
    After the tab key took me to another tab-page and I navigated back to the original tab-page. Even though it looks like I'm on the correct tab page, SYSTEM.cursor_block was NOT correct, it was pointing to another data block outside of the tab canvas.
    I checked other forms on our system and I'm pretty sure that changing the navigation style to "Change Record" would work. Perhaps there's something peculiar about this form.
    Any idea will be appreciated.
    Thanks.

    Found the problem.
    For some reason, the WHEN-NEXT-ITEM trigger of the last item of the record is hard-coded to go the another block.

  • 11g Forms Tab-Page Navigation

    I am using Forms 11g on Solaris.
    A main navigator form opens another form which has a content canvas, tab-page canvas and (3) stacked canvases.
    The problem I am having is with tab-page navigation.     CTRL+TAB ( next ) and CTRL+SHIFT+TAB ( previous )
    As long as I do not initiate navigation from an item on a stacked canvas, navigation is as expected ( between tab pages only ).
    However, navigating from an item within a stacked canvas causes navigation to the parent form.
    Repeating the tab navigation keys from the parent form returns to the called form.
    Note that both key-combinations simply toggle back and forth.
    I have found no documentation on tab-page navigation so any help / insight is greatly appreciated !
    Mike

    Hi Soofi !
    Changing block order in the called form does not affect the navigation between tab pages.
    Note in my question that the resulting undesired navigation is to and from the calling form ( which only has one block ).
    Navigation between items and blocks works as expected.
    To reiterate -
         The only navigation that fails is when I attempt to CTRL+TAB or CTRL+SHIFT+TAB to another tab page from within an item on a stacked canvas.
         Attempting this navigation results in moving the cursor focus to the calling form.
         Repeating the attempt from the calling form moves back to the called form.
         None of your methods mention navigation between forms .
    Thanks for your interest.

  • Reading Forms Key Mappings from java bean - how ?

    I want to be able to invoke key trigger code in a Forms 10g run-time from a java bean (extends BeanWrapper) either by:
    a) using inherited method calls passing the KeyEvent retrieved from my listener, or
    b) dispatching a custom event from the bean with a parameter value which identifies the key trigger to process (not the key code & modifier string).
    On a), I've not been able to identify any method in the BeanWrapper hierarchy tree that might help me do this, and samples like (http://forms.pjc.bean.over-blog.com/categorie-465294.html) seem to imply that no such method exists.
    In terms of b), the oracle.forms.engine.KeyMapTable class seems to be what I want (seems to translate the KeyEvent into a FormAction/string using server settings), but getting a hold of this object through (oracle.forms.engine.Main)getHandler().getApplet() doesn't seem possible.
    How are others invoking eg: key-crerec from a Forms 10g bean component in a way which is sensitive to server key mappings ?
    Thanks in advance for your help.

    I have no experience with KeyEvents in Forms, but if the KeyMapTable class really is the solution, can't you just instantiate one yourself.
    Looking at the constructor it only needs a single argument, the oracle.forms.engine.Runform class. You should be able to get a handle on it with:
    IHandler hander = getHandler();
    if (handler instanceof UICommon) {
        UICommon u = (UICommon)handler;
        // u.getDispatcher() should get oracle.forms.engine.Runform
    }Not sure if it will work, but you can give it a try.
    I love pushing the PJC and Oracle Forms applet to its limits. Not really sure if Oracle intended the PJC framework to do stuff like this, but it sure would have helped if they have JavaDoc about the oracle.forms.* classes

  • Regarding Tab key Navigation in a page

    Hi,
    I have a requirement regarding the tab key navigation on a page.
    Suppose the focus is on the last field of a page, on clicking the tab key i should go to the first field in the page not the url. i tried using tab index, but the problem is that after coming back to the first field from the last field, on clicking on tab again it does not go on as usual, it suddenly jumps to the url from there.
    Regards
    Krishna

    OK Here is what I have ...
    public class MultipleEditorsPerColumnJTable extends JTable {
    /** Creates a new instance of MultipleEditorsPerColumnJTable */
    public MultipleEditorsPerColumnJTable( int the_column) {
    this.myColumn = the_column;
    this.rowEditors = new ArrayList();
    setFocusTraversalKeys(KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS, Collections.EMPTY_SET);
    setFocusTraversalKeys(KeyboardFocusManager.BACKWARD_TRAVERSAL_KEYS, Collections.EMPTY_SET);
    protected boolean processKeyBinding(KeyStroke ks, KeyEvent e,int condition, boolean pressed) {
    boolean isSelected = false;
    if (ks == KeyStroke.getKeyStroke(KeyEvent.VK_TAB,0)) {
    int selRow = getSelectedRow();
    int rowCount = getRowCount();
    int selCol = getSelectedColumn();
    if (selCol == 1) { isSelected= getCellEditor(selRow,selCol).stopCellEditing();}
    int targetRow = (selRow + 1) % rowCount;
    this.editCellAt(targetRow, 1);
    this.getComponentAt(targetRow, 1).requestFocus();
    return super.processKeyBinding(ks,e,condition,pressed);
    I think I know why the requestFocus() is not working. OK, I have a MultipleEditorsPerColumnJTable (sub of JTale), JTextPane, JButton and JLabel. The textpane, label and button have individual editors and renderers. Each time I want to display a new Row, I re-render these components and add it to the table.
    Now with the above code, it still navigates to the next component in the row/ first column in next row depending on the current column. What am I doing wrong?
    Thanks,
    Praveen.

Maybe you are looking for

  • Special Stock indicator Setting in SD

    Hi all, I had created the normal delivery Sales Order. But when i'm trying to make delivery against the Sales Order. It gaves me error, Coz some how the Delivery item have Special Stock indicator set to 'E'. from where i can remove this setting. Pls

  • Taxes, freight etc. values to be added to stock values at the GR

    We are procuring the material from vendor. Our requirement is the taxes, freight, duties which we pay at the time of procurement should be added to stock values at the time of GR. Also we wish to pay the freight or duties to separate vendor at the ti

  • Why firefox loses my saved tabs when it starts?

    My problem is pretty simple, it doesn't give me my saved tabs. I just get a blank tab. This happens a lot, maybe 5 times in the last 10 times I started firefox. An unbelievable problem that made me hate firefox and don't want to use it ever! I don't

  • My phone dials and hangs up on people while talking. i need the screen to lock while using it

    my phone dials numbers and trys to face time while using phone.i want screen to lock while on phone. it never used to do this until i had screen replaced.

  • Oracle EBS R12 Apps DBA

    Hi I am an Oracle DBA located in India , just wanted to know where can i pursue Oracle EBS R12 Apps DBA training . My company will be paying for my training . Is the link below is the one which i have to pursue ? http://education.oracle.com/pls/web_p