Focus not in item navigated to after mouse click

Hi,
We have moved a custom Form from 6i to 10g. This form works perfectly fine in the older instance.
However, in R12 we're facing this problem.
When the form opens, the control is on a radio group which has 3 buttons, one of which is hidden. The hidden button is the one that is selected by default. This is to done so that none of the displayed radio buttons are selected by default and the user is forced to select one. Only when he does so, he can proceed to enter the remaining fields.
There is a text item attached to an LOV which is the first text item on this form next to the radio group. The WHEN-NEW-ITEM-INSTANCE trigger for this text item checks if one of the visible radio buttons have been selected, if not, it throws a message to select one and the focus goes back to the radio group.
However, in R12, when I click on the text item, the WHEN-NEW-ITEM-INSTANCE trigger does not fire at all. When I check in diagnostics, the control is still on the radio button, even though the cursor shows it is on the text field. Thus when I try to click on the LOV for the text field I get a "Field does not understand operation error" as the focus is not really on the text field.
If I tab out, then the focus DOES go to the text item and the WHEN-NEW-ITEM-INSTANCE trigger fires, displaying the message as expected. But again, the cursor is still positioned on the text item and not on the radio group. This may prompt the user to click on the LOV field again for the text item.
Since the same code works perfectly fine in our 11.5.9 instance, i was wondering if this is a problem related to R12?
Has anyone faced a similar problem? Any pointers in this regard would be greatly appreciated.

Hi Pavan,
Thanks for your suggestions. I figured the solution to my problem. The problem is in 10g, go_item will not work if we're trying to navigate to a disabled or hidden item. In my case, since go_item was trying to navigate to a radio button which was hidden, it wasn't working. This used to work in the earlier releases.
I will have to modify the logic accordingly.
Thanks.
Edited by: Shruti Shetty on Feb 27, 2009 8:40 AM

Similar Messages

  • Adobe digital editions will not finish downloading ebook  even after double clicking on hard drive .

    ADE will not download and open the ebook automatially. After locating the .ascm (ebook) file on the hard drive and double clicking on that, it still will not open in ADE.

    I did all that and after I close the ADE and double click on the file, ADE opens right up and it looks like it is downloading (very fast), but nothing shows up in the ADE.
    How do I only get emails from you and not all the other people on the discussion?
    Date: Fri, 23 Dec 2011 15:48:24 -0700
    From: [email protected]
    To: [email protected]
    Subject: Adobe digital editions will not finish downloading ebook  even after double clicking on hard drive .
        Re: Adobe digital editions will not finish downloading ebook  even after double clicking on hard drive .
        created by Jeff A Wright in Adobe Digital Editions - View the full discussion
    Right click on the ACSM file or option click and go to Open With and select Other.  You can then navigate to your Adobe Digital Editions and set the file to open with that. I would then recommend closing Digital Editions, if you have it open, and try double clicking the file.  If Adobe Digital Editions opens then the file association is still correct.  If you continue to have difficulties then I would recommend contacting the vendor you obtained the e-book from.
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4101791#4101791
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4101791#4101791. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Adobe Digital Editions by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Open Form not working when called from When-Mouse-Click

    In our application to navigate to other forms we have created a feature where user selects the Forms from a LOV, the form id is returned to the text item and user needs to click the text item.....In the text item the Open form command is given
    This is not working
    The form builder throws an error
    Frm 92100 Connection interupted
    what could be the reason

    Code written in When-Mouse-click
    for item :boo_toolblk.nbt_nxtscr which contains the form id
    DECLARE
    p_name_id PARAMLIST;
    lv_param_name VARCHAR2(8):= :boo_toolblk.nbt_nxtscr;
    lf_next_form_id FORMMODULE;
    BEGIN
    Clear_Item;
    /*Create a parameter list named 'TEMPLT_PARAM'. First
    ** make sure the list does not already exist, then
    ** attempt to create a new list*/
    IF not Id_Null(Get_Parameter_List('TEMPLT_PARAM'))/*Returns a BOOLEAN value if the object ID is available*/
    THEN Destroy_Parameter_List('TEMPLT_PARAM');
    END IF;
    p_name_id:= Create_Parameter_List('TEMPLT_PARAM');
    /*Add a value parameter to an existing Parameter
    ** List */
    Add_Parameter(p_name_id,'templt_nxtscr',TEXT_PARAMETER,lv_param_name);
    Go_Block(Get_Form_Property(:system.current_form,FIRST_NAVIGATION_BLOCK));
    lf_next_form_id := FIND_FORM(lv_param_name);
    :PARAMETER.next_form := lv_param_name;
    IF lf_next_form_id.id is not null
    THEN
    Close_form(lf_next_form_id);
    END IF;
    Add_parameter(p_name_id,'previous_form',TEXT_PARAMETER,:SYSTEM.CURRENT_FORM);
    /* opens another form*/
    Open_Form(lv_param_name,ACTIVATE,NO_SESSION,SHARE_LIBRARY_DATA,p_name_id);
    EXCEPTION
    WHEN FORM_TRIGGER_FAILURE
    THEN RAISE FORM_TRIGGER_FAILURE;
    WHEN OTHERS
    THEN RAISE FORM_TRIGGER_FAILURE;
    END;
    Error :-
    Frm-92100 : Your Connection to the Server was Interrupted
    This may be the result of a networn error or a failure on the server.
    You will need to re-establish

  • Selected item in a JList - Clear selection after mouse click

    Hello:
    I'm developing a Java GUI application which uses some JLists. I've seen that, when an item of the JList is selected and you click the mouse another time in the same selected item, the selection does not "disappear". Now, the only way I know to do this is tho press Control + click in the selected item.
    I would like that, when I click to the selected item of a list, the selection disappears.
    How can I solve that?
    Lots of thanks for your help.

    add a MouseListener to the list
    in mouseReleased (note: Released), get the selected index
    compare to previous selection - if the same, list.clearSelection()
    if you clear the selection, you'll need to reset the 'previous selection' variable

  • The Jtree is not refreshing with new values when mouse click on the node

    hi ,
    I am creating a tree from a vector .The values in the vector is coming from the JTable data after satisfing the some condition. But the data in the Jtable is changing time to time so the data in the vector is also changing .
    But the problem is that when first I create a tree with that data the tree is created but for the next time I click on the tree node the tree is not changing i.e. it is not created with the new values that is stored in the vector at that time .what to do .Please help
    I am using DefaultMutableTreeNode for creating the tree .In starting I have created one root and the one it's child .Now the next subtree of the root child have to be created by this vector data. this subtree should be updated according to the values in the vecter.
    public void valueChanged(TreeSelectionEvent e) {
    //code here
    subtreecreat();
    //some function that create tree after cheching the some condition here
    subtreecreat() {
    Enumeration en=vector.elements();
    while(en.hasMoreElements())
    DefaultMutableTreeNode servername = new DefaultMutableTreeNode(en.nextElement());
    node.add(servername);
    Please help it is very urgent
    Thanks in Advance,
    anum

    Well, you can either use a custom TreeModel that tracks your Vector, or you can use a DefaultTreeModel and call model.reload(node) to refresh the tree below the specified node.

  • ITunes 10.4.1 will not download via Software update after I click to agree to terms, nothing happens

    I have OS Lion and went to Software Update to get the latest iTunes 10.4.1 (currently running 10.4 64 bit).  Software Update notifies me of the update, I click install, and then I agree to new terms....and that's all that happens.  Software Update remains open yet idle, nothing is being downloaded and there isn't a progress window with blue indicator for the time remaining.  I've tried several times, even switched to 32 bit version of iTunes to no avail.  I've never had an update do this and am wondering if anyone else is having this issue.
    I've thought to download iTunes 10.4.1 fresh from Apple (ie not through Software Update) but don't want to risk screwing up the iTunes that I currently have, which at least works.
    Any ideas?  I'd appreciate any and all suggestions.

    James Williams2 wrote:
    I've thought to download iTunes 10.4.1 fresh from Apple (ie not through Software Update) but don't want to risk screwing up the iTunes that I currently have
    nothing will be screwed up.
    but, if it makes you feel better, do this:
    download the iTunes standalone installer
    reboot into safe mode
    run a permission repair session using disk utility
    run the installer
    let the Mac reboot normally

  • Custom UIView not receiving touch events for fast mouse clicks in simulator

    I'm having a problem in the simulator where if I click fast in a UIView inside a table cell that is setup to receive touch events, it doesn't receive them. But if I click slow (holding down the button for a little bit) the view gets the touch events. I can't test it on the device. Is this a known problem in the simulator?
    Thanks.

    Hi George,
    Thanks a lot for your quick response and jumping to help.
    I am so frustrated that I did not get touch event for the custom cell.
    I also tried your solution for a custom UIImageView, I put the codes of PhotoView.h, PhotoView.m and TestTouchAppDelegate.m here: Please help to look into it for me.
    // PhotoView.h
    // Molinker
    // Created by Victor on 6/18/08.
    // Copyright 2008 _MyCompanyName_. All rights reserved.
    #import <UIKit/UIKit.h>
    @interface PhotoView : UIImageView {
    CGPoint touchPoint1;
    CGPoint touchPoint2;
    @property (nonatomic) CGPoint touchPoint1;
    @property (nonatomic) CGPoint touchPoint2;
    @end
    // PhotoView.m
    // Molinker
    // Created by Victor on 6/18/08.
    // Copyright 2008 _MyCompanyName_. All rights reserved.
    #import "PhotoView.h"
    @implementation PhotoView
    @synthesize touchPoint1;
    @synthesize touchPoint2;
    - (id)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:frame]) {
    // Initialization code
    self.userInteractionEnabled = YES;
    return self;
    - (void)drawRect:(CGRect)rect {
    // Drawing code
    // Handles the start of a touch
    - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
    UITouch *touch = [touches anyObject];
    touchPoint1 = [touch locationInView:self];
    // Handles the end of a touch event.
    - (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event
    UITouch *touch = [touches anyObject];
    touchPoint2 = [touch locationInView:self];
    if(touchPoint1.x>touchPoint2.x)
    //move Left
    NSLog(@"Move Left");
    if(touchPoint1.x<touchPoint2.x)
    //move Right
    NSLog(@"Move Right");
    - (void)dealloc {
    [super dealloc];
    @end
    // TestTouchAppDelegate.m
    // TestTouch
    // Created by Victor on 6/17/08.
    // Copyright _MyCompanyName_ 2008. All rights reserved.
    #import "TestTouchAppDelegate.h"
    #import "RootViewController.h"
    #import "PhotoView.h"
    @implementation TestTouchAppDelegate
    @synthesize window;
    @synthesize navigationController;
    - (id)init {
    if (self = [super init]) {
    return self;
    - (void)applicationDidFinishLaunching:(UIApplication *)application {
    // Configure and show the window
    //[window addSubview:[navigationController view]];
    UIImage *myImage= [UIImage imageNamed: @"scene1.jpg"];
    CGRect frame = CGRectMake (0, 20, 300, 400);
    PhotoView *myImageView1 = [[UIImageView alloc ] initWithFrame:frame];
    myImageView1.userInteractionEnabled = YES;
    myImageView1.image = myImage;
    [window addSubview:myImageView1];
    [window makeKeyAndVisible];
    - (void)applicationWillTerminate:(UIApplication *)application {
    // Save data if appropriate
    - (void)dealloc {
    [navigationController release];
    [window release];
    [super dealloc];
    @end
    Message was edited by: Victor Zhang

  • Not rearrange item after drag&drop on tilelist.

    Hi all,
    Now I have 2 tilelist. I would like to not rearrange item on
    Tilelist after I drag&drop between 2 Tilelist.
    Please help me,
    Thanks you.
    Aoddy

    Hi all,
    Now I have 2 tilelist. I would like to not rearrange item on
    Tilelist after I drag&drop between 2 Tilelist.
    Please help me,
    Thanks you.
    Aoddy

  • :system.cursor_block value does not change when mouse click

    Form created with Forms version 6.0.8.8.0. Consists of a control block that has the toolbar buttons, a filter control block that contains item, and a data block. The filter control block and data block are on a tabbed canvas. There are 3 tabs with corresponding filter control block and data block on each.After the data block is queried, code sets the navigation to the control block with the go_item built-in. The user would use a mouse click on the filter control block on one of the tabs to activate an LOV, code is in a generic when-mouse-click trigger that will determine the item focus with the value in the system variable :system.cursor_block. Works for the first tab. Does not work for 2nd or 3rd tab. On-error trigger does not capture any error. Values for :system.cursor_block for tab 1 show that value before mouse click is 'control.detail' and after mouse click is 'filter.a'. For tabs 2 and 3 the value before mouse lick is 'control.detail' and after mouse click is 'control.detail' instead of 'fiter.b' or 'filter.c'. Verified that the 3 filter blocks are identical. Can anyone shed some light on this anomoly? I have been looking for this solution (many different iterations and changes to trap it) for too long.

    :System.Cursor_Block reports the name of a block, NOT a BlockName.ItemName.
    Use :System.Trigger_Item with your mouse click, or :System.Cursor_Item.

  • Mouse-click with red circles

    In many tutorial videos (Photoshop or Lightroom) you can see red circles appear after mouse clicks.
    When I use the software it didn´t show up.
    Do I need a special mouse software ? Is it on Mac or Windows ?

    Some of the screen recording applications used to create demonstration videos can highlight the pointer during the recording. There are also utilities that highlight the pointer live, for example when you do a classroom presentation. On the Mac, you can use the Mouseposé utility for this.

  • Error-Message "Item not defined on current page" after Page submit - AJAX

    Hello,
    a lot of subpages (regions) are loaded over htmldb_get and displayed on a master page.
    The parts loaded over AJAX are reports. The report regions of these reports contain a hidden and protected field, which hold the page number (&APP_PAGE_ID.)
    This was necessary because I had to overwrite the standard pagination function $a_report on the master page. Otherwise the standard pagination function uses always the page number of the master page and not the page number of the loaded subpages. The overwritten function $a_report is placed in the master page header and searchs for the hidden + proteced field, containing the page number of the loaded subpage.
    This works already fine.
    But after submitting the master page with before loaded subpages over htmldb_get, I get following error message:
    Error Item ID (15348310159873659) is not an item defined on the current page .
    Setting the hidden + protected field on the subpage to never display, the error message disappear, but the pagination function doesn´t work any more.
    Where is the mistake I made?
    Greetings
    Michael

    Hello Ben,
    yesterday evening I read in short your answer, but today I can´t see your answer. Have you edited it again?
    My pagination function works fine and I would maintain it if possible.
    But now a new feature is requiered, which require a submit on the master page. The submit on the master page is not possible due to the hidden field on the loaded subpage, containing the page number for the pagination function.
    Using a normal text field (not saving state) works as long as the text field is visible (condiational view != never). But this information shouldn´t be visible to the user.
    I thought, perhaps a cleanworkaround exists.
    As dirty workaround I could place the information about the actual page number in the report themself (static invisible column). But as soon as the column is invisible (not shown), I have no access on this value
    With a normal hidden html-input-element (not a APEX-Item) in the report regions header of the subpage, holding the page number, I get a http 400 error on page submit.
    An I-Frame is not really a solution, because the master page contains several subpages, which should only be loaded and displayed on demand and not immediatly on page load.
    Greetings
    Michael
    Edited by: user6044915 on 31.03.2009 00:27

  • Pressing mouse wheel (or Ctrl + Left Mouse Click) on navigation arrows does not open previous/next page in new tab anymore

    I am using the new Firefox Developer Edition as a stand-alone on Ubuntu, so I can still use the "old" version, too.
    Everything seems to be working fine, as in I am logged in and setup sync. But a few features I got very much used to are no longer working.
    When I click on "About Firefox Developer Edition", it shows these details:
    Firefox Developer Edition 36.0a2 (2014-12-09)
    Firefox Developer Edition is up to date
    You are currently on the aurora update channel.
    In my "old" Firefox, I can:
    1. Click with the mouse wheel on the navigation arrows to open the previous or next page in a new tab.
    2. "right mouse click" on the navigation arrows to see the list of previously visited pages of the current tab, and the ones I visited after the page I am on, if I clicked "back" once or more times. I can then click the mouse wheel or "Ctrl + Left Mouse Button" to open any of the pages in the list in a new tab.
    None of this works in the Developer Edition.

    To clarify, the list of previously or later visited pages does still show up when I right click on the navigation arrows in the Developer Version, but I cannot open any of the links in the list in a new tab with the mouse wheel or "Ctrl + Left Mouse Click".

  • In upper 1/4 of window, mouse will not open items

    In firefox window mouse does not open items in top 1/3 of window. Normally arrow changes to pointer hand. This does not happen in upper 1/3 of opened window. In lines above the page items do open.

    That problem can be caused by the Yahoo! Toolbar or the Babylon extension that extents too much downwards and covers the top part of the browser window and thus makes links and buttons in that part of the screen not clickable.
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode

  • When-Mouse-Click does not fire if When-new-item-instance exists

    We are using Forms 6i Patch 12.
    The When-Mouse-Click trigger (at block level) is not getting fired when a When-new-item-instance trigger exists on a given item on which mouse is clicked.
    We need to synchronize keyboard and mouse events such that if the validation on certain key items fails, the cursor should go to one of the specified items as per the validation rules.
    The validation rules are different on leaving from different items. Complex validation rules require cursor to go to a different item than the current item on which the validation fires.
    Since go_item cannot be used in when-validate-item, we are using a combination of key-next-item and when-mouse-click.
    But, this strategy seems to fail if mouse is clicked over an item having a when-new-item-instance trigger.
    Also, we need the When-mouse-click trigger to fire before When-new-item-instance.
    Any pointers to solving the firing of trigger or strategy will be appreciated!
    Regards,
    Sanjiv

    This solution we have tried and it works also.
    However, we end up in another problem in the form. For overall picture, please see my latest post for "Forms Valid status" at Forms Valid status
    Regards,
    Sanjiv

  • JComboBox keeps focus after mouse select...

    I have an application that consists of a JTable, with both text and numerical editors and column sorting. The value parameters in the table are edited using an Integer Editor and the text values are selected using a ComboBox. The problem I have is that after I click a selection on the ComboBox, the focus remains on the ComboBox and if I don't physically change the focus of the box (click another editor) before I sort the column, I get undefined selection results in the box. I am looking for a way to stopCellEditing() and remove the focus from the edited comboBox automatically after a mouse click selection. Thanks, guys.

    I inherit from DefaultCellEditor and create my own ComboBoxEditor, so it should function as a DefaultCellEditor would. Maybe another example of its erratic actions will help... It seems that sometimes, I will change the value of one combo box and the value of another will change accordingly (to the same value I set in the first combobox). The setSelectedItem() methods are never called for that second one, but the text value is changed, so the next time you click on the faulty box the change is saved. This same thing happens if after changing the first combo box I highlight multiple rows of the JTable. One or two other random boxes along that column will change. I am never telling them to change their values!?

Maybe you are looking for