Link directly out of a drop down menu

Hi,
I would like to link directly out of the drop down menu, but I don't get it running.
Here each entry in the drop down menu has a different link.
My drop down menu will be created in a dynamic way.
Here's my code:
XHTML:
<h:selectOneMenu value="#{statistics.choosedValue}">
<f:selectItems value="#{statistics.list}" />
</h:selectOneMenu>
BEAN:
private List<SelectItem> list;
public void dropDown()
list = new ArrayList<SelectItem>();
Integer num = new Integer(instance.getCurrentDatasetHolderInstance().countDatasets());
list.add(new SelectItem(num.toString()));
for (Dataset dataset : datasetList) {
list.add(new SelectItem(dataset.getName()));
+ Getter und Setter
Does anyone know how to link direclty ot of the drop down menu
Thx for your efforts,
Cheers Wolfgang

See JList.getSelectedValues()

Similar Messages

  • Link to other scenes in drop down menu

    I have a drop down menu in AS2 Flash. I want to be able to link to any scene, any frame from this one menu. All I want to do is to go back to the root and then to go to the relevant scene/frame. Inside my menu (a series of buttons inside a movieclip), the code on one particular button is:
    on (release) {
        _root.gotoAndStop("New", 'new1');
    but it does nothing. I know very little about scripting code, so I need an easy fix.
    I have tried
    on (release) {
        _root_root.gotoAndStop("New", 'new1');
    on (release) {
        _root.gotoAndStop(New, 'new1');
    and many variations on this.
    Need help please.

    the goto methods don't accept a scene parameter.  make sure your frame labels are unique and use the labels only.

  • Loaded Yosemeti, cannot access App Store nor iBook  Cannot sign out from store drop down menu , app crashes and will contact Apple.

    Loaded Yosemeti, Cannot access App Store. It shows I am signed in but when I try to sign out of App Store from the store drop down menu the application crashes and says "will send to Apple on re-open". I can access iTunes okay, just checked iBook store and cannot access this either.

    yup, me too. Only  havent made any changes to any of my 4 Ale/Mac Devices,. Im not sue why so i guess we ait and try later...?

  • 3 drop down menu issues

    I have two issues here. www.newstribune.com. I know some of
    this may be css issues, but I am aweful with css and could use a
    cheat sheet for the css that dreamweaver makes for these drop down
    menus, so I know what controls what...
    ok..
    IE 6.0 will scroll out the drop down menu options but will
    not allow the click... any ideas?
    IE 7.0 renders the drop down menu's properly, but my front
    page (and front page only) in firefox, the drop downs are off set.
    I have no idea why...
    Please not that the drop downs were made into an include and
    are rendered on all the pages. (It is a process so, you may find
    some pages that don't have the new drop downs if you poke around a
    lot.)
    lastly, if anyone knows what code I should strip out of the
    drop down menu include in order to not cause the errors but still
    allow it to be opened in Dreamweaver, can you please let me know?
    If that is not possible, what should I remove? The entire code is
    below.
    _________

    hello, thanks for reporting. hopefully it will help other affected users finding a solution too...

  • How do I link this drop down menu created in Fireworks when I export to dreamweaver, Help!

    Hello everyone,
    Thank you in advance for dealing with my inexperience and answering my question.
    I have been stuck on this for wayyyy too long. Here is my problem. I created a drop down menu for a portfolio website I am building. When I pull this into Dreamweaver the way to link the menu items to the pages is elusive. I have no idea what to do. Please help?
    Here is the screenshot. Thank you very much     Jennifer
    OK, Well no one can actually see this image since it came in so small, but please help me anyway if you can?

    Thank you for answering my question. I created the graphics in photoshop, sliced them in fireworks and now I am pulling the site in dreamweaver to link it. The dropdown is just a little dropdown menu. I created it in Fireworks because when I tried to create one in Dreamweaver I had to use a spry which was even harder to figure out and get to work. If I knew Html or CSS my life would be much easier but I don't. I don't have much time to learn it right now since I work over time all week, do graphics freelance and I go to school for computer science. I need to get this site up and I just want a fast little fix to get it up. When I have time to learn more I can make this site better or start a better site, but for right now it just needs to work. Is there a way to get what I have working so I can just get this site up. Later I will have more time and more experience to do this better. I am learning so thank you for your experience.
    Thanks,
    Jennifer

  • The BBC is a drop-down menu item on my bookmarks toolbar. About 20% of the time, when I click on a news story, I get the link that's underneath, not the one on the drop-down menu. What the?

    I don't understand why Firefox would take me to a link UNDERNEATH the link I clicked on in the drop-down menu. Items in the drop-down menu are supposed to be clickable. I'm tired of clicking on a BBC news story link only to be sent to the beanie babies page of Amazon.com.
    == This happened ==
    Not sure how often
    == I installed my third-to-latest upgrade, about 3.5

    To add a Pinterest icon to your Home Screen do the followiing:
    In Safari:
    Go to the Pinterest Website - http://pinterest.com
    Touch the Share icon at the top (looks like a box with an arrow coming out)
    Touch Add to Home Screen

  • The edt option in the orange drop down menu is grayed out, how do I fix this?

    It's the first time that I've went into the drop down menu since installing the latest FF and the edit option it grayed out, and not letting me access it.

    That is normal. Does the menu open if you hover the arrow at the right of the Edit entry in the App menu?
    Does the Paste link get highlighted if there is content on the clipboard and a text area is selected?
    The entries in the Edit menu only work if they apply and there is something to do like text is selected and Copy will work.

  • In the tracing drop down menu, how come the custom is greyed out and can't be selected? It looks like its disabled!!

    in the tracing drop down menu, how come the custom is greyed out and can't be selected? It looks like its disabled!!

    cc2014,
    Have you selected an image?
    Unless a good explanation appears, you may start onthe list below.
    The following is a general list of things you may try when the issue is not in a specific file (you may have tried/done some of them already); 1) and 2) are the easy ones for temporary strangenesses, and 3) and 4) are specifically aimed at possibly corrupt preferences); 5) is a list in itself, and 6) is the last resort.
    1) Close down Illy and open again;
    2) Restart the computer (you may do that up to 3 times);
    3) Close down Illy and press Ctrl+Alt+Shift/Cmd+Option+Shift during startup (easy but irreversible);
    4) Move the folder (follow the link with that name) with Illy closed (more tedious but also more thorough and reversible);
    5) Look through and try out the relevant among the Other options (follow the link with that name, Item 7) is a list of usual suspects among other applications that may disturb and confuse Illy, Item 15) applies to CC, CS6, and maybe CS5);
    Even more seriously, you may:
    6) Uninstall, run the Cleaner Tool (if you have CS3/CS4/CS5/CS6/CC), and reinstall.
    http://www.adobe.com/support/contact/cscleanertool.html

  • Selecting the XML data from a drop-down menu or links

    Hi, I have this page:
    http://www.georgeglazer.com/prints/nathist/botanical/volckinv/volckinv.html
    There are prints of lemons/limes and prints of oranges. I
    want to have the visitor select which kind of fruit from either a
    drop-menu or from two links that look something like this:
    Lemons/Limes | Oranges. Looking at other help docs I found the
    region/state mapping demo at
    http://labs.adobe.com/technologies/spry/samples/data_region/StateMappingSample.html,
    and copied the code and tried to modify it. But I don't really
    understand the technical shorthand of the help docs (an ongoing
    problem I have with the Spry documentation) and I couldn't find the
    XML docs that the region/state mapping demos are based on so I
    couldn't see how they were set up.
    I got as far as this: nothing loads initially when you open
    the page (I'd like the lemons to load), but if you select Oranges
    from the drop-down menu you see the oranges, and THEN once you've
    done that, you can select Lemons/Limes in the drop-down menu and
    see those. I have three XML files I've been playing around with to
    get this to work: lemons.xml, oranges.xml and inventory.xml, which
    combines the two.
    I also suspect region/state mapping might not even be exactly
    what I'm trying to do here, but I can't figure out from the
    documentation exactly what this thing I'm trying to do is called. I
    know the photo album demo accomplishes something similar, and I
    could do that, but it seems way more complicated than what I need
    here (right?). Help will be appreciated!
    Thanks,
    Helen

    I made a different test using the file
    http://www.georgeglazer.com/prints/nathist/botanical/volckinv/inventory.xml
    and
    http://www.georgeglazer.com/prints/nathist/botanical/volckinv/volcktest.html
    where I sent up the inventory xml form like one I found in the
    Nested XML Data documentation where you have item ids and types, so
    all the oranges and lemons are in one XML document (which I'd
    prefer).
    Here's an abbreviated version of the inventory.xml:
    <inv_items>
    <inv_item id="1" type="lemon">
    <name>Lemons and Limes</name>
    <title>Cedro Ordinario</title>
    <plate>116a</plate>
    <fullimage>pl116a.jpg</fullimage>
    <tn>pl116a-2.jpg</tn>
    </inv_item>
    [and more lemons follow]
    <inv_item id="19" type="orange">
    <name>Oranges and Others</name>
    <title>La Zucchetta Imperiale</title>
    <plate>138a</plate>
    <fullimage>pl138a.jpg</fullimage>
    <tn>pl138a-2.jpg</tn>
    </inv_item>
    [and more oranges follow]
    </inv_items>
    What I'd like to do is display the names "Lemons and Limes"
    and "Oranges and Others" and when you click on "Lemons and Limes"
    you see only the thumbnails for lemons and limes, and when you
    click on "Oranges and Others" you see the thumbnails for only
    those. I'd like the Lemons and Limes to be selected when the page
    is opened.
    Help greatly appreciated!

  • Linking a page as a browser window from a drop-down menu item

    I have tried to link from a drop-down menu item to link to a small browser window instead of a full page.  I tried using the "behaviors" but I got both the regular page and the browser window.  Is there a way to make it just the browser window.
    Thanks.

    I tried that target=_Blank" but I still got the regular page plus the small browser window .  I got rid of the Behavior for now.  My aim is to would display the page in a simple 450 wide x 450 long browser window with a scroll bar with nothing else.  If you can give me a code hint to do that, It would be appreciated.  I'll figure out the rest.
    My HTML coding skills are limited, as I'm used to using FP.(FP seems to be to the Web circles as the Bard's Scottish Play is to the theatrical world)

  • Made a drop down menu. How can I get the drop down to fade in and out? !

    Hi guys!
    I've created a drop down menu (with the help of you legends on here! )...Now I just need it to animate so when the user hovers over the main menu item, the drop down fades in.
    Here's the HTML I have...
        <ul id="nav">
            <li><a href="#">Nav 1</a></li>
            <li><a href="#">Nav 2</a></li>
            <li><a href="#">Nav 3</a>
                <ul>
                    <li><a href="#">&raquo; Sub Menu 1</a></li>
                    <li><a href="#">&raquo; Sub Menu 2</a></li>
                    <li><a href="#">&raquo; Sub Menu 3</a></li>
                    <li><a href="#">&raquo; Sub Menu 4</a></li>
                </ul>
            </li>
            <li><a href="#">Nav 5</a></li>
            <li><a href="#">Nav 6</a></li>
        </ul>
    ...and here's my CSS...
    ul#nav {width:920px; height:35px; list-style:none; padding:0; margin:0; background:url(navBg.jpg) repeat-x; z-index:999;}
    ul#nav li a:hover, #nav li a:active {background:url(navOn.jpg) repeat-x; text-decoration:none;}
    ul#nav li a {color:#E0E2E7; display:inline-block; float:left; margin:0; padding:10px 19px; width:auto; text-decoration:none;}
    * html #nav li {display:inline; float:left; }  /* for IE 6 */
    * + html #nav li {display:inline; float:left; }  /* for IE 7 */
    #nav ul {width:208px; left:-9999em; list-style:none; margin:35px 0; padding:0; position:absolute; z-index:999;}
    #nav li:hover ul {left:auto;}
    #nav li {float:left;}
    #nav li li a {width:190px; background-color:#efefef; color:#2e2e2e; padding:8px; margin:0; }
    #nav li li a:hover {background-color:#000; background-image:none; color:#FFF;}
    #nav li:hover {background:url(assets/images/frame/navOn.jpg);}
    From what I can make out, I assume I need either Javascript or JQuery...
    Does anyone know how I can get the drop down to fade in and out?
    Thank you very much and I hope to hear from you.
    SM

    Yes, you'll need a client-side script to do fade-in/fade-out fx.  Look at jQuery Superfish.
    http://users.tpg.com.au/j_birch/plugins/superfish/#examples
    Nancy O.

  • How can I create a rollover drop down menu from a link in Dreamweaver CS5?

    Hello all,  I am working on a portfolio website and I was just wanting to know if there is any way that I can create a drop down menu from a text link that cascades once the cursor has made contact with the link. I would like to have it in my navigation bar where the Portfolio link is. Basically, my navigation bar looks like this : Home | Resume | Portfolio | Contact. I only want three items on the drop down menu beneath the portfolio link: Traditional Art, Photography, Graphic Design. I would really appreciate any help I can get! Thanks!

    Have a look at what Nancy does http://alt-web.com/DEMOS/CSS-Horiz-menu-2.shtml

  • Every single website, or link within a website page is being added to my location bar/address bar drop down menu. How can I stop this? This just started happening.

    Every single website url address, or url address within a website page is being added to my location bar/address bar drop down menu.
    I don't want everything added or saved in the location bar. Only urls that I used a lot used to be saved there but now every single url (and url within a url)I visit is being added to it.
    How can I stop this? This just started happening.
    I'm sure it's a simple browser setting but I've checked and nothing gives an option to control this.
    Firefox 3.0.17
    Windows XP
    == User Agent ==
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.17) Gecko/2009122116 Firefox/3.0.17

    A possibility is to open the links via the right-click context menu or a middle-click in a new tab to make sure that Firefox sees them as regular links.

  • Can't synch my new iPod nano to itunes - the drop down menu is grayed out - what can I do?

    Can't synch my new ipod nano with itunes - the drop down menu is grayed... what am I doing wrong?

    Hello Bridgie\'s girl
    Try out the 5r’s section to resolve issues with your iPod nano not syncing. A simple restart my fix it or you may need to restore it all together.
    iPod nano (7th generation): Hardware troubleshooting
    http://support.apple.com/kb/TS4433
    Regards,
    -Norm G. 

  • Mobile drop down menu won't disappear once I have clicked one of the links in the drop down to take me to an anchor further down the page. I want the drop down to disappear upon clicking and scroll at the same time.

    Basically I have a drop down menu, which i have tried to create numerous times with different widgets available in muse or as freebies on the net.
    The menu within the drop down is a manual menu and each button links to an anchor on the page, so that when clicked the page scrolls to that anchor.
    My problems is that once I have clicked one of the links to go to the anchor further down the page the drop down remains. For the purpose of User Experience and fluidity across the mobile design i would like the drop down to disappear on click of the anchor link. Is this possible?
    Many thanks,
    Lew.

    Hi Brad,
    At the moment I have used an downloaded widget which utilises the acordian style to create the drop down. Here is a link to the Mobile version of the site - http://www.brainstormdesign.co.uk/phone/index.html
    Many thanks,
    Lew.

Maybe you are looking for

  • Advantages of New G/L activation

    Hi Experts, If i enable new G/L account what all benefit can get it ? regards Sanju M S Moderator: Please, avoid asking basic questions

  • Only one mac out of six has a speed problem

    I have two Mac Minis, a MacBook, two Blue and White G3s, and a Gigabit G4. Five of the computers return a 2.0 Mbps D/L speed when I run the ATT speedtest page for my DSL. The MacBook returns a 375 Kbps DL. Speedtests were run over a couple dozen time

  • Performance issues in modeling process chains

    Hi friends ,   what are the steps to be taken care in modeling a process chains.. Iam talking with respect to loading performance ... The design of process chian should not hinder the loading process--  plz help. my id is [email protected]   Regards,

  • Secure Part of a Form?

    Is there a way to secure part of a form.  A user needs a form that has two areas for entry, but after the first area is filled out, that area needs to be locked down while leaving the other area available to be filled out.

  • Cannot log out of aol e-mail using any method including trying to restart computer.

    Any help appreciated to get my e-mail to log out.