Changing the value of a water drop down dynamically... Its urgent

Hi all

I need to change a drop down value dynamically.

In the account overview page slot-> account-> status.

We have a personalized page where the account status will change according to certain criteria.
I am able to get this status changed on custom page Standard.

We have a requirement where we need to change the 'Status' value as 'Active' or 'Inactive' in 'HzPuiActCreateUpdateRN', based on the State spent page custom field to a standard page.


Please help me on this. Its urgency.


Thank you
Hey

1. you must use
oamessagechoicebean.setValue (pageContext, s1);

Suggestions:
2. use more user-friendly variable names. ActStatusBean or activeStatusBean is better than oamessagechoicebean.

3 equals() checks for null, so

If ((s1! = null) & ("Y".equals (s1) "))

Statement above could be rewritten in the form
if("Y".) Equals (S1))

-Prince
http://princekapoor82.blogspot.com

Tags: Oracle Applications

Similar Questions

  • A drop-down list can do the calculation based on the value selected in a drop down list?

    Form Acrobat X Pro Adobe

    Can I have a drop down list create a calculation based on the value selected in the menu drop-down?

    We have a set lunch and want the user to choose to be "A lunch', 'Lunch B'"C Lunch"or"just the milk. "

    It is for each of the 5 days of the week. There are therefore 5 drop downs, which have all the same 4 above choice.

    If the user chooses among the 3 lunches and then put $2.00 in the total box at the end of the line. If 'Just the milk' may put 0.50 in the box.

    The total area at the end of the line must keep a record of all 5 days and give a total.

    So if someone chooses lunch A LUN, sea and Sun and just milk for Tuesday and Thursday and then the total for this week must be $7,00

    Is it possible by using code or something?

    I did it in Excel, but we need it is an Adobe pdf file.

    TIA

    OK the total box has a 10 all the time to make it look like $ 2.00 for

    everything.

    Before even that I chose something there are 10 in the box.

    I am a newbie to Adobe scripting Total used VB/A .NET etc ' 1980

    However.

    Can you do any debugging in code?

    Initialize the sum

    var sum = 0;

    Make a loop on the drop-down list boxes and add the cost of the invoice sum

    for (var i = 1; i)< 6;="" i="" +="1)">

    Sum += getField("Week1Day"_+_i).value == 'just milk? 0.50: 2,00;

    }

    Set this field to the amount

    Event.Value = sum;

  • The value of a menu drop-down can be used in a SQL query?

    I use JDeveloper11g to develop a web application that displays data from a database table. To do this, I created the business of Table (entity) component that represents one of the tables in the database. I then use a component panelCollection to display the data in the tables.

    Assuming that the SQL of this entity is as follows:
    SELECT test.field1 FROM test WHERE test.field2 = :MyVariable
    I can sort the value : MyVariable equal to the value selected by a user of a component of selectOneChoice ?

    http://www.YouTube.com/watch?v=LAWSfO-7xR8

    http://www.YouTube.com/watch?v=VfBG3TcCEmI

  • I can't get my calculations right away, even after the selection "commit selected value immediately" on my drop-down menus. Any ideas?

    I can't get my calculations right away, even after the selection "commit selected value immediately" on my drop-down menus. Any ideas?

    The field calculation order is probably not set correctly. The specific configuration procedure it depends on which version of Acrobat you are using. Acrobat 11, you would go first in forms editing mode (Tools > forms > change), and then select:

    Tasks > other tasks > set field calculation order

  • Have the drop-down list boxes become visible depending on the selection in a previous drop-down list box?

    Hi, im doing a form that only shows some options based on the previous selections.

    So far I have buttons which allow a user to select a specific product, and then by using the drop-down combo boxes select some optional features.

    I then have a simple javascript code that bears the name of a product at a price (i.e. the user selects product 'A', the review sections shows priced at $ 99).

    My problem is with additional customization options that depend on previous choices.

    Is it possible to have some drop-down list boxes become visible depending on the selection in a previous drop-down list box? If yes how could I impliment it?

    Currently my best idea is to have a button that could ask the user if he or she had previously chosen a certain selection and then reveal areas of correct drop-down list accordingly.

    Thank you

    Hello

    With a small change I think that the code works as expected. I changed your mainDD.value to event.value, as on the validate event the mainDD.value property cannot be updated as expected.

    script

    this.getField("Dropdown2").display = display.hidden;

    this.getField("Dropdown3").display = display.hidden;

    this.getField("Dropdown4").display = display.hidden;

    Switch (event.value)

    {

    case "a":

    this.getField("Dropdown2").display = display.visible;

    break;

    case "b":

    this.getField("Dropdown3").display = display.visible;

    break;

    case 'c ':

    this.getField("Dropdown4").display = display.visible;

    break;

    by default:

    break;

    }

    end of script

    Hope this helps

    Malcolm

  • change the values of 'choiseListe' with javascript

    Dear Sir

    Is it possible to change the values of 'choiseListe' with javascript.

    Example they have a choseListe:

    Country / / / values

    United States us

    France fr

    Sp Spain

    When he clicks in a botton I whant to change this choceListe:

    Country / / / values

    My Morocco

    PT Portugal

    ............

    Thank you

    Hello

    Drop-down lists and drop-down menus can be scripted against without much to safely.

    You would need something like that in the click event of the button:

    listbox1.rawValue = null; //clear previous choice
    listbox1.clearItems(); //clear the list items
    listbox1.addItem("Moocco", "ma"); //add new list items
    listbox1.additem("Portugal", "pt");
    

    Hope that helps,

    Niall

  • Cannot change the value of mousewheel scroll

    After you have reinstalled windows and all I had on my old desktop, I seem to be unable to change my amount of scrolling the mouse on firefox. I looked through all the troubleshooting questions that have already been posted, and all users have responded that I had to access about: config and change the value of mousewheel.withnokey.numlines.

    However, when you access everything: config, I discovered that not only I don't the integer specified, I don't have any integer with a preferably name that contains "withnokey", so I tried to add it in me, but not to use. Currently my parchment done on lines 6 and 7 and I would like to go down to about 3.

    Hello, Skarlath, the scrolling behavior has been overhauled in firefox 17 (see for reference https://wiki.mozilla.org/Gecko:Mouse_Wheel_Scrollingtechnical information) - the old setting longer reverberate.

    It must still be possible to set a different frame rate. You can enter about: config in the firefox address bar (confirm the message information where it appears), search preferences starting with mousewheel.default.delta_multiplier_ ..., you can double-click on these parameters and assign a different value to - then a restart of firefox is required for the changed settings is taken into account.

  • Change the value of all slides

    Hello world

    I need help today with a problem on the slide - void / knot vi and property.

    I would like to change any value of slides with a sub vi

    Any ideas?

    Thank you

    Hello

    Using the node property, you can change the value of the slide.

    Siva

  • Change the value of varying directly?

    Suppose I have a variant from an external source.

    Suppose I know the data type, but I don't know the attributes and their values (if any).

    Is it possible to directly change the value of the variant, "under the hood" so to speak and leave all attributes intact?

    I know that I can read all attributes, generate a new variant with my new data and write them all back, but that seems very inefficient.

    Casting of new data to a variant, and then using the variant of data to convert the Original variants type that seems to work as well. Once again, kludgy.

    Sting autour with «...» VI.lib\Utility\VariantDataType\*.*, but so far, not to find a method 'live '.

    Thank you!

    You can use the structure of the element inplace to set the value of a varying existing.  It retains all the existing attributes.

  • Can I change the values of the variables in the variables view control?

    I want to use the variables view control in Labview. I see only the values, but I can't change the values or create new Variables. Will there be a chance to do?
    I use Labview 8.6.1 and Teststand 4.1.1.

    You must activate the edit mode for the ApplicationMgr, by setting ApplicationMgr.IsEditor to true. Note that you must have at least the license of the custom editor for teststand so that it works (otherwise it will prompt the user to activate a license with these privileges).

    Hope this helps,

    -Doug

  • How can I change the value of the sample during my simulation period?

    I'm about to set discrete PID profile vi to specify the values of the period of sampling of the order hold block. At t = 0, I wish that the value of 0.5 and then change to 1.0 when t = 5. Currently, only 0.5 goes to the waiting order discreet block. I think it's because the block takes this value and then use it for the entire simulation, do not check to see if the value has changed. Is there a way to tell the block to check this value at each time step and then adjust if necessary sampling its period?

    See code attached for reference.

    What is your overall goal for the sampling period? You will change the value more than once? Or only from 0.5 to 1?

    The PID setpoint profile should allow you to specify a profile for the values to send to the hold. He will see property values. For example if you specify only t = 0 setpoint = 0.5 and t = 5 setpoint = 1, you'll find it ramp the setpoint in 0.5 to 1.0 for the first 5 steps of time. If you want the sampling period of stay up to t = 5 0.5 is reached you will probably want to three elements in the array. set = 0.5 point t = 0, t = 4.99 set = 0.5, 1.0 = set point t = 5.

    If you're just fill one step, (from 0.5 to 1.0) you can use the Index Timestep in the Simulation parameters to determine the sampling period. Is attached a screenshot of what I mean.

  • How can I change the value of a control on front panel?

    On the front panel, I'm doing a complex control that consists of a Slider control and control of the digital inputs. Both controls display the same information and either may be used for entry. When changing value, I want the other control to display the same value.

    How can I change the value of a control on front flap when another control changes the value? I know how to use a structure of the event to detect value has changed, but I do not know how to impose control on front panel to change its value in the block diagram.

    Why do you not use a digital display on the slider, and no code is required:

    EDIT: Yes, he said. ***

  • changing the value of the indicator

    I need to change the value of an indicator, while the program is running.

    I enclose a VI

    1. a double is given as input to find derived from ptbypt, and then I compare the derivative (threshold) to enter the value to give a Boolean result.

    I need the user to change the threshold value as required by him.

    Thanks in advance

    Well, use the property node.

    Ran

  • change the value of the button cluster

    Hi all

    I wrote a program that has 5 poles and all groups contain a STOP"" button. the program can stop when the button is pressed.

    When I press the button, the value of the button goes to False and else False. I want to come True. so I tried using the 'value' property and set the value "False".

    but it is still true.

    I use event structure to see that the value changes. and set to 'Stop the value changes' all buttons in a single event.

    How can I change the value of the false button?

    Thank you

    Ritesh


  • How to change the value of string clustered, to implement using the node value of property instead of writing directly on the flow of data or using the variable

    new to labview :-) and I have a problem when I want to change the value of a string in bunches, and I want to implement this using the node value of property instead of writing directly to the stream or by using the variable, enclosed is the picture.   No matter, I have change in cluster (control) or value of Popery out (indicator) cluster, the value (sensor 7) dataflow keeps unchanged even I gave the new value by value of property node. Thank you to give me some advice about this.

    Hi GerdW

    Thanks a lot for your answer. The reason I'm stubbornly tring to break the flow of DATA is: we have a test system that have about 100 screws, they have a few connected flow, some of them will be unbundling a cluster dataflow chain to check the value in order to make the different cases.  Now I want to insert user event by changing the control and influential cases during run time.

    As I initially uses a global variable (to control cases) instead of unbundle string data flow, it works well.  But then, I found there are a lot of screws that are using the string unbundle.  One of the 'lazy' means, I tried is to change the value via the property node (because that way, I did not need to find all the places where using the unbundle string and replace them with the global variable), then I noticed a problem with "dataflow", the value in the stream of cluster in fact will not be changed by changing the value of the property node.

    I did a test with VI simple (like the picture in last post), and after reading your advice, I tell myself that I need to understand the concept of "DATAFLOW" in labview, it seems that my "lazy" way can not work in this scenario.

    I have attached the criterion VI here, have you furthur suggestions on what I can do in this case?

    Mant thanks!

    Minyi

Maybe you are looking for

  • Removable Apps issue

    Why are 'Find my iPhone', 'Health' and 'Wallet' not removable? I think they should be able to be removed like other removable applications if the user does not want them on their device.

  • HP Designjet T790 stuck at 94% initialization

    Hi have a HP Designjet T790 that is stuck on 94% during initialization and making a rattling noise. Before this past that the printer has had a problem with the wobbly lines and incorrect colors. I realized maybe it's an isue of printhead. -What item

  • Report XML lack style sheet location

    Hi all I have a question about the XML report generated by TestStand. I use a heavy custom style based off NOR example style sheet horizontal.xsl. Report generation works fine on my system of development however when the sequence is deployed on machi

  • update to IE 8

    I'm not ready to install internet explorer 8. I'm happy with 7. How can I get rid of the windows update icon in my system tray? If I uncheck the ie 8 update with cancel button gray outside. so windows insists I install v 8, well I mean it won't let m

  • WRT1200AC/1900AC WIRED Intermittent connectivity software company (Cisco) VPN - resolved

    I work from a Home Office 24 x 7 as a software engineer supporting the business intelligence world production for a credit/bank card issuer applications - so my 'stuff' has to work.  My components materials network and the machines are "top-shelf."