Finding which menu item has been clicked

Does oracle forms have anyway of knowing which menu item has been clicked.
I have a security structure set up where menu items are made visible depending on their name, which in turn is based on the individual forms that a particular user can access.
I would like to write a generic method for all menu items where it uses the name of the clicked menu item to perform a query, the result could be used to open a new form.
So is there a build in or some 'secret source' which tells me the name or gives me the id of a clicked menu item?
Message was edited by:
gazbarber

Not entirely sure what you mean, are you sugesting i have a generic method with a switch statment and uses the input paramter to decide what to do?
It's not really what i'm after, rather I already have the name of the menu item in the database, the same table also contains the module filename that clicking the button should go to.
So the idea would be somthing like
declare
begin
select module name into new form from secutity table where menu item = :system.current menu item;
open_form(new form);
end;
:sysem.current menu item is the missing ingreadiant.
My menu has many items in the hundreds i think so even the generic switch staement would be pretty tedious and i want changes in the database to be felt system wide as they are else where in my system.
Thanks for you help and i hope this explains my question better.
Regards,
Gareth
Message was edited by:
gazbarber

Similar Messages

  • Which menu item has been selected?

    At runtime when a user selects a menu item in the portal that leads them into a Web Dynpro ABAP Application, I need to know which menu item they have selected. We have 2 menu items that use the same web dynpro ABAP application and need to know which one has been selected by the user. Can anyone help with this please?
    thanks,
    Malcolm.

    Malcolm Clark wrote:
    At runtime when a user selects a menu item in the portal.......We have 2 menu items that use the same web dynpro ABAP
    Are you talking about portal navigation nodes or something else?

  • How to find out the PO line items for which no GRN has been done

    Dear Friends,
    I need a report which will show all the fully open PO items for which no GRN has been done.
    In ME2N when I give the selection parameter "open goods receipt" then it shows all the line items with partially & fully open. But my requirement is to get a report of only fully open items.
    Regards
    Rutabhadra Panda

    Hi Friends,
    Thanks a lot for your reply.
    But this is a report which projects the expected GRNs & does not depend whether partial or full.
    Is there any other way out?
    Can  I download from the table directly.
    Regards
    Rutabhadra Panda

  • The right-click "move to group" menu item has disappeared, how can I get it back?

    <blockquote>Locking duplicate thread.<br>
    Please continue here: [/questions/813094?]</blockquote><br>
    This menu option has been there since I started using the beta. It disappeared during one of the beta revisions, but was back for RC1. In fact, I just used it the other day, but now it is not there. What is my problem?

    OK,
    I solved my own problem. For some reason, if I enable the menu bar, the option comes back, and when I disable it it seems to stay ..... for now. Bug maybe?
    Note,
    I even installed the Menu Editor 1.2.7 Addon (which showed the "Move to Group" option enabled, and that still did not solve the problem.

  • How  can i determin which tab has been clicked??

    hi there
    how do i determine which one of the tabs in a tabbedPane has been clicked? do i add ActionListener to the tabbedPane or its sub JPanel?

    I import them all, it finallly compiled, but I am not sure if they are ok. here is the codes
    import javax.swing.event.ChangeEvent;
    import javax.swing.event.ChangeListener;
    TabbedPane = new JTabbedPane();
    TabbedPane.addTab("Easy", easyTab);
    TabbedPane.addChangeListener(new ChangeListener()
    public void stateChanged( ChangeEvent ce )
    Object source = ce.getSource();
    if (source == "Easy")
    currentTab = "easy";
    does it look all right to you?

  • Is there any way to find out "Where am I" after a Field has been clicked?

    My question refers to the "Mouse Up" JS which are so frequently associated with a Field.
    I tried this code:
    console.println(this.rect);
    and the output was: "undefined".
    I then tried this:
    console.println(this);
    and the output was: [object Doc]
    so, I guess I am making progress, but I am too high on the object hierachy.
    What I need is the rect or the name, or some way to determine which of the many fields with identical code has been clicked.
    That kind of generalization (same code in many fields) sure saves a lot of time and coding.
    TIA,
    -Ramon

    As noted you can use the 'event' object's 'rect' property to get the quads, corner' points of the field that you clicked on. You can also access other event properites in the same way like 'event.target.name', 'event.targetName', or 'event.type' for example. Using the 'join()' method can provide a clearer listing of the quads for for the event, console.println(event.target.rect.join(", "));'

  • I find very annoying that, although the cursor is flashing in the serch box, unless that box has been clicked in to enable it, typing goes to the nearest topic in the bookmark list. how to stop it from happening?

    i use Google home page as my firefox home page. often i find that although the cursor is flashing in the serch box, unless that box has been clicked in to enable it, typing goes to the nearest topic in the bookmark list instead of accepting the typing. how to stop it from happening? why not stop the cursor from appearing in the search box unless you have clicked in it?

    Do you organise your email into separate folders, or do you just let it accumulate in the Inbox?
    I would strongly advise you not to let it sit in the Inbox.
    When you see this happening, try right-click on the affected folder, select '''Properties''' then '''Repair Folder'''.
    Large folders (actually, a folder in Thunderbird is stored as a file, so it is sensitive to file size limits set by the underlying file system) can be problematic. This is one reason not to let messages collect in one folder. I use Thunderbird's Archive folders so that accumulated mails over several years can happily coexist because they are effectively stored in many small folders. No single mail store folder then exceeds the 2GB or 4GB sizes that have been known to stress the OS. I appreciate that current builds of Thunderbird and a modern 64-bit OS should be able to cope, but practically I find it slows down when given huge files, so I err towards a pragmatic solution; a large number of not very big files.
    Archives are searchable, and a Saved Search folder can give you a virtual composite folder allowing access to the entire Archive.

  • PO List in which Payment Terms has been changed

    Hi,
    Please let me know how can i find the PO List, in which Payment Terms has been changed.
    Is there any table for it..
    Plz help...

    Hi,
    The change documents are stored in CDHDR (Header table) and CDPOS (Item) tables.
    You can find out the list of PO objects in theses tables.
    Cheers,
    Satish

  • How to determine which FileChooser ExtensionFilter has been selected

    Hi,
    I'm using a JavaFX fileChooser.showSaveDialog with two extension filters (*.csv and *.xml). How can I determine which filter was selected when the end-user clicks the save button?
    I am writing a program that allows the end-user to create an output file in CSV or XML format.
    If the end-user enters a file name with no extension, I need a way to determine if I should create a CSV or XML file. I would also like to add the proper extension to the file name if none is specified by the end-user. I want to do this based on which filter the end-user has selected. I wrote a Java program 5 years ago and I was able to do this with the following instruction:
    String extension = jFileChooser.getFileFilter().getDescription();
    I can't find a similar instruction for JavFX.
    My JavaFX Code:
    FileChooser fileChooser = new FileChooser();
    fileChooser.setInitialDirectory(new File(options.getOutputDirectory()));
    ExtensionFilter filter1 = new FileChooser.ExtensionFilter("Comma Delimited (*.csv)", "*.csv");
    fileChooser.getExtensionFilters().add(filter1);
    ExtensionFilter filter2 = new FileChooser.ExtensionFilter("XML Document (*.xml)", "*.xml");
    fileChooser.getExtensionFilters().add(filter2);
    File file = fileChooser.showSaveDialog(stage);
    String filename = file.getAbsolutePath();...How do I determine which extension filter has been selected?
    My Java Code:
    JFileChooser jFileChooser = new JFileChooser();
    jFileChooser.setCurrentDirectory(new File(outputDirectory));
    jFileChooser.setSelectedFile(new File(backupfile));
    FileFilter filter = new FileNameExtensionFilter("Comma Delimited (*.csv)", "csv");
    jFileChooser.addChoosableFileFilter(filter);
    jFileChooser.setFileFilter(filter);
    filter = new FileNameExtensionFilter("XML Document (*.xml)", "xml");
    jFileChooser.addChoosableFileFilter(filter);
    jFileChooser.setAcceptAllFileFilterUsed(false);
    jFileChooser.setDialogTitle("Export Alarms");
    jFileChooser.setBackground(colorFileChooser);
    int returnVal = jFileChooser.showDialog(jFrame, "Export");
    if (returnVal == JFileChooser.APPROVE_OPTION) {
        File file = jFileChooser.getSelectedFile();
        String filename = file.getAbsolutePath();
        String extension = jFileChooser.getFileFilter().getDescription();
        if (extension.equals("XML Document (*.xml)")) {
            if (!filename.endsWith(".xml") && !filename.endsWith(".XML")) {
                filename = filename + ".xml";
            saveTableXML(filename);
        else if (extension.equals("Comma Delimited (*.csv)")) {
            if (!filename.endsWith(".csv") && !filename.endsWith(".CSV")) {
                filename = filename + ".csv";
            saveTableCSV(filename);
    }Thanks,
    Barry
    Edited by: 907965 on May 13, 2012 1:14 PM
    Edited by: 907965 on May 13, 2012 1:15 PM
    Edited by: 907965 on May 13, 2012 1:19 PM

    This problem is currently tracked as http://javafx-jira.kenai.com/browse/RT-18836.

  • FB70: User exit when the save button (for posting) has been click

    Hi ABAP Gurus,
    With regard to FB70, can anyone provide me the name of the user exit that will be triggered when the save button (for posting) has been clicked?
    Thanks!
    <b>
    Best Regards.
    Brando</b>

    Hello Brando,
    With FB70 I recommend you implement the user-exit via the Business Add-In (BADI) way and avoid SMOD exits if possible.
    The list below are the BADIs that are called by the <b>ECC6.0</b> system after you click the <b>Save</b> button to post a document. <u>They are listed in the order which they are called before the actual post</u>. You'll have to find the right one as per your requirement - you can view their definition via transaction SE18 then after you find the right one you need to use that definition to create an implementation via SE19. Here again, you'll have to choose the right method that suits your requirement. You'll find the method and class documentation in some cases with examples on how to implement, you need to write the code between the Method..EndMethod statement using the parameters provided by the Method.
    1. PPA_CUST_BADI
    2. FI_RES_ITEM_CURRENCY
    3. AC_QUANTITY_GET
    4. BADI_PRKNG_NO_UPDATE
    5. FM_POP_CORE
    6. FMRI
    7. FMRE_BUS_PROCESS
    8. FAGL_SET_SEGMENT
    9. EXIT_XFMPR1_001
    10. BUAVC_CHECK_RESTRICT
    11. UKM_R3_ACTIVATE
    12. CO_DOCUMENT_INFO
    I spent a bit of time debugging FB70 to find this info for you, please appreciate by rewarding points (or else
    Good luck.
    Cheers,
    Sougata.

  • JComboBox Event? How do I know when a JComboBox has been clicked?

    What event is fired when a JComboBox is pressed?
    I can tell when an item has been selected but I want
    to know when the combobox was clicked originally.

    Two (untested) ways of doing this:
    1. Subclass JCombobox and fire an event when the box is opened. To find out when its opened, you'll probably have to look at the source for JCombobox and override the method.
    2. use the model as a clue. Chances are the underlying combo box model will have its getValueAt() method called when the user opens the drop down box. Cant be sure that thats the only time itll happen tho,,
    DS

  • Apologies, this item has been interrupted due to an error...

    Hi there. Recently i have changed motherboards/processors in my desktop PC (but kept the same hard drive). Since then, when i go to view Sky Go on my desktop, i get the following error message: “Apologies, this item has been interrupted due to an error. Please click play to resume watching. [t:6013 / c:4110 ].” I have worked through the steps on the support page and none of these have remedied the problem. I decided to leave it to the new month as I thought maybe it a was a maximum device limit issue, but I have removed what was my old PC and have tried to view a channel on this device, yet the same error message occurred. I have cleared all browser cookies, have reinstalled Silverlight and have set permissions for chrome or adblocker, not to block SkyGo. I have also tried viewing on Internet Explorer and Firefox and have the same issue.  Can anyone else lend any ideas on how to sort this?  Thanks 

    Login to Sky Go and click 'Watch live TV' from the home page. It will attempt to show Sky News and fail with the error [t6013-c1501].
    2. Right click on the error and you should see the Menu option 'Silverlight'. Select this and a dialog should appear. Click the 'Application Storage' tab and delete any entry that relates to sky go. Click OK to close the dialog.
    3. Close the browser (if you don't the next bit will fail as it will be using the file you need to rename).
    4. Open explorer and navigate to the folder C:\ProgramData\Microsoft\PlayReady
    Note: This folder might be hidden on your PC, if so in explorer select Organize->Folder and Search Options->View->Show hidden files and folders and click OK.
    5. Rename the file mspr.hds to mspr.hds.OLD
    Note: Don't rename/delete the folder C:\ProgramData\Microsoft\PlayReady or you will get the error [t6000-c1501]. The folder must exist in order for the new file to be created by Silverlight.
    6. Log back into Sky Go and click 'Watch live TV', this time you should see a message saying something like downloading security components.

  • Displaying a caption when multiple click boxes has been clicked in a slide.

    I have 9 click boxes in my slide which when clicked opens a different page except 1 click box.1 click box takes the user to the previous page . I want to display a text caption when the user has clicked other 8 click boxes just to make sure they go through all the pages. Is there a way in captivate to do this? If yes, how do I do it?

    Since you are not yet familiar with advanced actions (and variables?), will try to explain in detail and provide some links to articles/blog posts as well.
    Create 8 user variables, one for each click box (Project, Variables); I will label them v_one, v_two.....v_eight It is not necessary to give a default value
    Create another user variable v_counter that will be incremented whenever a click box has been clicked for the first time
    Create a first click box (set to visible), label it CB_One (find that easier) and in the Properties panel, Action accordion, On Success change the action to 'Execute Advanced actions'. Then open the actions dialog box with the Folder icon that appears.
    You have to create a conditional action, so select that type, and label it CB_One (is possible, an exception because normally you cannot have same labels); this action will need two decisions (have a look at my video tutorial: http://kb2.adobe.com/community/publishing/858/cpsid_85847.html):
    First decision 'Visited' checks if the click box has already been clicked, visible when the value of v_one = 1; if this is not the case (first click) v_one gets the value=1 and the counter v_counter is incremented
    Second decision 'Check' checks the value of the counter, and shows an initially invisible button (I choose a button, BtNext but you can also have a click box) if the counter reaches 8, bummer the forum doesn't allow me to insert an image, have to type:
    IF section                       v_counter is equal to 8
    Actions section             Show BtNext
    Duplicate the click box 7 times, label them CB_Two,  ..... CB_Eight  (beware: case sensitivity). To each copy the same advanced action is attached, but you'll have to create duplicate actions for each one CB_Two....  In the duplicates you have to replace the variable v_one by the proper variable (v_two...) in the first decision; the second decision remains the same
    Test.
    Lilybiri

  • Strange "Hello World" menu item on right click

    Hello - for a few days now I am getting a strange Hello World contextual menu item when right clicking in some applications… Excel, iPhoto… It's at the bottom of the items separated by a line. When I choose it a text clipping kind of window comes up with German heading "Ohne Titel". In it it shows Hello World, which cannot be edited. Closing window is the only option.
    Any idea what this is and how to remove it?

    It displays which ever application is active, i.e. the window seems to belong to that application.
    Below is a list of "My Processes"… I am not familiar enough with the list to say if there is anything unusual in it.
    Here is a screen shot from iPhoto: http://homepage2.nifty.com/megaperls/hello.png
    126 fontd dirk 0.0 2 7.5 MB 30.4 MB
    120 pboard dirk 0.0 1 768 KB 18.4 MB
    2151 Image Capture Extension dirk 0.0 2 6.3 MB 29.1 MB
    118 Finder dirk 0.0 5 36.4 MB 40.8 MB
    117 SystemUIServer dirk 0.0 5 25.2 MB 283.5 MB
    116 Dock dirk 0.0 3 24.9 MB 29.0 MB
    2022 TextEdit dirk 0.0 2 28.1 MB 27.8 MB
    2147 iPhoto dirk 0.0 12 139.2 MB 146.4 MB
    112 launchd dirk 0.0 2 972 KB 38.0 MB
    235 DashboardClient dirk 0.0 5 45.6 MB 217.4 MB
    232 Flash Player (Safari Internet plug-in) dirk 1.5 6 14.8 MB 54.6 MB
    2137 mdworker dirk 0.0 3 18.4 MB 39.2 MB
    38 loginwindow dirk 0.0 2 8.0 MB 34.7 MB
    927 AppleVNCServer dirk 0.0 4 2.8 MB 30.1 MB
    222 AppleSpell.service dirk 0.0 2 9.5 MB 29.1 MB
    156 Safari dirk 0.0 10 313.1 MB 413.6 MB
    219 WebKitPluginAgent dirk 0.0 2 936 KB 39.5 MB
    152 iChatAgent dirk 0.0 2 6.0 MB 13.7 MB
    723 ARDAgent dirk 0.0 5 2.5 MB 31.7 MB
    151 Kotoeri dirk 0.7 3 43.7 MB 52.3 MB
    147 HP Event Handler dirk 0.0 4 2.6 MB 30.6 MB
    145 TISwitcher dirk 0.0 2 6.2 MB 30.2 MB
    144 HP Scheduler dirk 0.0 2 3.6 MB 29.9 MB
    143 imklaunchagent dirk 0.0 2 1.9 MB 39.0 MB
    140 Little Snitch UIAgent dirk 0.0 3 7.2 MB 30.7 MB
    2172 mdworker32 dirk 0.0 3 5.7 MB 72.7 MB
    2165 Activity Monitor dirk 2.1 3 20.1 MB 38.3 MB
    131 UserEventAgent dirk 0.0 3 5.0 MB 40.7 MB

  • How to keep track of how many times a link has been clicked?

    How to keep track of how many times a link has been clicked or accessed? Do I need to use database for this?

    Hi
    Proably something like this can work,
    1> Have a servlet/bean invoked when the link is linked
    2> have a static variable in that servlet/bean wich gets incremented before the control is passed to another desired page..
    The problem with this approach is that care has to be taken that the servlet/bean is not re-instalised, in case of which the static variable will also be instalised and the data would be lost.
    The best thing is to store the count in the database.
    Regards
    Arathi.

Maybe you are looking for

  • Upgrading to Tiger & HP AIO printer TIP

    I just upgraded from Panther to Tiger, 10.4.3. After reading about all of the issues surrounding HP AIO printer issues and upgrading to Tiger here is what I did and my HP AIO 6110 works perfectly after the upgrade. Before upgrading I did a complete c

  • I have given links on self page those links are open in IE but not in firefox why?

    now I am at the coding stage & facing a problem about - I have given self page links that are open in IE6.0 but not in firefox why? == This happened == Every time Firefox opened == User Agent == Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1;

  • ISE Central webauth and vWLC 7.4

    Hi Everybody, I am wondering if anyone has gotten this scenario to work, Cisco ISE Guest Portal via CWA redirect on an AP connected to a Virtual WLC running 7.4. As vWLC can only run flexconnect, and no centrally switched vlans are supported, how wou

  • Eyedropper tool does not copy all attributes

    Illustrator CS2 with Windows XP (SP2) Every document I've checked says that AI CS2's eyedropper tool will copy all appearance attributes. Yet it fails to copy the Align Stroke attribute. It's not given as an option on preferences so I haven't inadver

  • What format should my scratch disk be?

    Hi I have just purchased a WD My Book 1TB Firewire 800 hard drive which I want to use as my scratch disk in FCP I'm going to wipe it clean first, but just wondering what format I should make it (Mac OS Jornalled etc) Or does it not really matter? Tha