Can't get actionListener to work. Help please.

in .jsp file
          <TD><h:commandButton id="mwhatsnew" type="submit" value="mwhatsnew"  actionListener="#{MenuBean.getPostReview2}" immediate="true" image="pages/images/whatsnew.jpg"/></TD>
in MenuBean.getPostReview2
and postReview string is "postreview"
        public String getPostReview2(ActionEvent event) {
                return postReview;
        }in faces-config.xml
  <navigation-rule>
   <from-view-id>/pages/WhatsNew.jsp</from-view-id>
    <navigation-case>
      <from-action>#{UI.Navigation.MenuBean.getPostReview2}</from-action>
     <from-outcome>postreview</from-outcome>
     <to-view-id>/pages/PostReview.jsp</to-view-id>
   </navigation-case>
  </navigation-rule>     
<managed-bean>
  <managed-bean-name>MenuBean</managed-bean-name>
  <managed-bean-class>UI.Navigation.MenuBean</managed-bean-class>
  <managed-bean-scope>request</managed-bean-scope>
</managed-bean>I either get nothing or I get the following depending on how I set UI.Navigation.MenuBean for the .jsp or faces-config.xml.
javax.servlet.ServletException: getPostReview2
     javax.faces.webapp.FacesServlet.service(FacesServlet.java:209)
root cause
javax.faces.el.MethodNotFoundException: getPostReview2The rest of the code doesn't do anything except set and get, and I don't use those methods.

Thank you so much for the reply. I see now. I have a HTMLcommand button and I would like it to change images when I click, but I couldn't get the actionlistener to work. So the actionlistener has to return void, but then how do you do a <from-action> followed by a <from-outcome> like
<from-action>executedMethod</from-action>
          <from-outcome>success</from-outcome>

Similar Messages

  • Hello, all of a sudden without apparent reason I can't get "MAIL" to function. It starts up but I get the color wheel turning like crazy and never ends. I've tried restarting and I still can't get it to work. PLEASE HEEELP!?

    hello, all of a sudden without apparent reason I can't get "MAIL" to function. It starts up but I get the color wheel turning like crazy and never ends. I've tried restarting and I still can't get it to work. PLEASE HEEELP!?

    In the Desktop Manager > Sync > Configuration, make sure the calendar options are set to override Outlook.
    Set it also to notify you of the changes, so you will have to approve any changes.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • When my itunes was updating our kid cacelled it and now i have no tiunes at all how can i get my itunes back HELP PLEASE ?

    Hi when i was updating my itunes on my laptop our kid cacelled it and now i have no itunes any where .how can i get my itunes back HELP PLEASE ?

    Try updating your iTunes using an iTunesSetup.exe (or iTunes64Setup.exe) installer file downloaded from the Apple website:
    http://www.apple.com/itunes/download/

  • After resetting my Airport Extreme, I can't get it to work! Please help!

    Hey everyone!
    I have an airport extreme base station (wireless n-gigabit ethernet) and awhile ago it stopped working on me. I simply reset my aebs and whenever I open airport utility and try and configure my aebs, it tells me I have an error and can't connect to the aebs. I have comcast internet service and my aebs is connected to my router. It's been working successfully for about a couple months and now it's stopped working. : (
    I've tried this both in manual setup and the regular setup. I've gone through the trouble of doing a hard reset (pressing the reset button until it flashes amber), I've unplugged the power while holding the reset button, connecting my laptop with the aebs via ethernet, making sure everything is updated (and it is), resetting the router, and even reinstalled my airport utility disk.
    Please help! Any suggestions would be greatly appreciated!

    I also tried setting up my aebs on my neighbor's internet and it worked like a charm! Setting up aebs was as easy as when it first worked. Now if only I can get it to work on my internet...

  • Trying to create HTML5 Video Playlist in Edge Animate - I can't get it to work. Please help!?!?

    Hi All,
    I am creating an interactive site through Edge Animate and am in the process of trying to create a HTML 5 Video Playlist to function within Edge Animate.
    Current Process - Example:
    I have 3 videos that need to be played on a certain page.
    I created a symbol and dragged the videos to the stage and hidden them within that symbol's timeline.
    I then use thumbnail images in a side playlist to either .remove(); .hide(); a video and .show(); the next.
    However when I do a hide / show option, the video continue to plays in the background if I don't also create an if/else statement to pause it.
    My concern with pausing it is that it will continue to load and dramatically slow down the load time of the site.
    References:
    I found this which looks very helpful but don't know how to add this to edge composition.
    http://demosthenes.info/blog/909/Create-An-Automatic-HTML5-Video-Playlist
    Please help or put me in the right direction to create a playlist would be hugely... AMAZINGLY.. helpful.
    Thanks,
    Jason

    Hi Joe,
    Thank you so much for your help on this one. It is hugely appreciated!!
    I have been working frantically to implement your solution to get this working. I used the 'change src' method.
    I have added all my code below in case anyone wants the solution in the future.
    Could you please help below as I am now totally stuck with the <track> and 'event listener issues' !!
    Issue #1:
    I am having major problems with loading the 'closed captions' track element.
    Everything I click for the video to change source / to the next video, the closed caption track adds to the video and doesn't 'unload' the previous one. You then end up with multiple different subtitle tracks on the video screen
    - The closed captions / subtitles are not showing up in Google Chrome either?
    Issue #2:
    I can't get the event listener in edge animate to work for 'playing' and 'ended'. Can you please help and point me in the correct direction??
    Screenshot (showing what happens after the 3rd video is loaded)
    This is the Code I am currently using in the "Creation Complete" of this Symbol.
    SET UP OF VIDEO PLAYER AND FIRST VIDEO
    var vid = sym.$("video_Chapter5");
    vid.html('<video id="ch5video" width="100%" height="auto" margin= "0 auto"  \
    position ="relative"  poster="video/video1_poster.jpg"  controls="controls" </video> \
    <source id ="videomp4src" src="video/Video_mp4_1.mp4" type="video/mp4" </source> \
    <source id ="videoogvsrc" src="video/Video_ogv_1.ogg" type="video/ogv" </source> \
    <source id ="videowebmsrc" src="video/Video_webm_1.ogg" type="video/webm" </source> \
    <track id ="trackvtt" kind="subtitles" src="video/Video_1_Script.vtt" srclang="en" label="English" hidden </track>');
    VARIABLE IDS
    $(document).ready(function() {
      var videoID = 'ch5video';
      var sourceID1 = 'videomp4src';
      var sourceID2 = 'videoogvsrc';
      var sourceID3 = 'videowebmsrc';
      var trackID = 'trackvtt';
      var vid1mp4 = 'video/Video_mp4_1.mp4';
      var vid2mp4 = 'video/Video_mp4_2.mp4';
      var vid3mp4 = 'video/Video_mp4_3.mp4';
      var vid4mp4 = 'video/Video_mp4_4.mp4';
      var vid1ogv = 'video/Video_ogv_1.ogv';
      var vid2ogv = 'video/Video_ogv_2.ogv';
      var vid3ogv = 'video/Video_ogv_3.ogv';
      var vid4ogv = 'video/Video_ogv_4.ogv';
      var vid1webm = 'video/Video_webm_1.webm';
      var vid2webm = 'video/Video_webm_2.webm';
      var vid3webm = 'video/Video_webm_3.webm';
      var vid4webm = 'video/Video_webm_4.webm';
      var script1vtt = 'video/Video_1_Script.vtt';
      var script2vtt = 'video/Video_2_Script.vtt'; 
      var script3srt = 'video/Video_3_Script.vtt'; 
      var script4vtt = 'video/Video_4_Script.vtt';   
      var newposter1 = 'video/video1_poster.jpg';
      var newposter2 = 'video/video2_poster.jpg';
      var newposter3 = 'video/video3_poster.jpg';
      var newposter4 = 'video/video4_poster.jpg';
    VIDEO PLAYLIST THUMBNAIL BUTTONS - TO CHANGE VIDEO IN PLAYER
      sym.$('btn1').click(function(event) {
      sym.$('#'+videoID).get(0).pause();
      sym.$('#'+sourceID1).attr('src', vid1mp4);
      sym.$('#'+sourceID2).attr('src', vid1ogv);
      sym.$('#'+sourceID3).attr('src', vid1webm);
      sym.$('#'+trackID).attr('src', script1vtt);
      sym.$('#'+videoID).get(0).load();
      sym.$('#'+videoID).attr('poster', newposter1);
      sym.$('#'+videoID).get(0).play();  
      sym.$('btn2').click(function(event) {
      sym.$('#'+videoID).get(0).pause();
      sym.$('#'+sourceID1).attr('src', vid2mp4);
      sym.$('#'+sourceID2).attr('src', vid2ogv);
      sym.$('#'+sourceID3).attr('src', vid2webm);
      sym.$('#'+trackID).attr('src', script2vtt);
      sym.$('#'+videoID).get(0).load();
      sym.$('#'+trackID).load();
      sym.$('#'+videoID).attr('poster', newposter2);
      sym.$('#'+videoID).get(0).play();  
      sym.$('btn3').click(function(event) {
      sym.$('#'+videoID).get(0).pause();
      sym.$('#'+sourceID1).attr('src', vid3mp4); 
      sym.$('#'+sourceID2).attr('src', vid3ogv); 
      sym.$('#'+sourceID3).attr('src', vid3webm);
      sym.$('#'+trackID).attr('src', script3srt);
      sym.$('#'+videoID).get(0).load();
      sym.$('#'+videoID).attr('poster', newposter3);
      sym.$('#'+videoID).get(0).play();
      sym.$('btn4').click(function(event) {
      sym.$('#'+videoID).get(0).pause();
      sym.$('#'+sourceID1).attr('src', vid4mp4);
      sym.$('#'+sourceID2).attr('src', vid4ogv);
      sym.$('#'+sourceID3).attr('src', vid4webm);
      sym.$('#'+trackID).attr('src', script4vtt);  
      sym.$('#'+videoID).get(0).load();
      sym.$('#'+videoID).attr('poster', newposter4);
      sym.$('#'+videoID).get(0).play(); 
    EVENT LISTENER FOR PLAYING - TO CREAT BACKGROUND /LIGHT BOX SCREEN
    sym.$('#'+videoID).get(0).addEventListener('playing', function () {
    sym.getSymbol("backscreen_Ch5").$("backscreen").show();
    sym.getSymbol("backscreen_Ch5").play("play");
    EVENT LISTENER FOR ENDED - TO PLAY NEXT VIDEO IN SERIES
    sym.$('#'+videoID).get(0).addEventListener('ended', function () {
    //code to play next video

  • Can't get titles to work-Help!!!!!

    I am using iMovie 5.0.2 and Im having trouble with my titles.
    When I try to insert my titles to my timeline it will not load as it was expected to.
    If I create the title in the text space provided (ie: My Titles) and then preview it, it works fine in the main viewer window - but when I "Grab" the "T" in the title window and drag it to the timeline, it appears very briefly (about 0.1 of a second) and then disappears !
    The same thing is happening with my transitions - I tried to use the slow frame FX and the clip accepts it for an instant, then the clip reverts back to it's normal speed again!
    Can anyone help please?
    iMac G5   Mac OS X (10.4.3)  

    Hi guys, thanks for the responses,
    In answer to your questions:
    I've got over 100Gb still available on the hard drive, and it's formatted as Mac OSX Extended (Journaled) . . . . thanks for that reminder, always good to check!
    I'm holding the "T" until it gets onto the timeline, then letting it go! - But as I mentioned, it doesn't even stay there . . . . it simply does not want to sit on the timeline at all!
    I don't get a chance to see the red bar at the bottom!
    Looks to me like a bug or something . . . . I was looking for the cache files in the package contents/info of iMovie, so I could import the clips from my previous movie, . . . . . guess what . . . . the cache file with the .dv clips isn't there!
    I may try re-installing iMovie . . . . is it on the DVD which came with my iMac G5 ?
    Thanx
    iMac G5   Mac OS X (10.4.3)  

  • Crazy gap I can't get rid of! help - please??

    Hi - my first time on here (well, needing to be on here..!).
    I'm having a heck of a time. I've just been hand-coding a fairly
    simple site - which I've now finally gotten around to updating.
    The site is:
    http://www.arcfoto.com
    I'm trying to set it up as a fixed (un-resizeable) console
    window with a flexible content pane. So - I've been using
    dreamweaver to set it all up. But the problem is that I've got this
    really persistent gap that I can't get rid of. It's spans the left
    and top sides. (about 10px of white) - in the version you see if
    you visit the URL - I've had to add gap to the bottom and right -
    just to not make it look TOO WEIRD. But I'd really really like to
    get rid of it.
    The basic architecture is the following: Javascript window
    containing tables to organize content. Nothing special - just
    rollovers. A friend suggested I could add CSS commands to get rid
    of it. I've been doing a fair bit of messing around with any and
    all CSS parameters I could.... but nothing seems to really make a
    difference. I'm thinking it's got something to do with the
    javascript window definition for the window on the entry page
    (previous page). But I really have no idea. I'm HOPING, PRAYING -
    that someone here might have a suggestion for a quick fix - or a
    fix of any kind...! I've been struggling with this for WEEKS
    now...!
    Thanks.

    Martin?
    Your PNG files are so huge because you have not properly
    exported them from
    FW. Just export as JPG images - they'll be fine if you don't
    OVER optimize
    them, and they'll be MUCH smaller than these are now.
    This is a bit hinky -
    .style1 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    color: #D1CED0;
    border-top: 0;
    border-left: 0;
    border: 0;
    body {
    background-color: #666666;
    border-left: 0;
    border: 0;
    border-top: 0;
    border-top-style: outset;
    margin-left: 0px;
    margin-top: 0px;
    try this -
    .style1 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    color: #D1CED0;
    border-width:0;
    body {
    background-color: #666666;
    border-width: 0;
    margin-left: 0;
    margin-top: 0;
    But the big question is: will it work for me?
    It could.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "arcfoto2" <[email protected]> wrote in
    message
    news:[email protected]...
    > Thanks Martin...! That was certainly very gentlemanly of
    you. I'm not sure
    > how
    > my response to the previous got in ahead of yours. No
    doubt you started
    > the
    > reply before I did mine or something.
    >
    > I felt I really wanted to try going with PNG because in
    last years I'd
    > been
    > having lots of problems with JPGs - artifacts, sure...
    but also color
    > drift and
    > averaging - causing noticeable differences between text
    block backgrounds
    > and
    > the bg itself, etc... but I figured my site was very
    minimal, very
    > sparse... so
    > PNGs were no HUGE sin, considering many people seem to
    have loads of SWFs
    > all
    > over theirs... but that's here nor there...
    >
    > Thanks.
    >
    > This is the CSS code I ended up with:
    >
    > .style1 {
    > font-family: Arial, Helvetica, sans-serif;
    > font-weight: bold;
    > color: #D1CED0;
    > border-top: 0;
    > border-left: 0;
    > border: 0;
    > }
    > body {
    > background-color: #666666;
    > border-left: 0;
    > border: 0;
    > border-top: 0;
    > border-top-style: outset;
    > margin-left: 0px;
    > margin-top: 0px;
    > }
    >
    > Suppose I did it twice, huh? I'm assuming the 'body' one
    can come out.
    >
    >
    > ALSO - I'm sure I should really post a separate topic
    for this - but maybe
    > it'll help cut down on the overall number of topics if I
    post it here... :
    >
    > Not sure if you noticed my redundant links. I have a set
    of nav links for
    > rollover (since I'm REALLY finicky about typography -
    has to be myriad)
    > and
    > another set of TEXT links which are being pushed out of
    the frame (not
    > supposed
    > to be visible).
    >
    > The reason I'm doing this is for bot-cataloging - since
    it's my
    > understanding
    > that google, et. al. does not penetrate image links.
    Only text - from what
    > I
    > understand. So - yes, well... it's an SEO trick. I'll
    ask you to suspend
    > moral
    > judgement. But the big question is: will it work for me?
    >
    > thanks again,
    > Jonathan
    >

  • New ipad3, just getting started, trying to get on facetime but when I try to set up a message appears saying my email address is already in use. I am now stuck and I can't get any further! Help please!

    New ipad3,just getting started,trying to get on FaceTime but when I try to set up a message appears saying my email address is already in use. I can not get any further, help please

    Millietrixie-
    Are you trying to call yourself to test FaceTime?  If so, you must have a second E-Mail address registered with your Apple ID.  In other words, there must be a different E-Mail address on each unit.
    Fred

  • I had downloaded "free ride games" and it automatically put a "CONDUIT ENGINE" on my computer and now every time I use anything on my computer its on desk top and I CAN'T get rid of it HELP PLEASE and Thank You

    i can't get rid of this "conduit engine" on my desk top and it is driving me nuts........................please help

    Hello Dave69X, try with ClamXav : http://www.clamxav.com/download.php
    thank you

  • Can't get JDK to work! Please help!

    Hi, I have downloaded the JDK1.3.1 many times and I have try installing it into different computers at home but none of them work. Is there like an online thing where I can compile my code and run it. Because at home it seems not to work but in school it's fine and I really need to practice alot at home

    What is your OS platform used? Check out the URL below:
    http://java.sun.com/docs/books/tutorial/getStarted/cupojava/index.html
    Good luck!

  • Can't get PayPal to work. Please help.

    First I go to iTunes Store => My Account Info => Edit Payment Options => Click Paypal Bubble => Then Continue, and prompts me to a paypal site where I have "have successfully created a Billing Agreement."
    Than when I click "Continue to iTunes Store" it does absolutely nothing. Is there anyway I can pay purchases with paypal?
    Or is there even a way I can get a digital gift certificate thats not done through iTunes as that would produce the same issue? Thank you.

    Yet another user having same problem. Can't set up PayPal payment in the web version of the store. In Windows desktop iTunes version of my account view, there is the PayPal choice, but when I pick it I am directed to my BROWSER, where I "successfully" link to PayPal, and then I am directed back to the BROWSER version of the Apple store, where...I cannot pay with PayPal. And back in the desktop version of iTunes, my account information is the same as before...NOT set up for PayPal. Hopeless?

  • Complex rollover - I can't get this to work. Please help!

    I tired this tutorial several times over:
    http://www.layersmagazine.com/flash-button-animation.html
    I realize this is AS2. I tried it in using that as well as AS3 (I'm TOTALLY new to this).
    Here's the fla file I ended up with:
    http://aaronpenton.net/fla.html
    When I preview the movie, it's empty.
    Firstly - can anyone help me as to why?
    Secondly, how can/should I achieve this with AS3? I just want to be able to mouse over and have the text shift right and an image appear to the left, as in the tut.
    ANy help greatly appreciated.
    Thank you.

    First, you need to have something on the stage in order for something to appear in your file when you play it.  So when you open the file, drag an instance of the completed button movieclip onto the stage.
    Next, in your button movieclip, on the layer you named hit area, you can see in the first frame where you added code into the first frame.  That type of code needs to be attached to the button and not placed in the keyframe.  So copy/cut it and then click on the button itself and then paste that code into the Actions panel.  If you do not see the code symbol in the timeline you have done it correctly.  That should be all you need to do.
    Just as a note: Where you originally had that code is the better place for code because it is easy to locate, it's just that that type of coding is designed specifically for placing on objects.  To place the code where you did, you would give your button an instance name (for example, "myButton") in the properties panel and then assign somewhat similar code to it, such as...
    myButton.onRollOver = function(){
         gotoAndPlay("s1");
    myButton.onRollOut = function(){
         gotoAndPlay("s2");
    myButton.onRelease = function(){
         getURL(...etc);

  • Can't get game to work HELP

    I down loaded SAT Prep Mathematics 2008 last night and sync it all onto my I pod that night to play but when i clicked on it to play, it came up with "this game cannot be played" and something about, connect your ipod back to itunes and reinstall the game. So i did but it still kept coming up with the same Error screen, and so i went on to this website and looked through all the Q and A about ipod games and tried everything and nothing worked.
    please help.
    no idea   Windows XP  

    I am also facing the same problem as somthing
    with "Texas.."
    I sync it
    I find it on my Ipod nano
    but when starting playing the message appears: "this game cannot be launched"
    I re-sync many times but
    it is unsuccessfull
    PLEASE HELP ME :-(((((

  • I STILL can't get Bridge to work, Help

    I have had Photoshop CS2 installed and activated for months. However, I have never gotten Bridge to work.
    I get the apparently common, "Adobe Bridge cannot be used at this time because of licensing restrictions. You must have installed and launched at least one other Adobe application to use Adobe Bridge." I have consulted TechNote 331871, and have tried its suggestions. Solution 1, Photoshop CS2 IS activated. Solution 2, everything IS in its default location. Solution 3, removing and reinstalling Bridge doesn't help. Solution 5, I have removed and reinstalled Photoshop CS2 twice. (I have not removed the activation)
    Which leaves Solution 4. Whenever I try to rerun the Common File Installer, I get "Setup has detected that a newer version of this product is already installed. Setup will now terminate.", and it does.
    I have had uninstalled Adobe Premiere Elements 4, thinking that might be the problem. I also have Elements 3.0 and 6.0 installed. I have tried uninstalling 6.0 to no avail.
    Anyone have any idea what may be going on, and what I might do next?

    Have you seen the topic about 2/3 down this page "Premiere Elements has broken Bridge"? May provide some clues.

  • G5 Tower, replaced hard drive and now can not get it to work- HELP

    My G5 (tower) crashed hard & after a trip to the Genius Bar at my local Mac Store I found out the hard drive was dieing.
    The Mac person fixed some problem files & told that I could replace the hard drive. I bought a 350 GB SATA 3.5in hard drive and placed it in the second slot in the tower. I then used time machine & backed up the hard drive to the second slot (after I backed up on an external hard drive- just to be safe).
    I removed the hard drives & placed the new one in the A slot. When I turned on the computer I had the ? folder. I turned off & restarted holding the option key and got two folders, one with a turn back arrow & a rt facing arrow. Clicked either did nothing. Does any1 know what I am doing wrong?? If so please let me know. Much appreciated.

    Did you reset your PRAM?
    command-option- p-r
    Hold down all four keys as the mac starts up and wait for the chimes to ring twice. Then let the machine start up as usual.
    If it works be sure to check your date and time settings (the system will tell you)
    You can also start up from your system disk holding down the c key as it starts-- go past the language screen and open disk utilities from the menu bar run disk repair and then repair permissions. Set your startup disk to your new drive.
    Hopefully that will take care of the problem.

Maybe you are looking for

  • How can I get help to fix I messaging on my I pod touch

    Hi this is Kaitlyn now if I sign in to messaging will it work or not let me sign in

  • Navigation iView source

    Hi all, I know the position of SDN and this kind of question shouldn't exist. But with the time pressure, we need to implement something pretty the same as Navigation iView but with some extra functionalities, for example display html files stored in

  • Invoice cancelled but not closed

    Hi there, I canceled an invoice using vf11. The S1  canceling document was created but not released to finance. The next day when I tried to release into FI using vf02 I encountered the below message: "Post.Date is infer.to the date of the last poste

  • Changing App Availability Date To A Later Time After Aproval

    If I get an app approved on July 30, 2013 and about 100 people buy it for 99 cents.  Can I change the availability date to a later date and will they have to pay for it again or will the app still be saved on their account.

  • Numerous Problems with New TV@nywhere Master

    Greetings all.  A few days ago, I purchased a TV@nywhere Master card.  I own two MSI mainboards and an MSI video card that I think are great, but so far this product has been nothing but junk.  I am having numerous problems with it that I have not be