How to get the name of the element when running from popup menue?

Hello

I am using the 10.2 forms and a form with 2 listitems (mouse and keyboard navigable = No./false) with the same popup menu.
When I'm currently running then menu-trigger point: system.mouse_item is not defined and: system.cursor_item the value von hase something else.

How to get the itemname of the element that is currently leading the context menu?

Robert

Hello!
Can create a PRE-POPUP-MENU trigger on block level
with a call to go_item (: system.mouse_item)
You know, you're on what item in the list when the context menu is active.
Concerning

Tags: Oracle Development

Similar Questions

  • How to get the element selected listfield and goto next page?

    Assalaamualikum

    I try parsing the XML from a url and show in listfield.

    problem:

    How to get the selected item and passing the variable and than goto next page?

    my code:

    package parsepack;

    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Vector;

    Import javax.microedition.io.Connector;
    Import javax.microedition.io.StreamConnection;

    Import net.rim.device.api.system.Bitmap;
    Import net.rim.device.api.system.Display;
    Import net.rim.device.api.ui.DrawStyle;
    Import net.rim.device.api.ui.Field;
    Import net.rim.device.api.ui.FieldChangeListener;
    Import net.rim.device.api.ui.Graphics;
    Import net.rim.device.api.ui.Manager;
    Import net.rim.device.api.ui.UiApplication;
    Import net.rim.device.api.ui.component.ListField;
    Import net.rim.device.api.ui.component.ListFieldCallback;
    Import net.rim.device.api.ui.container.MainScreen;
    Import net.rim.device.api.ui.container.VerticalFieldManager;
    Import net.rim.device.api.xml.parsers.DocumentBuilder;
    Import net.rim.device.api.xml.parsers.DocumentBuilderFactory;

    to import org.W3C.DOM.document;
    Import org.w3c.dom.Node;
    Import org.w3c.dom.NodeList;

    extends xmlparsing public class UiApplication implements ListFieldCallback, FieldChangeListener
    {

    Public Shared Sub main (String [] args)
    {
    xmlparsing app = new xmlparsing();
    app.enterEventDispatcher ();
    }

    public long mycolor;
    Connection _connectionthread;
    private static ListField _list;
    private static Vector listElements is new Vector();.
    public display display = new MainScreen();
    MainManager VerticalFieldManager;
    VerticalFieldManager subManager;

    public xmlparsing()
    {
    Super();
    pushScreen (screen);

    final Bitmap Imagearriereplan = Bitmap.getBitmapResource ("blackbackground.png");

    mainManager = new VerticalFieldManager(Manager.NO_VERTICAL_SCROLL |) Manager.NO_VERTICAL_SCROLLBAR)
    {

    public void paint (Graphics graphics)
    {
    graphics.drawBitmap (0, 0, Display.getWidth (), Display.getHeight (), Imagearriereplan, 0, 0);

    Super.Paint (Graphics);
    }

    };

    subManager = new VerticalFieldManager(Manager.VERTICAL_SCROLL |) Manager.VERTICAL_SCROLLBAR)
    {
    protected void sublayout (int maxWidth, maxHeight int)
    {
    int displayWidth = Display.getWidth ();
    int displayHeight = Display.getHeight ();

    Super.sublayout (displayWidth, displayHeight);
    setExtent (displayWidth, displayHeight);
    }
    };

    Screen.Add (mainManager);

    _list = new ListField()

    {

    public void paint (Graphics graphics)

    {
    graphics.setColor ((int) mycolor);
    Super.Paint (Graphics);

    }

    };
    myColor = 0x00FFFFFF;
    _list. Invalidate();
    _list.setEmptyString ("* only supplies not available *", DrawStyle.HCENTER "");
    _list.setRowHeight (50);
    _list.setCallback (this);
    mainManager.add (subManager);
    listElements.removeAllElements ();
    _connectionthread = New Connection();
    _connectionthread. Start();
    }

    protected boolean navigationClick (int status, int time)
    {
    Try
    {
    Here, go to another screen if you need.

    }
    catch (System.Exception e)
    {
    System.out.println ("Exception:-: navigationClick()" + try ());
    }
    Returns true;
    }

    private class login extends thread
    {
    Public connection()
    {
    Super();
    }

    public void run() {}
    Doc document;
    StreamConnection conn = null;
    InputStream is = null;
    try {}

    Conn = Connector.open (StreamConnection) ("http://ec2-54-248-241-248.ap-northeast-1.compute.amazonaws.com/koperasi-akr-trial/cgi-bin/gw-pinjama...

    DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance ();
    docBuilderFactory.setIgnoringElementContentWhitespace (true);
    docBuilderFactory.setCoalescing (true);
    DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder ();
    docBuilder.isValidating ();
    is = conn.openInputStream ();
    doc = docBuilder.parse (is);
    doc.getDocumentElement () .normalize ();
    List of NodeList = doc.getElementsByTagName ("ID");
    for (int i = 0; i)< list.getlength();="" i++)="">
    Node node = list.item (i) .getFirstChild ();
    listElements.addElement (textNode.getNodeValue ());
    }
    } catch (Exception e) {}
    System.out.println (try ());
    } {Finally
    If (is! = null) {}
    try {is.close ();
    } catch (IOException ignored) {}
    } If (conn! = null) {}
    Try {conn.close () ;}
    catch (IOException ignored) {}
    }} UiApplication.getUiApplication () .invokeLater (new Runnable() {}
    public void run() {}
    _list. SetSize (listElements.Size ());
    subManager.add (_list);
    Screen.Invalidate ();
    }
    });
    }

    }

    ' public void drawListRow (list ListField, Graphics g, int index, int y, int w)
    {
    Your string = (String) listElements.elementAt (index);
    int yPos = 0 + y;
    g.drawLine (0, yPos, w, yPos);
    g.drawText (, 5, 15 + y, 0, w);
    }

    public {get {Object (ListField list, int index)
    {
    Return listElements.elementAt (index);
    }
    public int indexOfList (String prefix, ListField list, int, string)
    {
    Return listElements.indexOf (prefix, string);
    }
    public int getPreferredWidth (ListField list)
    {
    Return Display.getWidth ();
    }
    public final void insert (String toInsert, int index) {}
    listElements.addElement (toInsert);
    }

    ' Public Sub fieldChanged (field field, int context) {}

    }
    }

    Thank you.

    I told you that replace the navigationclick() method where initialize you your listfield

    as I think that changing your code and then answer me

    _list = new ListField()
    {
    protected boolean navigationClick(int status, int time)
    {
      Dialog.inform("hi");
      return true;
    }
    
    public void paint(Graphics graphics)
    {
    graphics.setColor((int) mycolor);
    super.paint(graphics);
    }
    };
    
  • How to get the event when we change our simcard in BB device

    Hi all

    Please, someone tell how to get the event or any listener method that can automatically called when we change our SIM card device.

    Thanks in advance,

    TEJ

    Hi Tej,

    I came across some post, which may be useful for you

    http://supportforums.BlackBerry.com/T5/Java-development/is-there-a-way-to-get-the-mobile-or-phone-nu...

    http://supportforums.BlackBerry.com/T5/Java-development/is-SIM-ID-really-exist/m-p/54407#M5954

  • How to get the files to and from the host

    Is there something that I can read which explains how to get the (ftp, memory stick or other) files to and from the host?

    Sorry if this is a noob question, I looked but could not find something specific...

    There are many ways of doing so:

    1 activate not supported ssh and scp use

    2. use VI Client access to your storage space on configuration files and server transfer

    3 configure the iSCSI or NAS to deal directly

  • Installer won't work, indicating that a file may be missing. How to get the installer to run?

    I am running Windows & and downloaded CS6 Master Collection and when I try to run the config file, I get an error indicating that a file is maybe missing and to download and run a couple of potential fixes.  I did, but I have the same error of ge.  I tried only download Photoshop 6 and run this configuration file, but get the same result.  I run other non Adobe without any problem of product configuration files.  What can I do to get the installer to run?

    Move the files to your destop configuration and click "Run as Administrator".

    If this fails, you probably have a corrupt download and should re-download the Installer file.

    For more specific help, attach a screenshot of the error message.

  • Get the message when running Norton - OS file system error (C :), advised stopping and restarting,)

    Original title: what is system problem Partition OS operating system error (C :) file)

    get the message when Norton - OS file system error (C :), recommended stop and restart running, did not help)

    Hi catherinegood,

    1. When did you start to question?

    2. you remember to make changes to the computer before this problem? Hope this information is useful.

    This is error occurs when Norton scan, then you can check with Norton and check:

    Check the link for the support of Norton:

    http://securityresponse.Symantec.com/Norton/support/contact/contact.jsp

    http://www.Symantec.com/support/index.jsp

    If you try to run a scan, you can check out the following link and try to download the Microsoft Safety Scanner and analysis complete on your computer and check.

    Note: When you perform the analysis, there are risks of data loss you can take a backup of important data before performing analysis.

    Check out the link:

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    Hope this information is useful.

  • How to get the element highlight DataGrid?

    Hello everyone...

    I've already looked in a lot of sites and forums, and I can't find anything...

    I need to get data on the element (not selected) highlighted on my DataGrid (I intend to use the MouseOver event)...

    does anyone have an idea on how to do it?

    PS Sorry for the grammar errors... my English is not very good...

    Hello

    Add an event listener for the itemRollOver event of the datagrid to get the index of the item highlighted.

    
    
    protected function dataGrid_itemRollOverHandler(event:ListEvent):void
    {
         var item:Object = dataGrid.dataProvider[event.rowIndex];
    }
    
  • How to get the catalog to show in my menu

    How can I get the catalog for term appear again in my menu

    Make a right click on the group name, say 'folders' and select 'catalogue' from the context menu.

  • How to get the computer to boot from a USB?

    I use offline windows Defender. Start the computer to the USB you need. How can I get the computer set up to do this?

    my computer is a HP Pavilion e9100z.

    Thanks for any help

    Hello

    We will determine if your PC can not even boot from USB devices.  Plug the USB and turn on your PC.  When you get to the HP splash screen, then start typing the escape key to bring up a boot selection menu. If you do not see the USB device then your PC can't boot from a USB device.

    If your PC does support booting from a USB device and then read this MS post article.

    You always have the option to start Windows Defender from a CD or a DVD.

  • How to get the Installation of Vista from Toshiba disk?

    I work with Microsoft technical support to solve a security problem on my Satellite Pro A210 and were now required to use a Vista installation disc.

    Microsoft says that I am entitled to an installation of the original provider of my kit disc - Toshiba. But we're not happened with my laptop - only a recovery disc has been provided.

    How can I go on the acquisition of an installation of Vista from Toshiba disk?

    Kind regards

    Kevin C.

    With Toshiba laptop, you'll get the Toshiba CD/DVD facilities only.
    This recovery media is designed for your laptop only.

    Installations from Microsoft Vista disc is not given and there is no way to get it from Toshiba.

    Microsoft can offer that you support if you only use Microsoft installations CD. Using this disk, you can install and repair Vista on each portable office/computer option. Unfortunately with the restore disc it will not work.

  • How to get the value when questioned on the LOVupdate event messageStyledtext

    Hello

    I tried to get dependent on a messageStyledText value when a value had been selected in LOV.

    Say for example if the LOV is for departments.

    In LOV if I select dept not just 10.

    I would like to see the description of the Department say as "Accounting" in a messageStyledText time by selecting 10 is completed.

    Thanks in advance.

    RAM

    1. create an element named "DepartmentName" in the region of LOV.

    2. create lovMap in the item page of basic LOV (Department),

    LovRegionItem: DepartmentName

    ReturnItem: DeptName (ID of MessageStyledText point in the basic page)

    Thank you

  • How to get the Acrobat products MS Office 2013 menu

    I bought a new laptop with Acrobat already installed Standard XI. I have been manually installed MS Office 2013.  How can I get the Acrobat menu in my office products?  We are a not-for-profit, so I usually buy software separately and install it myself.  I'd normally install office and Acrobat, so it was never a problem for me.

    Thanks for any help anyone can provide!

    A 'repair' did not work, however, if I had been a little more patient, a "Update" itself, this as they do almost every day (!).  After you install the update, the Acrobat menus appeared in Office applications.

    Problem solved!

  • How to get the SQL query running of af: search?

    I use JDeveloper 11.1.2.3.0. I have a page where I've set up an af:query and an array of result. The problem is that I can't get the exact query that is used during the execution of this component in a managed bean method. Is it possible to get the query string that is run within the af: query?

    Thank you

    Hello

    Method of the ViewObject getQuery() returns what you need;

    You can replace the executeQueryForCollection(), and prior to calling super, you can print the result of getQuery() method:

    public void executeQueryForCollection (rowset Object,

    Object [] params,

    {int noUserParams)

    System.out.println ("SQL =" + getQuery());

    call the super method here...

    }

  • ASP / PHP pages: how to get the streaming of information from an XML file?

    Hi all

    I use Adobe Flash Media Streaming Server 3.5 but I can't find any file output (an XML fx) that I can pull info from and use it on my site via a script PHP or ASP. It might be nice - website - to retrieve the info like 'attending of online users', ' running / streaming State "(online or offline) and other relevant information on streaming, so I on the site Web can I view how many who are online when a webtv event is streaming.

    I see the news when I connect to the web admin for FMS, but I need a solution that can work with ASP or PHP.

    Simply, I can't find any file / address for this type or exit out of FMS - can you help me?

    Thank you

    Kind regards

    Jens

    What is rtmp url to which you are connected? RTMP://servername/live/Server1 or just rtmp://serverName/live?

  • How to get the event when you click Add another button in a table.

    Hello
    How to recognize the event in processFormRequest click on the button Add another line of the footer of a table?

    Suppose if the ID is anotherRow (I mean ID of the button to add another line of the footer)

    If I give if (pageContext.getParameter ("anotherRow")! = null)... its not recognizing the event that is returning null only...

    I want to perform certain actions when the user clicks Add another line of footer. Please let me know the details of how identify when add another line is clicked...

    Thank you
    Srikanth

    Hello

    If you have only one table with add_row_button, and then copy the following code works perfectly

    If (tableBean.getName () .equals (pageContext.getParameter (SOURCE_PARAM)))
    (& ADD_ROWS_EVENT.equals (pageContext.getParameter (EVENT_PARAM)))
    {
    ...
    }

    tableBean is the Handle for your advanced table, hope, it will help you.

    Kind regards
    Out Sharma

Maybe you are looking for