Why does backbean's method be invoked when page navigation to other page

Hi, All
Why does backbean's method getBeans() be invoked
when current page(list.jsp) navigation to other page(edit.jsp)?
//client list.jsp
<h:dataTable id="items" value="#{userDelegate.beans}"
var="user" rowClasses="oddRow, evenRow" headerClass="tableHeader" >
//server backbean
public class CustomDelegate extends BaseDelegate{
public ListDataModel getBeans(){}
when list.jsp first initialize(first load), jsf invoke getBeans(), is right;
but when from list.jsp navigation to edit.jsp, jsf invoke getBeans() too!
what's the matter with it?

How are you invoking the navigation? With a simple h:outputLink which links to another page or with an h:commandLink/h:commandButton which naturally first invokes the backingbean?
If you're using h:outputLink, then this behaviour may not occur. You may review/redesign your JSF and bean logic.
If you're using UICommand link/button, then this is usual behaviour. (re)read the JSF lifecycle for an explanation. If you ONLY want to get the navigation case, then you can 1) replace the methodbinding from action or actionListener by just the navigation case string, or 2) add immediate="true" to the UICommand element.
This article might be of interest: http://balusc.xs4all.nl/srv/dev-jep-djl.html

Similar Messages

  • Why does a different number come up when i use imessage instead of text? my friends keep responding to my msg with 'who is this?' since ios 5 update.!!?

    Why does a different number come up when i messaging to other i phones? My friends keep responding to my imessage with 'who is this' and apparently it comes from another number-not my usual number like texts...

    Thanks. The number shown against 'phone' is not my number. But it is the number my friend showed me that was coming up when she got my mgs.... Still confused!

  • Why does SL automattically turn back on when I shut down?

    Why does my mac mini automatically restart when I shut down? I shut down via the normal methods (apple menu, Shut down...) and as the shut down process finishes the computer automatically restarts and goes to the log in screen, If I shut down via the log in screen it turn's off. What gives?
    Shouldn't it just shut down when I ask it to and not return me to the log in interface ?
    Help please.Thanks all.

    michael Kirwan wrote:
    Why does my mac mini automatically restart when I shut down?
    Seems that some process is calling it back.
    If I shut down via the log in screen it turn's off. What gives?
    Probably a process in your account and not systemwide.
    Go to System Preferences >> Accounts >> Login Items, and remove them. BShutdown and test. If not go to ~(yourHome)/Library/Contextual Menu Items and move whatever is there to the desktop. Test.
    EDIT: Also, unmount & disconnect all peripherals except Apple keyboard & mouse.
    -mj
    Message was edited by: macjack

  • Why does my FCX program quit suddenly when I try to capture from my camcorder?

    Why does my FCX program quit suddenly when I try to capture from my camcorder?
    When it opens it says "no codec found". I used HDV Apple intermediate codec 1080i60. What codec should I use?

    Do you mean Final Cut Express or FCP X?
    These are two different apps.
    Al

  • Why does iTunes no longer open automatically when iPad is connected?

    Why does iTunes no longer open automatically when iPad is connected? and iPhone as well?  Setting to "auto open" is selected, but iTunes will not open automatically. Problem seems to have begun with upgrade to Lion.

    Good luck getting an answer...I posted the same question a day ago.   I can only assume it's a glitch in iTunes 10.5.

  • Why does my iMac display go off when I am starting up or waking up my machine from sleep..

    Why does my iMac display go off when I am starting up or waking up my machine from sleep..?
    When my iMac goes to sleep I then later try to click the magic track pad or keyboard and it will usually then show the initial password entry login screen and then go off. The machine is still on but the display is black and will sometimes flash up the screen again if I press the magic track pad or keyboard but will then black out again..

    Well, there are many different reasons why it does this. It might shut off due to power voltage problems, system overheats, or there is a System Problem. The reason it might be hard to boot up is because your power button might not work properly or your system hard drive is damaged.
    <Email Edited by Host>

  • Why does InDesign CS6 forget my preferences when I re-start?

    Why does InDesign CS6 forget my preferences when I re-start? Not every time, but often. It's very frustrating to have to re-enter all my prefs. Every once in a while I start up InDesign CS6 and the new document dialog shows page sizes in po (I always use inches) and the prefs all seem to revert to default.

    Do you have a Windows PC and when shutting down, is Indesign still open? If so, this can result in a damaged preferences when still writing while Indesign is being terminated by the system.

  • HT1267 Why does itunes lock up my computer when I connect my iphone to it?

    Why does itunes lock up my computer when I connect my iphone?

    Hi Jimbob1985,
    If you are having issues with your devices not being recognized in iTunes on your Windows machine, you may find the following article helpful:
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/ts1538
    Regards,
    - Brenden

  • Why does the Java method ServletContext.getResourceAsStream return null with a know good path to an xsl file?

    iPLANET ISSUE
    Why does the Java method ServletContext.getResourceAsStream return null with a know good path to an xsl file?
    CODE
    ServletContext context = mpiCfg.getServletConfig().getServletContext();
    // Debugging
    out.print(context.getServerInfo());     // Get server info
    out.print(&#8220;getRealPath = &#8221; + context.getRealPath("WEB-INF/xsl/RedirectToAcs.xsl"));
    String strXslName = "RedirectToAcs.xsl";
    InputStream is = context.getResourceAsStream("WEB-INF/xsl/"+ strXslName);
    TRACE FROM THE LOG
    [26/Jul/2002:08:23:15] info ( 2868): [0][][ClearCommerceCcpaMpi][]getServerInfo() = iPlanet-WebServer-Enterprise/6.0, getRealPath() = C:\iPlanet\Servers\web-apps\ccpa\WEB-INF\xsl\RedirectToAcs.xsl
    [26/Jul/2002:08:23:15] info ( 2868): [0][][ClearCommerceCcpaMpi][]strXslName = RedirectToAcs.xsl, is = null
    [26/Jul/2002:08:23:15] info ( 2868): [1][][ClearCommerceCcpaMpi][16]ResourceAsStream is null
    [26/Jul/2002:08:23:15] info ( 2868): [1][][ClearCommerceCcpaMpi][30]Problem reading XSL file.
    DIRECTORY DUMP
    C:\iPlanet\Servers\web-apps\ccpa\WEB-INF\xsl>dir
    Volume in drive C has no label.
    Volume Serial Number is 9457-EBF4
    Directory of C:\iPlanet\Servers\web-apps\ccpa\WEB-INF\xsl
    07/22/2002 05:54p <DIR> .
    07/22/2002 05:54p <DIR> ..
    07/22/2002 05:54p 3,086 RedirectToAcs.xsl
    07/22/2002 05:54p 3,088 Response.xsl
    2 File(s) 6,174 bytes
    2 Dir(s) 1,797,405,696 bytes free

    I think there's supposed to be a forward slash before WEB-INF.
    InputStream is = context.getResourceAsStream("/WEB-INF/xsl/"+ strXslName);

  • Why does Safari quit (on my Mac) when opening PDF?

    I'm on a Mac OSX 10.5.8 on Safari. Each time I first want to open a PDF, my Safari crashes. The note says, "Problem caused by Acrobat plug-in". After relaunching Safari I can open PDF files. Help?

    Hey thanks for responding so quickly! I've downloaded AppDelete
    Forgive my ignorance - what is Reader X app and how can I find it?
    Tom Copeland
    Date: Fri, 1 Jul 2011 12:33:12 -0600
    From: [email protected]
    To: [email address deleted by host]
    Subject: Adobe Reader Why does Safari quit (on my Mac) when opening PDF?
    One of the things I have loved about Macs since switching in 2003 is:
    They tell you what went wrong when something does.
    The Acrobat plugin is corrupted.
    Solution:
    Download a trial of AppDelete. Install it and open it.
    Drag the Reader X app to the window.
    Delete everything it finds associated with Reader X and empty the trash. Re-download Reader X and re-install it.
    It will install new support and preference files and plugins. and things should go more smoothly.

  • Why does all alphabets change to capital when converting pdf to word using Adobe Acrobat XI

    Why does all alphabets change to capital when converting pdf to word using Adobe Acrobat XI

    Word 2013 uses its own pdf creator engine as far as I know. The step I performed were:
    1 - In the save settings I told word to embed fonts (sorry for the language, I have the Italian client)
    2 - Export from Word -> Save As -> .pdf adding also the table of contents/index
    N.B. I cannot use PDF/A, and in any case it doesn't embed the font
    A working solution is to use Acrobat XI to convert it or print with Adobe PDF printer, results:
    The problems are 2:
    1 - It doesn't create any bookmark and doesn't create links from the table of images to the linked images
    2 - Images, also with the preset "High Quality Printing" customized using "No compression", are really ugly and if you zoom a bit more than 100% they totally be s**t. It wasn't that way with PDF created by word.
    In the end, or I find they way to open the pdf created by word and embedd the missing font, or I find a way to make Acrobat XI creating bookmarks from the word file.
    Suggestion?

  • Why does my iPad show no sim when turning on cellular data?

    Why does my iPad show no sim when turning on cellular data?

    Check the right and left sides of your iPad for a small hole the size of a paper clip (remove your smart cover if you have one).  If you see this, then you have the wifi + cellular model.  If you do, use a paper clip to remove the sim tray (or the sim removal tool that came with your iPad if you have it) as shown in the image below. 
    If the tray has a sim card in it, push the sim tray back in to re-seat it in the side of the iPad, then turn it on to see if the error message re-appears.  If it re-appears, take it to a Verizon store and have them give you a new sim card.
    If you have a sim tray but it is empty, you'll need to go to a Verizon store to get a sim card for it.

  • Why does my screen come up dark when I press the camera icon?

    Why does my screen come up dark when I press the Camera icon?  I can neither take pictures nor look at the photos I have saved.

    Doulbe tab the home key to see the task bar.  Touch and hold any of those icons until they jiggle, then delete them by touching the minus sign.   Then reboot the pad by holding the sleep and home buttons until the apple logo appears.  Ignore the red slider.
    You either have another app open that is using the camera, or you just have too much stuff in memory.  The reset process should clear it up.

  • Why does the elements 13 change resolution when going into the editor -- it is huge and unusable

    why does the elements 13 change resolution when going into the editor? -- it is huge and unusable

    Many mysteries...
    Which is your OS version ?
    Your screen is 1920 by 1080 pixels.
    The problem appeared after having worked normally.
    When we select a picture from the organizer (album) and click on the edit button.  The editor software changes the entire computer resolution from 1920 x 1080 to   640 x 480 (very unusable).
    That's not clear for me: did you click on the 'Edit' button on the bottom right part of the organizer, or did you use the menu or the right click popup menu to open the editor? In the second case, you are in the editor workspace.
    We tried right clicking on the Elements 13 icon, select properties and under compatibility we made sure that "run in 640 x 480 screen resolution" was de-selected, and it was.    Cannot find any properties window for the editor?  
    The editor has its properties in the 'Edit/preferences' menu, but there is nothing about resolution there.
    Just to be sure : when you are in the organizer with the left 'Folders' panel shown, you highlight one of those pictures to edit. Then you right click and choose to "go to folder". Do the images are shown as 'offline' ? If that is the case, the original are on an external drive which is not connected, and what you are seeing is a 'preview' copy on your computer with 640 x 480 resolution.

  • Why does Safari say "Blocked Plug-in" when I want a video?

    Why does Safari say "Blocked Plug-in" when I want a video?

    When you have installed the latest version of Flash, relaunch Safari and test.
    If you're getting a "blocked plug-in" error, then in System Preferences… ▹ Flash Player ▹ Advanced
    click Check Now. Quit and relaunch your browser.

Maybe you are looking for

  • Can not use exported data

    When I transport tables from mssql2000 to oracle9i, using the export tool provided by mssql, I got a problem: Firstly, I can not select data from the exported table: the tables are exported successfully, but I can not select them in Oracle! It just r

  • DRQ: document date column vendor statement

    Hello! We request to implement to add "document date" column on "vendor statement" report. Now, even if it is "checked" in settings and it is visible on "supplier liabilities ageing" (screenshot z1) [z1|http://img130.imageshack.us/img130/2002/6122759

  • How to put html file into a canevas?

    How to put html file into a canevas?

  • Ipod shuffle freezes up itunes and I can't restore it

    I recently replaced the hard drive on my computer and reinstalled itunes. I have several children with ipods, so they have all plugged in their ipods and synced it with the new version of itunes and the "new" library since it was reinstalled. Two of

  • How can I get iMessage to recognize my phone number AND my email address?

    I used to get imessages using my phone number.  Then my iphone screen broke and I ended up buying a new one.  Now when I restored my iphone, the imessaging only recognizes my email address (the one connected to my apple id) and not the phone number.