The parameter a variable / by pressing a button

Hi all

Can you please help me in sorting the issue below:

I need set the variable/parameter when I press a button.

I wrote the code below, but it seems that it is not set.

If (PageContext.GetParameter ("Update")! = null)
{
OAViewObject disvo = (OAViewObject) am.findViewObject ("XxafpEepStageRebateValidateVO1");
Row1 OARow = (OARow) disvo.first ();
Row1.SetAttribute ("UpdateB", "Y");

String sUpdateB = pageContext.getParameter ("UpdateB")
System.out.println ("in UpdateB true" + UpdateB);

}


It is printing null in the SOPS. anyone can please help me how to set a value in this scenerio, I tried with HashMap also but same problem.

Thank you
Mahesh

Use this

String sUpdateB =row1.getAttribute("UpdateB")+"";

or

String sUpdateB =row1.getAttribute("UpdateB").toString();

Thank you
AJ

Tags: Oracle Applications

Similar Questions

  • How to wake up the iphone 6 sec without pressing any button

    How to wake up the iphone 6 sec without pressing any button, which will help you maintain your buttons on the iPhone. Please let me know if you have any ideas on this subject. Thanks in advance.

    You do not have.

  • Is it possible to save a part of the data from when you press a button 'save '?

    Hello

    The attached vi below acquires data from a sensor. The signal of the sensor output can be set to zero and the data stored in a file. However, the saved data includes the portion of data when vi starts to run until you press the stop"" button. Is it possible to save the data game from when 'save' button until the button "stop"?

    Best regards

    Ninjatovitch

    This should be at 8.2

  • (Help!) Have a loop in the scene, and when you press a button, it goes to another scene and ends (with a repeat button)

    I'm newer to ActionScript 3, so I am not sure that what I'm doing.  I hope someone can help!

    Scene 1 (which is long of 40 images), I have this code for the 4 buttons until framework 39-

    import flash.events.MouseEvent;

    Button1.addEventListener (MouseEvent.CLICK, goNormal);

    function goNormal(event:MouseEvent):void {}

    stage.frameRate = 20

    }

    Button2.addEventListener (MouseEvent.CLICK, goMedium);

    function goMedium(event:MouseEvent):void {}

    stage.frameRate = 38

    }

    Button3.addEventListener (MouseEvent.CLICK, goFast);

    function goFast(event:MouseEvent):void {}

    stage.frameRate = 60

    }

    Button4.addEventListener (MouseEvent.CLICK, goEnd);

    function goEnd(e:MouseEvent):void {}

    Stop ("scene 2", 1);

    }

    On the last picture (40), I have "stop();"

    Scene 2, I "play();", so that it plays, and then on the last image of this, "stop()";

    I'm quite confused.

    Basically, I want to make it to where I can have the first 3 buttons change the FPS of the first scene, but I want it loop back (and not go to the stage 2).  I want then press 4 to go to scene 2 and at the end of the file, but with a touch of repetition where it repeats the scene 1.

    Thanks in advance!

    Rather than use stop(); using try framework 40: gotoAndPlay (1);   Who takes care of the loop, that you say you want.

    For the button that will take you to the stage 2, you have the arguments in the correct order.  It should be Stop (framing, stage);

    Regardless of the button repeat you are planning you can have use: gotoAndPlay (1, "scene 1"); assuming that the scene 1 is named as such

  • ADF refresh page with page fragments jsff jsf after the set session variable

    Hello.

    I have a model that includes a button that allows you to select a profile, you push the button appear available profiles, choose one and press to accept. After that, I put a variable session successfully.

    I have a page of 'First' of jsf with two fragments of page jsff after seeing a link. The display link is composed by a headerView and detailView. The headerView had a variable binding. What I need, is that this parameter (bindVariableParameter) can be defined by the session of the model variable.

    That's what I get:

    I am in a homepage (separate Application Module), model button is pushed until I load "first" jsf page and after that, I go to the page jsf 'First', that information is loaded successfully. What I do in the Application Module is something like this:

    protected void prepareSession (one session) {}

    SessionScope card = ADFContext.getCurrent () .getSessionScope ();

    Company string = (String) sessionScope.get ("compId");

    System.out.println ("Default Comapny in British Colombia is:" + company);

    super.prepareSession (session);

    this.getSession () .getUserData () .put ("The company", company);

    System.out.println ("after the definition userData value card BC");

    }

    And in the variable binding expression of the headerView that I use:

    adf.userSession.userData.Company

    It works very well! But!

    When I press the button again and I chose another profile, the info is not updated. In the headerView or in the detailView.

    Also, when I go to the 'First' jsf page (without previously pressing the button model), I had no info, which is just, because I have no session variable. After I have press the model and select the profile, but the page is not refreshed.

    I tried many ways to this, but I'm lost.

    Could you help me?

    Kind regards.

    I'm not sure that understand your use case. What do I get, you set a parameter after that you press a button on the home page to pass this parameter to the first.jsf.

    Why don't you implement a method of the application module and call it directly with the parameter. The session of preparation will not be called whenever you browse but only init am.

    Do you need the parameter in the layer model or only in the display?

    Timo

  • When I press any button on the Windows Live toolbar, I am re-directed to the website of go.microsoft.

    original title: WHAT IS THIS (http://go.microsoft.com/fwlink/?LinkID=199831)

    WHEN YOU PRESS ANY BUTTON ON THE WINDOWS LIVE TOOLBAR I HAVE THE 'GO. MICROSOFT ETC' AS ABOVE ADDRESS THAT PRODUCES A PAGE NOT FOUND IN RESPONSE.

    I DON'T THINK IT'S MALICIOUS SOFTWARE OR OTHER, I REALLY THINK THAT IT IS IN YOUR HOME (MICROSOFT) WITH SOME PROGRAMS OR WHAT WENT WRONG.

    I DO NOT USE THE TOOL BAR LIVE NOW SO THE PROBLEM DOES NOT AFFECT ME, NOT MORE (OR IN OTHER WORDS I HOPE) BE FINE IF I COULD GET RID OF THE ADDRESS.

    ANY PARAMETER ON THE INTERNET OPTIONS PAGE IS NO HELP SO CAN'T THERE GO.

    I AM PLEASED WITH HOTMAIL AND I HAVE NO DESIRE TO BECOME.

    Hi AlexDiverall,

    Thanks for posting your question in the Microsoft answers Forum. For any questions about Windows Live, visit the Windows Live Help solution Center.

  • I want to update the digital control by pressing a button

    Hey,.

    I'm in Labview 7.1

    So I have a problem that seems like it should be very simple, but I have questions.

    I want to increment a digital counter when the user presses a button to save their data, but labview allows only a digital output counter and not all take to the.

    I want the variable a numeric control so that the user can increment/decrement it themselves if they feel the need to revive or ignore a number of test.

    All solutions?

    Thank you


  • Hi, actually I want the program stops when you press the stop button. but the problem is the program is runing in loop only he doesn't return tile view deleted complete execution of any body can help me for this.

    Hi, actually I want the program stops when you press the stop button. but the problem is the program is runing in loop only he doesn't return tile view deleted complete execution of any body can help me for this.

    Here

  • How to save the data to the new file, when you press the button

    Hello.

    Run a program that reads data recorders seconds and displays a trace on the screen.

    What I want, is that when I press a button, the program will ask for a file name and begins to record data to the file, and continues to do this as long as the button is pressed.

    When I press the button again, the program asks the name of the file again, so I can select a new file to write.

    I've included a simplified version of my program that works by asking the file name at the beginning.

    How can I change the program it starts a new file every time that the key again.

    Kai,

    I changed the example that I gave you to LV8.0, but I have never used the option 'Save for the previous version' before, so I don't know if it will work.

    I have combined the start and stop of recording in a single button (just change the text to all what you need) and I used the 'value' property to pass the path between cases. The path can be formatted as you have in your version, don't forget to use the string conversion function filepath.

    Just in case where it doesn't work on your version of LV I've attached a screenshot of the block diagram.

    Hope this helps, let me know if you have more problems with this.

    Easy.

    Darren.

  • How can I get my card of waveform to reset whenever the user presses a button?

    My program takes in an acquisition of input data and displays this signal in a continuous waveform chart. I wish that the previous values to remove the graphical display each time that the user presses a button (a Boolean toggle). Any ideas on how I can do this? I'm relatively new to Labview and don't know where to start to fix this problem.

    There is a property for this node.  Put something like this in your user interface loop, if you have a.

  • My doubt is if I press a button, it will redirect you to the other side...

    For a single application I need if I press a button, it will redirect you to the other side, how it is possible in LABVIEW

    Thank you.

    Place your Subvi inside your main diagram of vi.  Use a Structure of the event to capture the key event.

    more information here:

    http://forums.NI.com/T5/LabVIEW/how-to-open-a-subVI-on-a-click-of-a-button/TD-p/1082660

  • Call a help file (.chm) when press a button on the front

    I can't call a help file (.chm) when press a button on the front. I have only called when press a key then right click the mouse and navigate the selected key for the button.

    Call the help file (.chm) when press a butto wrote:
    I have only called when press a key then right click the mouse and navigate the selected key for the button.

    This part is not so clear for me.

    But you have coded according to the part file .chm calling within the event to change the value of this button?

    If not try this using the Structure of the event & post here.

    If you post your code here, someone can help reg what has gone wrong.

  • I can see the knobs, but I don't see the logic in what happens when I press a button.

    I can see the knobs, but I don't see the logic in what happens when I press a button. With every key I pressed a quick screen comes first, but I can't use the sliders to make whatever it is - either by touching the screen or by using the arrows on the keyboard. The screen for quick access expires before I can try a lot.

    Shingay,

    If you have not watched on the manual for ths unit yet, please, it usually will tell you which buttons do what, and how to navigate the OSD menu. If this does not work could you please provide the specific monitor you use so that we can see what we can help with?

  • How can I increment/decrement a value every time you press a button on the controller

    I'm in train to find a way to increment or decrement a value every time you press a button on the controller (Boolean).

    The function in the tutorial, I found is the value go up by huge amountswhile, the button is pressed, what I need is a way to have the value go up by units whenever you press the x key.

    I would use a timer, but sometimes, the button can be pressed quickly, or may be required.

    in standard programming, I would have the system to wait for the button to press, and then increment a and wait until the button is released before moving on. For the moment, I still have not found a way to do this.

    -Zeno

    Just we a registry change and compare the old and new of the Boolean values.

    More simple would be the 'includes the function. If you connect as shown in this recent example, you get a trigger when the Boolean goes off-> on between two iterations.

  • I recently created a form to complete for the app e-business of the company. When you press the button submit, he only sent to our Inbox to project and not sent to the e-mail provided in the URL. Can someone help us to program the key to help explain why.

    I recently created a form to complete for the app e-business of the company. When you press the button submit, he only sent to our Inbox to project and not sent to the e-mail provided in the URL. Can someone help us to program the key to help explain why / tell us step by step what we should do?

    OK, I re-read your question. It's actually expected behavior. The user must manually send the email.

    If you want it to be a silent process, then you must either install a script on the local computer of the user who will do this, or use any email but something as a service web to which you directly submit the form data.

Maybe you are looking for