Problem in Highlighting the menus that are selected in 11g

Hi,
While creating a Menu Hierarchy(created using Navigation Panes and NavigationItems) I want the menus to be highlighted, for the one which I select.
I set the "Selected" property for the NavigationItems to "True". But always the first one in Menu and submenu is selected on PageLoad and also when I select others.
Thanks

Try something like this:
<af:navigationPane>
  <af:commandNavigationItem text="commandNavigationItem 1"
      selected="#{pageFlowScope.selected=='first'}">
    <af:setPropertyListener type="action" from="first"
        to="#{pageFlowScope.selected}"/>
  </af:commandNavigationItem>
  <af:commandNavigationItem text="commandNavigationItem 2"
      selected="#{pageFlowScope.selected=='second' or pageFlowScope.selected==null}">
    <af:setPropertyListener type="action" from="second"
        to="#{pageFlowScope.selected}"/>
  </af:commandNavigationItem>
  <af:commandNavigationItem text="commandNavigationItem 3"
      selected="#{pageFlowScope.selected=='third'}">
    <af:setPropertyListener type="action" from="third"
        to="#{pageFlowScope.selected}"/>
  </af:commandNavigationItem>
</af:navigationPane>
{code}
Notice:  *pageFlowScope.selected==null* - when you first time enter the page, this tab will be selected and change your nick (user617801).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • Need to process the records that are selected using checkbox in an ALV

    Hi ..
    I am displaying some data in an ALV using the Parent-child relation, the parent records has a check box which is input enabled.
    On click of a button on the toolbar, i need the checked records to be fetched and processed.
    Please help me on how to fetch the records that are checked..
    Thanks,
    Derek

    Hello Derek,
    Is ALV created using OOPS or using conventional FM?
    If you are making use of OOPS technique, then call this method:
    CALL METHOD <grid_name>->get_selected_rows.
    BR,
    Vishal.

  • Cannot upload because all the playlists that are selected..

    Can someone please help me!! What does it mean when i plug my ipod in.. and it says "Cannot update because all of the playlists selected for updating no longer exisit..? Even though I have all my playlists on the side and everything?
    I DONT GET IT ..! RESPOND ASAP!! please please

    If you have deleted a playlist, it will still try to update it untill you tell it not to. In iTunes, go to iTunes>Preferences and click on the iPod tab. There, you should be able to uncheck the playlist that it's trying to update.

  • Is there a way to specify which fields are displayed in the "new contact" window in the adress book, or at least highlight the ones that are important to me?

    It would be nice if I could put together the fields in the "new contact" window in the adress book, or at least highlight the ones I need with bold letters or a different color. Is there a way? Thank you.

    No method I am aware of.
    This add-on adds many features, but I don't know if what you seek is included.
    https://freeshell.de//~kaosmos/morecols-en.html
    How to install
    http://chrisramsden.vfast.co.uk/3_How_to_install_Add-ons_in_Thunderbird.html

  • Disable Firefox's highlight of images that are selected?

    How can I disable the blueish highlight of selected images in firefox?
    It seems to be fine in other browsers, but in firefox if you keep clicking the right arrow for this plug in it ends up selecting the images and gives them a bluish highlight:
    http://sorgalla.com/projects/jcarousel/examples/static_simple.html 
    So I want to disable this for images within the plugin’s div.
    Thanks

    Here is my example:
    http://smartpeopletalkfast.co.uk/high/examples/static_simple.html
    In my css I have this:
    a,
    a img,
    img
      outline: none;
      border: none;
    But on the page its changed to:
    a, a img, img {
        border: medium none;
        outline: medium none;

  • How to display all the files that are selected using JFile chooser

    please hepl me i m posting my code here.
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import javax.swing.*;
    import java.io.FileInputStream;
    import java.io.FileNotFoundException;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.util.zip.Deflater;
    import java.util.zip.ZipEntry;
    import java.util.zip.ZipOutputStream;
    public class browser extends JFrame
    String curDir;
    JLabel statusbar;
    public browser()
    super("File Chooser Test Frame");
    setSize(1050,600);
    setDefaultCloseOperation(EXIT_ON_CLOSE);
    curDir = System.getProperty("user.dir") + File.separator;
    statusbar = new JLabel("Output of your button choice goes here!");
    Container c = getContentPane();
    c.setLayout( null );
    JButton openButton = new JButton("Browse file");
    JButton dirButton = new JButton("Pick Dir");
    JButton resetButton = new JButton("Reset");
    JButton submitButton = new JButton("Submit");
    final JTextArea tf = new JTextArea(100,50);
    final JList l1 = new JList("list");
    tf.setEditable(true);
    // add the open FILE chooser
    openButton.addActionListener(new ActionListener()
         public void actionPerformed(ActionEvent ae)
         JFileChooser chooser = new JFileChooser(curDir);
         chooser.setFileSelectionMode(JFileChooser.FILES_ONLY);
         chooser.setMultiSelectionEnabled(true);
    //Java 1.6 can use FileNameExtensionFilter class
    // FileFilter filter=new FileNameExtensionFilter("HTML file","htm","html")
    // chooser.addChoosableFileFilter(filter);
    //Prior versions must use external extension of FileFilter class (ie ExtFilter)
    //ExtFilter requires separate compile to enable choosable selection
         String[] html = new String[] {"htm","html","xhtml"};
         int option = chooser.showOpenDialog(browser.this);
         if (option == JFileChooser.APPROVE_OPTION)
         File[] sf = chooser.getSelectedFiles();
         String filelist = "nothing";
         try
         if (sf.length > 0) filelist = sf[0].getCanonicalPath();
         for (int i = 1; i < sf.length; i++)
         {filelist += ", " + sf[i].getCanonicalPath();
    tf.setText("our choices" + filelist);
         catch (IOException evt) {System.out.println("Exception: "+evt);}
    statusbar.setText("Your choices: " + filelist );
    // String[] text = new String[100];
    //getChars(0,100,text[],0);
    l1.setText("your choices \n" + filelist);
         else {statusbar.setText("You cancelled!");}
    // add the open DIRECTORY chooser
    dirButton.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent ae)
    JFileChooser chooser = new JFileChooser(curDir);
    chooser.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
         chooser.setMultiSelectionEnabled(false);
    int option = chooser.showOpenDialog(browser.this);
    if (option == JFileChooser.APPROVE_OPTION)
    File[] sf = chooser.getSelectedFiles();
    String filelist = "nothing";
    try
    if (sf.length > 0) filelist = sf[0].getCanonicalPath();
    for (int i = 1; i < sf.length; i++)
              {filelist += ", " + sf[i].getCanonicalPath();}
         catch (IOException evt) {System.out.println("Exception: "+evt);}
    statusbar.setText("You chose " + filelist);
         else {statusbar.setText("You cancelled!");}
    System.out.println("Example of ZIP file creation.");
    // Specify files to be zipped
    String[] filesToZip = new String[1];
    filesToZip[0] = "filelist";
    byte[] buffer = new byte[18024];
    // Specify zip file name
    String zipFileName = "example.zip";
    try {
    ZipOutputStream out =
    new ZipOutputStream(new FileOutputStream(zipFileName));
    // Set the compression ratio
    out.setLevel(Deflater.DEFAULT_COMPRESSION);
    // iterate through the array of files, adding each to the zip file
    for (int i = 0; i < filesToZip.length; i++) {
    System.out.println(i);
    // Associate a file input stream for the current file
    FileInputStream in = new FileInputStream(filesToZip);
    // Add ZIP entry to output stream.
    out.putNextEntry(new ZipEntry(filesToZip[i]));
    // Transfer bytes from the current file to the ZIP file
    //out.write(buffer, 0, in.read(buffer));
    int len;
    while ((len = in.read(buffer)) > 0)
    out.write(buffer, 0, len);
    // Close the current entry
    out.closeEntry();
    // Close the current file input stream
    in.close();
    // Close the ZipOutPutStream
    out.close();
    catch (IllegalArgumentException iae) {
    iae.printStackTrace();
    catch (FileNotFoundException fnfe) {
    fnfe.printStackTrace();
    catch (IOException ioe)
    ioe.printStackTrace();
    c.add(openButton);
    c.add(dirButton);
    c.add(statusbar);
    c.add(resetButton);
    c.add(submitButton);
    //c.add(tf);
    c.add(l1);
    Insets insets = c.getInsets();
    Dimension size = openButton.getPreferredSize();
    openButton.setBounds(745 + insets.left,115 + insets.top, size.width, size.height);
    size = dirButton.getPreferredSize();
    dirButton.setBounds(755 + insets.left,165 + insets.top, size.width, size.height);
    size = statusbar.getPreferredSize();
    statusbar.setBounds(755 + insets.left,215 + insets.top, size.width, size.height);
    size = resetButton.getPreferredSize();
    resetButton.setBounds(755 + insets.left,265 + insets.top, size.width, size.height);
    size = submitButton.getPreferredSize();
    submitButton.setBounds(755 + insets.left,465 + insets.top, size.width, size.height);
    size = tf.getPreferredSize();
    tf.setBounds(25 + insets.left,5 + insets.top, size.width + 150, size.height + 430);
    size = l1.getPreferredSize();
    l1.setBounds(25 + insets.left,5 + insets.top, size.width + 150, size.height + 430);
    setSize(1000,800);
    setVisible(true);
    public static void main(String[] args)
    new browser();

    Start by defining "display". Then continue by reading this:
    http://forum.java.sun.com/help.jspa?sec=formatting

  • How to Print Multiple line items(only the one's that are selected in va22)

    Hello All ,
    My smartform should print the multiple selected line items that i as a user should be able to see as the output .
    In my case i dont have any program that calls the transaction va22
    directly from the transaction VA22 i give the ISSUE OUTPUT TO .
    The Driver program that calls my smartforms fetches the data from table VBAP .
    Two cases that i get because of this fetching logic .
    1. When i try to fetch the data based on only VBELN in the output i get all the items that are in the particular Quotation .
    2 . When i try to fetch data based on VBELN and POSNR in the ouptut when i select multiple items and give print the first item that i i selected is displayed .
    Now what i need is to print only those data that i select in VA22 .
    say if there are items A, B , C, D ,E  in the Quotation .
    and before printing i select A , C , D then only those items should be printed .
    I hope any one  of the Experts  can solve my problem .
    Thanks & Regards
    Faran

    Hi
    I think you will need to do some enhancemwnt for this. What you can do select the lines in table comtrol and before issuing output you need to find a suitable wnhancement place where you can export the selected lines and make the corresponding change in logic for the same?.
    Secondly uou can make a custom report also where user will select lines of po and print..but in this way you will need to many calculations
    Nabheet

  • How to select all the people that are not in any equipe  ?

    Hi,
    I have a nice SQL expression that gives me as a result all the "AGENTS" (people) that are working in an EQUIPE (a team)
    select a."AGENT_ID",
    a."NOM" || ' ' || a."PRENOM" "Nom",
    c.libelle "Equipe",
    a."DATE_EMBAUCHE" "Date embauche",
    a."DATE_DEBAUCHE" "Date débauche"
    from OBSERVATOIRE."AGENT" a,
    observatoire.equipe_agents b,
    observatoire.equipe c
    where a.agent_id = b.agent_id
    and b.equipe_id = c.equipe_id
    order by nom
    Now, how to select all the agents that are NOT working in any "EQUIPE" (team) ?
    I have tried but could not succeed !
    Thank you for your kind help.
    Christian

    Christian from France wrote:
    It is not working because the table EQUIPE_AGENTS does not contains a row if the agent is not into any equipe.
    CREATE TABLE "OBSERVATOIRE"."EQUIPE_AGENTS"
    (     "EQUIPE_AGENTS_ID" NUMBER NOT NULL ENABLE,
         "EQUIPE_ID" NUMBER NOT NULL ENABLE,
         "AGENT_ID" NUMBER NOT NULL ENABLE)
    CREATE TABLE "OBSERVATOIRE"."AGENT"
    (     "AGENT_ID" NUMBER NOT NULL ENABLE,
         "GRADES_ID" NUMBER NOT NULL ENABLE,
         "NOM" VARCHAR2(50 BYTE) NOT NULL ENABLE,
         "PRENOM" VARCHAR2(50 BYTE),
         "DATE_EMBAUCHE" DATE NOT NULL ENABLE,
         "DATE_DEBAUCHE" DATE)
    The only way to "know" if an agent is not into any equipe (team) is to search into the EQUIPE_AGENTS table, and if we do not find the ID of the agent into this table, then we know that this agent is not into any EQUIPE (team).
    I don't know ho to translate this into SQL.And that's what my query does. It uses an OUTER JOIN so that a result record is returned whether or not there is a record in EQUIPE_AGENTS. And the check for EQUIPE_ID is NULL restricts the result set to those where there IS NOT a record in EQUIPE_AGENTS.
    A more traditional way would be to use NOT IN or NOT EXISTS clauses, but they can prove inefficient.

  • So my iphone 4 that is using ios5 keeps freezing when i want to dial, or receive call. i can use all my other apps but cant use the phone to call because the freezing problem. i know some people that are having the same problem too. what can i do?

    so my iphone 4 that is using ios5 keeps freezing when i want to dial, or receive call. i can use all my other apps but cant use the phone to call because the freezing problem. i know some people that are having the same problem too. what can i do?

    I got the same problem. The percentage of getting this problem is around 10% of all my dial/receive calls.
    The problem usually appears when I receive calls. The phone app will freeze, and I cannot dial or receive calls even I closed the phone app, however, most other apps work properly.
    Once this problem happens, I will not be able to turn off the phone by holding sleep button, the only way I can get rid of it is holding sleep and home button at the same time to reset the iphone.

  • TS3217 When I try to skip one song on my ipone, it skips through several. The songs that are skipped can be played on the same iphone if I go into my itunes and select that song. So this tells me that the song can be played, therefore, it is not the song.

    When I try to skip through a song on my iPhone, it skips through several songs. The songs that are skipped can be played on the same iphone (when I go into to itunes library on my phone), so I know that it's not the song. I have the latest softeware downloaded on both my iphone and itunes. In fact, this only recently started occuring when I reconnected my iphone to my laptop about a month ago to install the new updates on itunes.
    I also have an itouch and an ipod, both of which have been updated at the same time as my iphone and they do not skip through songs.

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Unsync all music and resync
    - Reset all settings      
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up                             
    - Restore to factory settings/new iOS device.
    BTW this is the iPod touch forum

  • How do i delete apps on itunes ??? i went to the library and it only shows a few apps that i have.  But when i go into my account i can see all of the apps i have downloaded.  soooo how do i delete the apps that are only showing in my account?

    How do I delete an app on iTunes?  I can delete the apps that are shown in the library of iTunes by right clicking and hitting "delete".  But all of my apps aren't shown in the library (I don't understand that either).  I can see all downloaded apps in my account though. But I don't see how to delete them from there.

    If you plug in your iphone, click on it in iTunes, and go to the apps section, it should be checked to sync apps if you want them to show up in iTunes as well as your iPhone. Once synced they will show on both.
    Then if you click Apps under the Library header in the left panel of iTunes, you'll be able to permanently delete apps, removing them entirely from iTunes. Highlight an app's icon or a group of icons by holding down Shift and hit the delete key (or select Edit > Delete from the top menu or right-click on an icon and selecting delete).

  • TS3297 iphone will let me download apps but wont let me update the apps that are already downloaded. I get message saying that my iphone cant connect to itunes store. What should I do?

    im trying to fix this and have already synced my phone with itunes and restarted my phone, but nothing is working. does anyone know how to fix this?

    If only some of the songs on an album are giving you the authorisation message, that suggests those song files are damaged.
    If your country's iTunes Store allows you to redownload purchased tracks, I'd delete your current copies of the dodgy tracks and try redownloading fresh copies. For instructions, see the following document:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    Otherwise, I'd report the problem to the iTunes Store.
    Log in to the Store. Click on "Account" in your Quick Links. When you're in your Account information screen, go down to Purchase History and click "See all".
    Find the items that are not playing properly. If you can't see "Report a Problem" next to the items, click the "Report a problem" button. Now click the "Report a Problem" links next to the items.

  • How do I copy photos from my Mac to my iPad without deleting the ones that are there?

    I understand how to sync photos from my iPhoto library to my iPad. I want to copy photos from my Mac to the iPad without syncing, because syncing deletes everything on the iPad that isn't included in my sync selections. In addition,I have several iPhoto libraries and want to copy photos from each of them to the iPad. A further issue is that apparently photos can be synced from only one computer to the iPad -- how would I copy photos from a different computer? (What happens when I buy a new Mac?) I am extremely experienced with Mac, iPhoto/Aperture, iPad, etc. A year or two ago I transferred 1000 photos to the iPad but I don't remember how, and it was probably done with my previous Mac. Now I just want to add some recent photos without deleting the ones that are there. Bottom line: is there a way to add photos to an iPad without syncing and losing what's there?

    You can still sync the photos and keep the photos that are already on the device. You have to include all of the albums or events in the pictures folder that you sync from. If you are using iPhoto, select that in the Sync Photos from drop down menu and then select all of the albums or events that you want to sync. Make sure to check Selected Albums, events, faces and automatically include (no events). Using that option will allow you to choose exactly which albums and events to sync.
    You have to remember that all photos must be included in every sync so you cannot sync photos from iPhoto today and then try to sync photos from another folder tomorrow, or you will erase all of the photos that were synced from iPhoto. You need to maintain one main Photos syncing folder for the photos that you want to transfer to the iPad. You can have subfolders within that one main folder and you can selectively sync those subfolders. You just have to place all of the photos that you want to sync into one main iPad syncing photos folder.
    There are WiFi transfer apps that allow you to transfer photos to the iPad without having to sync with iTunes. I use this one. This app (and others like it) will allow you to use multiple computers to transfer photos.
    Wireless Transfer App Easily send photos to iPhone/iPad ...

  • How do you change the fields that are displayed on the email preview list after a search?

    How do you modify the fields that are displayed in the mail preview list in the center column of Mac mail after you conduct a search of your email?   All of a sudden the displayed fields changed on me whenever I do a search in mail.   When I have not filtered my email with a search, the default field shown in bold at the top of each message's preview is the "From" field.   However, when I do a search this changes to the "To" field.   Can anyone help?   Thanks, ccarey

    ipicus
    But why would you want this?
    iTunes is responsible for the File Management, let it get on with it, you do your organisation in the iTunes window. And everything you need to do, you can do via the iTunes Window. Want to find the file of a track quickly? Right click on it in the iTunes Window and select Show File: A finder window pops open with the file already selected.
    Regards
    TD

  • How to identify the files that are exported but still present in Oracle UCM

    Hello All,
    I am using Oracle UCM 11g on Windows OS.
    I want to know that if i have exported the contents from Oracle UCM to external file system, but keeping the contents and metadata into the Oracle UCM. How one will be able to identify that the contents that are being exported? Will there be any attribute set for any such contents indicating that these contents were exported?
    Your help or hint will help me out in resolving the problem.
    Thanks in Advance
    Dipesh

    Hi Srinath,
    Thanks for the reply.
    I did not find the place where to check this?
    On the content tab of the Repository Manager Applet, what is the column do i need to set for indication that the content is archived?
    Regards
    Dipesh

Maybe you are looking for

  • Set Default SMS App - Already Did!

    Ever since updating to kitkat, I keep getting asked to "Set Default SMS App." I have - to Messages. I don't want to use Hangouts or Message  - how do I get it to stop asking me after I receive every text?

  • How to reconnect after timeout

    Hello, after I work on OWB client for some hours it disconnects from DB (even if I am still working on it) and I have to close the client and then re-open it in order to connect to Oracle. Is it possible to reconnect to Oracle without to close-reopen

  • I am too old to learn about complicated new features, please keep it simple.

    I have spent many years recognising and using the excellent Mozilla Firefox processes. I now fear that a flood of tweaks and changes ( like facebook etc ) will become remote, complicated, and of insignificant merit for the elderly ( 75 + ) to assimil

  • "Thunderbird connector" for CommSuite

    Hello all (community and staff members related to CommSuite), There is this "Outlook Connector" which does a decent job of connecting many of CommSuite services to the Outlook client on Windows... Now, many (but not all) of the services can also be s

  • Parameters - trailing blank

    Hi, There exists a report that has been used for awhile. Someone called to say that she is getting an empty report when requesting a specific project. I will not summarize all the checking that I did, but suffice it to say that through all my checkin