Command Link in the af:table Component can not Work in the Request Scope

Actually, the problem is that when we click on the command link, the action method #{overview.goToLinkAction} is not triggered.
Here is the codes of action method "goToLinkAction" on the backing bean:
public String goToLinkAction() {
String linkString = (String) AdfFacesContext.getCurrentInstance()
.getProcessScope().get("linkString");
System.out.println("Link String is: " + linkString);
return "";
The data object list "listOfTransefer" for af:table is composed first time when the page is initialized.
public void onPageLoad() {
this.listOfTransfers = composeListOfTransfers();
But when the commandlink or commandbutton is clicked to pose the form, this onPageLoad method is ignored by using PagePhaseListener:
public void beforePhase(PagePhaseEvent event) {
FacesPageLifecycleContext ctx =
(FacesPageLifecycleContext)event.getLifecycleContext();
if (event.getPhaseId() == Lifecycle.PREPARE_MODEL_ID && needReload()) {
bc = ctx.getBindingContainer();
onPageLoad();
bc = null;
public final boolean needReload() {
if (!isPostback())
return Boolean.TRUE;
else
return alwaysReload();
protected boolean isPostback() {
return Boolean.TRUE.equals(resolveExpression("#{adfFacesContext.postback}"));
That means the method "onPageLoad()" may not be invoked when the commandlink is clicked.
Is there any way to resolve this problem without changing the scope of the backing bean to "session"?
Your response will be very helpful for us.
Thanks

Hi,
if you implicitly say that this works if the managed bean is in session scope then the problems seems to me that one of your evaluation criterias is reset in the request scope, which I think most likely is the needReload() method. Did you add debug statements to the methods to see where exactly it gets stuck?
Frank

Similar Messages

  • Mistakenly opened all the folders in my library of music and the Finder stopped working. Now every time I restart the mac, all folders are reopened and can not work with the finder and tried killall-KILL Finder and nothing they reappear

    mistakenly opened all the folders in my library of music and the Finder stopped working.
    Now every time I restart the mac, all folders are reopened and can not work with the finder and tried killall-KILL Finder and nothing will reappear

    mistakenly opened all the folders in my library of music and the Finder stopped working.
    Now every time I restart the mac, all folders are reopened and can not work with the finder and tried killall-KILL Finder and nothing will reappear

  • Help!!! 8i&9i can not work at the same time

    I have installed 8i&9i in one Solaris8, and the port and listener name is diffendent, but now 8i&9i can not work at the same time.
    pls help me
    thanks anyway.
    John

    I have hard time digesting your concern.. I have 4 Different instance of oracle running on sun 2.8.
    8.0.5, 8.1.7, 9.i rel 1, 9i rel 2. No issues there...
    The simple things is to check is you .profile ( env variables)
    Example ...
    Check you .profile or .cshrc ( Depends on the SHELL You are using )
    Let say you have .profile
    THERE IS SETTING SUCH AS...
    ORACLE_SID
    ORACLE_HOME
    LD_LIBRARY_PATH
    PATH
    etc..
    You could try the following..
    log into to you sun box..
    do echo $ORACLE_SID this will give you current SID YOU have available to work with..
    so lets say if you have a 8i SID CALLED orcl8i
    example assume you have .cshrc
    setenv ORACLE_SID oracl8i
    setenv ORACLE_HOME /oracle8i_HOME_PATH...
    setenv LD_LIBRARY_PATH /oracle8i_HOME_PATH//lib: etc..
    etc...
    then
    you could validate by doing echo..
    echo $ORACLE_HOME
    echo $ORACLE_SID
    now try svrmgrl
    this should work..
    as far as 9i you no longer have svrmgrl..
    you have to apply the above method and log into the sqlplus.
    hope this help...
    If there is a specific question email me [email protected]
    good luck.

  • All of the sudden my keyboard is not working.  the trackpad is working, but i can't enter any letters/numbers?

    all of the sudden my keyboard is not working.  the trackpad is working, but i can't enter any letters/numbers?

    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.
    - Restore from backup. See:                                 
    iOS: How to back up           
    - Restore to factory settings/new iOS device.
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem. Likey a bad digitizer
    Apple Retail Store - Genius Bar          

  • DB Adaptor import table option does not work with the AS400 DB

    1. The DB Adaptor import table option does not work with the IBM i-series(AS/400) tables(Both in ESB and BPEL).
    2. Also I was not able to import tables from multiple databases into
    the same BPEL project.

    Both of these issues work in preview version. My earlier posting was based on beta version testing.

  • I have no sound for games in my iPad. I have tried the reset but it does not work. The speakers work as I have sound for music and videos.

    I have no sound for games in my iPad. I have tried the reset but it does not work. The speakers work as I have sound for music and videos.

    Try this  - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.) http://support.apple.com/kb/ht1430
    Check your settings. The iPads have a small switch on the right edge. http://support.apple.com/kb/ht1430 It can be used as a rotation lock to keep the screen from automatically reorienting itself as you move around, but you need to have the tablet’s settings configured properly. That same switch, right above the volume buttons, can also be set to function instead as a mute button to silence certain types of audio.
    If the switch is set to work as a mute button, you can change its purpose to “screen-rotation lock” by tapping the Settings icon on the home screen. On the Settings screen, tap General on the left side, and on the right side of the screen flick down to “Use Side Switch to.” Tap to select Lock Rotation or Mute to set the button’s function. Even if you set the side switch for your preferred use, you can still mute the Mini or lock the screen. Just double-click the Home button, and when the panel of apps appears along the bottom edge of the screen, flick the row from left to right with your finger. Tap the icon on the far left side of the row to either lock the iPad’s screen or mute the iPad’s alerts, notifications and sound effects. Music, podcasts and video are not muted unless you turn the volume all the way down.
    iPhone: No sound or distorted sound from speaker
    http://support.apple.com/kb/ts5180
    iPhone: Can’t hear through the receiver or speakers
    http://support.apple.com/kb/ts1630
    http://www.atreks.com/app-no-sound-on-ipad-4-%E2%80%93-what-to-do/
    To solve some sound problems, just follow these simple steps
    1. Go to Settings
    2. Tap on General
    3. Tap on Reset
    4. Tap on Reset All Settings
    What this effectively does is to reset some of your Settings to factory default. It’s not a complete removal of settings. It removes all of your preferences for Wi-Fi, Bluetooth, Do No Disturb, Notifications, General, Sounds, Brightness & Wallpaper and Privacy. It doesn’t affect your data. All of your email accounts will remain intact, as well as any SMS text or iMessages.
     Cheers, Tom

  • When apple will fix the problem of the Bluetooth. It is not working after the upgrade to7.03

    when apple will fix the problem of the Bluetooth. It is not working after the upgrade to7.03

    there is no problem with B/T and iOS7.0.3 in my case used on iPhone 5 and 4 in several environments including in car
    Do a reset
    restore with back up and if required as new

  • The auto lock function is not working on the iphone 3gs running ios 6...what should i do?

    the auto lock function is not working on the iphone 3gs running ios 6...what should i do?

    Temporary fix - turn off assistive touch if you happen to have it on.

  • Add Link option in ADF RichTextEditor component does not work

    Hi all,
    If I try to add a link in an ADF RichTextEditor component, it tries to open the link the domain of my application rather than trying to use the whole URL.
    For example, you can go to the RichTextEditor at [http://jdevadf.oracle.com/adf-richclient-demo/faces/components/richTextEditor.jspx] .
    Then, highlight some text, for example "world" and then click Add Link button and add "www.oracle.com". The link appears in the RichTextEditor. However, if you try to open the link, the link tries to open inside the domain of the application - in the above case, the URL is http://jdevadf.oracle.com/adf-richclient-demo/afr/www.oracle.com
    Any suggestions on how to fix this. Please help as this is a stopper for the release.
    Thank you and regards.

    Okay, I figured out the answer. You need to set the complete URL with the protocol.

  • I used the wrong password for my belkin wifi. Now that I know the correct password I can not get pass the unable to connect or join message. I have turned off all the options such as wifi and join and also put my touch to sleep.. but nothing seems to work

    I used the wrong password to join my new belkin wifi. Now that I have the correct password, I can not get the to the join screen with the space to type in the password. I continue to get the unable to join message.  I have put the touch to sleep and I have turned on and off the wifi and join options on the Network screen page.  Does anyone know how to get pass this block of the wrong password to a new page that will allow me to type in the correct password.  I see there is a option that asks if I want to reset the network settings.. is that what I should do? and what does it erase when I do that?  Thanks for any input anyone has.

    Yes.  Reset network settings. Head to Settings -> General -> Reset and tap Reset Network Settings.
    B-rock

  • Why the capture audio program can't work in the phone?

    Our capture audio program witch used MMA can run normally on the WTK simulator, but when we down the program into Motorola V303, it can�t work! The document says V303 support JSR-135, why it can�t capture audio by use MMA? The program also can�t work in Nokia 6600! Please give some suggestions!

    Hiii
        In main program you have dclared subscreen area.
    now First of all you have to declare a selection screen in your main program
    selection-screen begin of screen 1005 as subscreen.
    SELECT-OPTIONS s_bukrs1 for  v_bukrs.   "whatever you want in selection screen
    selection-screen end of screen 1005.
    IN PBO of your main screen (not in 1005) write
    call subscreen SUB1 including sy-repid '1005'.
    where SUB1 is your subscreen area name. And remember don't touch PBO or PAI of your 1005 screen, otherwise it will give you error. Yuo can just put text in layout of 1005 screen. but don't disturb other things.

  • I need to change a new Apple id on the iPad but  I can not sign out the old Apple id on my iPad because I forgot the password and sec

    I Need to change a new Apple id on the iPad but I can't sign out the old one because I forgot the password and the security question.

    Yes, you can just log out of iCloud on the mini (Settings>iCloud> Sign out) and nothing will be affected as long as the iPad is not restored from any backup after that. Though if you're giving her the iPad I would highly recommend moving the pictures to your iPad (via this page) so that the mini can be reset and set up under your daughters ID to avoid Activation Lock in the future.
    What to do before selling or giving away your iPhone, iPad, or iPod touch - Apple Support
    -Ethan

  • What does the message -  "i phone can not used because the apple mobile device is not started " mean

    what does the message -- "i phone can not be used because the apple mobile device is not started" mean

    Type "apple mobile device service" into the search bar at the top of this page by "Support" and read the resulting help articles.

  • I was on my iPod touch 4G and I was connected to the Internet and I can not go on the App Store. I can go on Safari though. Can you help me?

    I was on my iPod touch 4G iOS 6.1.5 and I cannot go on the App Store. I was connected to the Internet, and I can still go on Safari. Please help me!

    Can't connect to the iTunes Store

  • The apple mobile device is not working on the ipad. how can i fix it?

    My apple mobile device is not working on my ipad and my itunes dosn't work now. How can I fix it?

    Try:
    - iOS: Not responding or does not turn on
    - If not successful and you can't fully turn the iPod fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - If still not successful that indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.

Maybe you are looking for

  • STORAGE_PARAMETERS_WRONG_SET (EM-Memory exhausted) error in NW04

    Hello experts, We are having the following issue in our NW04 running on 32-bit Windows & Oracle 9.2 - report execution on the Portal, in BEx, or in RSRT frequently ends with the ST22 error STORAGE_PARAMETERS_WRONG_SET and text as copied below. At the

  • Address book - labels layout - other formats

    Hello Forum Does anyone know of a collection of other layouts for the address book label layouts. At the moment I only see Avery std, Avery A4 and DYMO. There's a whole set of labels of other label makers eg DECAdry that I don't find in the list. Nor

  • Songs by artist out of order

    Ok, so I've been using a program for months to manage my ID3 tags on my music. I like my ipod a lot, I use it everywhere I go, but recently after downloading 6 albums of a certain artist, I used the ID3 tag manager (like always.. never had a problem)

  • Cant pair IR remote with iMac

    I have the latest 27" iMac and can't pair my apple IR remote, I haveread a lot of the other posts regarding this "problem", I have no option to "pair" in the security settings that has been mentioned in other posts. I tried the IR remote i have for t

  • CONTROL CODE/CHAPTER ID

    HELLO EVERYONE, CAN SOMEONE EXPLAIN ME IN DETAIL THE DIFFERENCE BETWEEN CONTROL CODE AND CHAPTER ID?????? REGARDS, INDRANIL