Web DynPro Behaviour when the Reload button is pressed

Hi,
I'd like to know what is the behaviour of the Web DynPro when an user presses the Reload button on the browser.
I'm asking this because I designed a WDP that has a view with some input fields, two button and a table to show the result of a search operation based on the content of the input fields.
Some of the input fields are text inputs and others are dropdown list controls. In some cases, e.g. after having performed a search, if I hit the Reload button the content of one dropdown list was shown in another dropdown list.
The dropdown lists and the other input fields are bound to some context attributes and nodes.
I'm trying to figure out why the WDP is kept in this 'dirty state' when the page is reloaded.
Thanks,
Pietro.

Hi Pietro,
a reload of the Browser causes every time a reload of WDJ-Application. That means the content in the wdDoInit-Method is executed and the UI-Input elements are in initial state.
If you want to store the selection in the Input fields and droodowns the only way is to store that in the session.
Here is an example to do that.
WDScopeUtil.put(WDScopeType.CLIENTSESSION_SCOPE, "ABC", "someValue");
Than you have to read this in the init-Methods.
WDScopeUtil.get(WDScopeType.CLIENTSESSION_SCOPE, "ABC");
Regards
Gunter

Similar Messages

  • IPhone 4s Voice Memo App has 5 second delay when the record button is pressed. When it starts recording, it goes from 0 seconds to 5 or so seconds recorded. This happens randomly and often and sometimes has the delay but starts at zero. Solution Anyone?

    After iOS 7 update, my iPhone 4s Voice Memo App has 5 second delay when the record button is pressed. When it starts recording, it goes from 0 seconds to 5 or so seconds that it shows has recorded. This happens randomly and often, sometimes it will have the 5+ second delay but starts recording at zero seconds. Besides the delay it has been working fine as far as saving and playback is concerned. I have plenty of storage on the phone itself and it NEVER had this problem before I updated to iOS 7. I've reset the phone a couple times by holding down the power and home buttons at the same time. The reason I have an issue with this is that I'm always recording song ideas, melodies, and scratch takes; what I'm saying is when I come up with an idea I need to be able to know that when I hit record it will start right then so I don't forget anything that has just popped in my mind.
    Does anyone have a solution or suggestion?
    Thanks

    After iOS 7 update, my iPhone 4s Voice Memo App has 5 second delay when the record button is pressed. When it starts recording, it goes from 0 seconds to 5 or so seconds that it shows has recorded. This happens randomly and often, sometimes it will have the 5+ second delay but starts recording at zero seconds. Besides the delay it has been working fine as far as saving and playback is concerned. I have plenty of storage on the phone itself and it NEVER had this problem before I updated to iOS 7. I've reset the phone a couple times by holding down the power and home buttons at the same time. The reason I have an issue with this is that I'm always recording song ideas, melodies, and scratch takes; what I'm saying is when I come up with an idea I need to be able to know that when I hit record it will start right then so I don't forget anything that has just popped in my mind.
    Does anyone have a solution or suggestion?
    Thanks

  • TS1365 My Macbook Pro 17" 2.44ghz all of a sudden one day decided to not boot up. When the power button is pressed the sleep light in the front on the latch release turns on and there is a small running sound but it never boots up and the screen never lig

    My Macbook Pro 17" 2.44ghz all of a sudden one day decided to not boot up. When the power button is pressed the sleep light in the front on the latch release turns on and there is a small running sound but it never boots up and the screen never lights up. Anyone else have this problem? Any ideas?
    I'd love to repair it but not if it'll cost 500 bucks or more to replace the logicboard.
    I appreciate any help
    Michael

    Lao Bo,
    yes, you can locate and copy a file from your HD to a USB key using UNIX commands. If you know the exact name of the file which you’re trying to locate, try this:
    find / -iname filename -print
    This command will search your entire internal disk for the particular filename. If you know that it’s within a particular user account, then you can save search time with this variation:
    find /Users/username -iname filename -print
    Either variation of this command will print all files found which have the given filename. Presuming that you’re able to identify the correct file, you can copy it to a USB key using the command
    cp -p filename_returned_by_find /Volumes/USB_volume
    If you’re not sure which volume name your USB key has, this command will show you what the possibilities are:
    ls /Volumes
    Please let me know if you have any trouble with these commands.

  • Why does Satellite Pro A300 not start when the power button is pressed?

    Suddenly my new Satellite Pro A300 will not start correctly when the power button is pressed. The situation is this: When I press the power button the Toshiba opening picture (Leading Innovation) appears and disappers quickly. Then there is a black screen for about 30 seconds. Then there is a rectangular frame with the text Microsoft Corporation underneath. And nothing happens however long I wait.
    In order to get on with the starting proces I then shut down the computer by pressing down the power button until the computer stops. ("The hard way to shut down")
    Now I press the power button shortly to turn on the computer. Then the computer starts normally with the Toshiba opening picture and after a few seconds I am asked to open the computer in safe mode or in normal mode. I now choose to open in normal mode and the computer opens normally and is ready to work.
    What shall I do to get a normal start procedure?

    When notebook starts normally (after choosing normal mode) shut down your notebook properly using START > Shut down option. Next start should be normal.
    When the OS is switched down on irregular way you will be always asked how to start it again (safe or normal mode).
    The same happen on my Satellite A300.

  • My Wireless mac keypad has stopped properly working. The keys sometime do not correspond to the result, or a a simultaneous duel actio, for example when the delete button is pressed the. Ursor does go backwards, but it also turns the sound up. Any ideas?

    My Wireless mac keypad has stopped properly working. The keys sometime do not correspond to the result, or a a simultaneous duel actio, for example when the delete button is pressed the. Ursor does go backwards, but it also turns the sound up. The keyboard is properly connected to the computer, and the battery life is up in the nineties.
    Help please !!!!

    Hi, thankyou for your response. Can I just confirm that you mean turning the computer on and off again, or re-booting the whole system. If it is the first I have already turned the system on and off, with no luck.
    Regards

  • Fire a left click when the right button is pressed

    I am working on a small program with a text area and mouse functionality. I have all my listeners in place but I need one additional feature and I am unsure how to go about implementing it. I want to be able to fire a left click when the right button is pressed.
    The reason is because right clicking does not move the caret around the text area. I need to be able to move the caret with a right click so I can then invoke another method to do some other functionality that is associated with the right click. Any method is acceptable as long as a right click will result in the caret being able to move to a location much like a left click can.
    all help is appreciated. Thanks.

    I'm not sure if this is "better", and my guess is that it isn't, but how about using a Robot object here to create a left mouse press and release? For instance,
    import java.awt.AWTException;
    import java.awt.Robot;
    import java.awt.event.InputEvent;
    import java.awt.event.MouseAdapter;
    import java.awt.event.MouseEvent;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.JComponent;
    import javax.swing.JScrollPane;
    import javax.swing.JTextArea;
    public class RightClickAsLeft
      private JPanel mainPanel = new JPanel();
      private JTextArea area = new JTextArea(20, 50);
      private Robot robot;
      public RightClickAsLeft()
        try
          robot = new Robot();
        catch (AWTException e)
          // TODO Auto-generated catch block
          e.printStackTrace();
        mainPanel.add(new JScrollPane(area));
        StringBuilder sb = new StringBuilder();
        for (int i = 0; i < 18; i++)
          for (int j = 0; j < 80; j++)
            sb.append((char)(40 + j));
          sb.append("\n");
        area.setText(sb.toString());
        area.addMouseListener(new MyMouseListener());
      public JComponent getComponent()
        return mainPanel;
      private class MyMouseListener extends MouseAdapter
        @Override
        public void mouseClicked(MouseEvent e)
          int button = e.getButton();
          if (button == MouseEvent.BUTTON3)
            if (robot != null)
              robot.mousePress(InputEvent.BUTTON1_MASK);
              robot.mouseRelease(InputEvent.BUTTON1_MASK);
      private static void createAndShowUI()
        JFrame frame = new JFrame("RightClickAsLeft");
        frame.getContentPane().add(new RightClickAsLeft().getComponent());
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.pack();
        frame.setLocationRelativeTo(null);
        frame.setVisible(true);
      public static void main(String[] args)
        java.awt.EventQueue.invokeLater(new Runnable()
          public void run()
            createAndShowUI();
    }Edited by: Encephalopathic on Apr 10, 2009 9:59 AM

  • Newsstand suppresses the home screen from the app switcher view when the home button is pressed?

    Newsstand suppresses the home screen from the app switcher view when the home button is pressed.
    Has anyone else seen this before, I needed to lock and unlock iPad to get back to the home screen.

    Aloha Ethan. Fortunately it's working as designed, but you'd never believe how many people wanted to argue with me smply because it worked differently. Can't please everybody I guess.  Bob. 

  • Can a today's date be added in a date field when the submit button is pressed?

    I created a form with a submit button and the form is sent via email.  Can the date when the form is submitted show up in a date field with the button is pressed?
    Any help with this is much appreciated. Thanks.

    Hi,
    there is a preSubmit event for form objects you can use.
    Select your date field, open the script editor and add this script (language is FormCalc) into the preSubmit event.
    $ = num2date(date(), "MM/DD/YYYY")

  • HT201401 My iphone4s struggles to open when the home button is pressed,seems blurd and grainy

    When pressing the home button on my iPhone 4S it has started to struggle and appear grainy and slow, tho it works well after that.

    Hi Ashyrah,
    Have you tried rebooting the phone? Hold down the Home and Power buttons at the same time and continue to hold them until the Silver Apple appears (no data will be lost, but it may take up to 20 seconds to reboot and display the Apple, so be patient).
    Once the Home screen comes up again, see if things are working a little more like you'd expect them to....
    Cheers,
    GB

  • Vocal backing track stop playing when the cycle button is pressed.

    I am running the vocal backing track in Mainstage2.  I have various markers throughout the backing track, however, when I press the cycle button, the backing track stop playing and reverts to the start of the track.  Anyone know why this is happening?   

    Hello,
    Will try to explain how I understand the way a Question slide works:
    on the timeline you see a pausing point, this will be used twice
    when the user clicks on the Submit button, playhead is not released but the Success/Failure captions pop up, but you cannot control anything else such like stopping the audio
    when the user presses Y or clicks on the slide, the playhead is released, the Success/Failure actions are executed and (eventually - unless you changed navigation by those actions) the user is navigated to the next slide
    First thing you can change is the pausing point of the question slide, but once an audio clip started playing, this will continue and thus not solve your problem.
    It is only in that second step that you can do more customising by changing the Success/Failure actions, perhaps to an advanced action.
    Are you using this default behavior? And the audio is attached to what: to the slide or to the text captions for the questions and to the Success/Failure captions for the answers?
    I think the solution will be to skip the first step, by deleting the Success/Failure captions. When clicking on the Submit button in that situation, the Success/Failure actions will be executed immediately (and the playhead will be released). Attach the audio for the questions to an invisible object (rectangle without fill or stroke), that you hide with the advanced actions to be triggered by Success/Failure and show custom Text Captions for Success/Failure with audio attached to them. Because the playhead is now released, you will either have to time correctly so that the user will have to listen to the audio totally or to insert a static button widget that pauses the slide. But here I'm a bit stuck because I do not know which version of CP you are using, please?
    I blogged about using audio objects a while ago, but did not offer detailed explanations because no one asked for it until now. Have a look:
    Playtime with audio and widgets
    Lilybiri

  • My ipad screen will not come on, it gets a little brighter when the home button is pressed but nothing else happens. Is it faulty?

    Hi
    When I press the home button on my iPad the screen gets a little brighter but doesn't come on and none of the icons are visible.I also do not get the red swipe strip. Is my iPad screen faulty?

    Frozen or unresponsive iPad
    Resolve these most common issues:
        •    Display remains black or blank
        •    Touch screen not responding
        •    Application unexpectedly closes or freezes
    http://www.apple.com/support/ipad/assistant/ipad/
    iPad Frozen, not responding, how to fix
    http://appletoolbox.com/2012/07/ipad-frozen-not-responding-how-to-fix/
    iPad Frozen? How to Force Quit an App, Reset or Restart Your iPad
    http://ipadacademy.com/2010/11/ipad-frozen-how-to-force-quit-an-app-reset-or-res tart-your-ipad
    Black or Blank Screen on iPad or iPhone
    http://appletoolbox.com/2012/10/black-or-blank-screen-on-ipad-or-iphone/
    What to Do When Your iPad Won't Turn On
    http://ipad.about.com/od/iPad_Troubleshooting/ss/What-To-Do-When-Your-Ipad-Wo-No t-Turn-On.htm
    iOS: Not responding or does not turn on
    http://support.apple.com/kb/TS3281
    Home button not working or unresponsive, fix
    http://appletoolbox.com/2013/04/home-button-not-working-or-unresponsive-fix/
    Fixing an iPad Home Button
    http://tinyurl.com/om6rd6u
    iPad: Basic troubleshooting
    http://support.apple.com/kb/TS3274
     Cheers, Tom

  • How to perform action when the close button is pressed?

    i am using a JInternalFrame and i would like to perform some actions before the internal frame closes when i press the close button on the top right corner of the frame.
    i know the first step is:
    setDefaultCloseOperation(DO_NOTHING_ON_CLOSE);
    what next? what actionlistener shd i use??
    thx very much

    Your first step is wrong.
    yourInternalFrame.addInternalFrameListener(
         new InternalFrameAdapter(){
      public void internalFrameClosing(InternalFrameEvent e){
        // do part
    });

  • Inserting data in a table when the save button is pressed

    Hello all,
    I have a form displaying all fields in a table. it contains an adjustment column which is null by default and also an adjustment flag which is set to NO by default
    Now when the form is executed the user is able to add a value in that adjustment column and this value is stored in another table order_adjustment. Entries should be made in the adjustment table only when there is a change in the adjustment column and only for that value that was modified
    create table order_adjustement
      adjustment_id number,
      oe_line_id number,
      adjustment_cnt number,
      created_by varchar2(100),
      created_date date,
      modified_by varchar2(100),
      modified_date date
    )i have created a procedure in my form to insert my adjustment value
    PROCEDURE p_adjustment IS
    BEGIN
      insert into order_adjustement
        adjustment_id     ,
        oe_line_id        ,
        adjustment_cnt    ,
        created_by        ,
        created_date     
      values
        order_adjustment_seq.nextval,
        :oe_lines.oe_line_id,
        :oe_lines.adjusted_cnt,
        user,
        sysdate
    END;i have used the trigger when new item instance on that adjustment field but the problem is that its not saving the value i am passing through it the first time but if i modify those same values then those values are recorded in the table.
    Edited by: Kevin CK on Aug 17, 2010 3:34 PM

    Kevin CK wrote:
    for eg
    for order 1 initially its adjustment_cnt is null
    if i insert 1 then save, it saves the null value but if i change the 1 to 10 then it records 1, if i change the 10 to 20, it records 10.If you are calling that procedure in PRE-UPDATE then it should not happen like this. It should insert always the recent updated value.
    It seems as if it keeps those values in a buffer.No nothing called buffer while updating and saving records in forms. Because you are using the field like :my_field_name so it should always give the current value which is in the item.
    i have tried calling that trigger at block level but still doesnt workWhat did you try? And in which trigger did you try?
    -Ammad

  • How do I set up my MBP so that a message does not pop up when the power button is pressed?

    When I press my power button on my retina a message that says "Are you sure you want to ..?"
    How do I set it up so that that message does not pop up?
    My friends keep turning off my computer..

    Tell your friends to leave your computer alone. That's not the proper way to turn off your MBP. And no, that message cannot be turned off. It is a safety feature.

  • Reloading a Page when Browser back button is pressed

    Hi There
    We are designing a web site in which all the pages are dynamic depending on what he does with his email and addressbook system. Problem is when the uers request a change to the his email accounts or addressbook entries he is sent to editable pages .After editing he is sent back to view page .Now when he uses the back button he sees the old record that he modifed which i dont want to do that Instead i want him to show the updated version of that page
    Now how to achieve this.
    Is there any way to send a request to the server everytime the back button is pressed.
    Also i am trying to remoce the cache using the code below but it does not work i just dont know why?
    response.setHeader("Cache-Control","no-cache"); // HTTP 1.1
    response.setHeader("Pragma","no-cache"); //HTTP 1.0
    response.setHeader("Expires" , "0");
    Any help would be appreciated.
    Thanks.
    Mumtaz

    I also have noticed that in the latest version of Explorer it ignore the no-Cache header when the back button is pressed. Is this an undocumented "feature" put in place by MS or is there a newer header tag that needs to be set. The no-cache and expires tags work fine in Netscape and ealier versions of MS with my existing code. The version I am having difficulties with is 6.00
    Thanks

Maybe you are looking for

  • Error messages in Disk Utillity

    Hello! We are getting the same error messages on three different machines. Im not able to find out what it means: Warning: SUID-file «System/Library/PrivateFrameworks/DiskManagement.framework/Versions/A/Resources /DiskManagementTool»has been changed

  • Windows 8.1 Metro Scan and MG6220 won't save scan

    Got a new Dell Inspiron laptop. I am able to preview and scan a document in the Windows 8.1 Metro scan app, but I get an error message saying scan can't be saved. I downloaded the latest Canon Mimi Master software. Also, the regular Windows Fax & Sca

  • Can't embed .avi file

    I am currently using RoboHelp HTML 6 and am having problems with some video files I'm linking to. I'm using the hyperlink tool and selecting multimedia for what I'm linking to. The videos are .avi files. When I create the link and then generate my He

  • Natural Join multiple tables bug!! SQLPLus 10.1.0.4.2

    SQLPLus 10.1.0.4.2 bug detected!! Who knows how to fix it? Many thanks I'm experimenting with natural join and found some really strange behaviour when I tried to combine multiple natural joins. I have the following schema: Model (ModelID PK, brand,

  • How to transfer data between a multi-thread dll build with LV7 and MS C++, using envent programing method.

    It is easy to transfer data between a simple input/output dll build with LV and an external code like C++, but when data are available inside a loop running in the dll(in fact thread running in LV); How can I read them or receive an handle pointer to