How to change the value of an element with another element?

Hello guys,.

I now have two or three elements in my form page, according to an order of the day, I want to change (from disable to activate or vice versa), the values of all the other elements in this form...

I thnk for this javascript is needed... but I'm new Bee so if anyone can help me with these...

How do I? is - that someone has good example or any link...

Please help me with this question... enjoyed

thxs


Kind regards
GK

Hello GA,.

Try this:
OnChange = "$f_DisableOnValue (this, 'Y', 'P1_DETAILS_YN');"

BTW: You are missing a hook closing in your function. You must use FireFox and with the FireBug extension and you would have noticed it...

Greetings,
Roel
http://roelhartman.blogspot.com/
You can reward this response in marking it as useful or Correct ;-)

Tags: Database

Similar Questions

  • How to change the value of the Application for all users?

    Hi, I work on Apex 3.2.1.00.12 which is installed on a database of Oracle 10 g Enterprise Edition Release 10.1.0.5.0

    I'll explain my problem... At the beginning of the application, the user choose a year, each year can have 3 status and based on the State to restrict or grant access to certain tabs, pages and options. I put the status of the year selected in an Application element and then I just use an authorization scheme to check if the user can access pages or options.

    The problem is that if the administrator changes the status of the current year (for example, 1-2), users who are currently in the application will have access to the options of the State 1, instead of the State 2 options. is there a way to change the value of this element for all users?

    Thank you.

    Force a disconnection of all users? You can't really affect the values of the sessions other than your own via a browser, and from the point of application is part of a single session...

    You could re-read the value of point of application of its source whenever you load a page or tab game...

    Thank you

    Tony Miller
    Ruckersville, WILL

  • How to change the color of an element of "xref" existing as a reference?

    How to change the color of an element of "xref" existing as a reference? Now, its color is black, but I want it is blue. Here are the excerpts from the file of ESD. Can anyone help? Thanks in advance. You can also give me your Skype if you have the answer.

    Element (reference): xref

    List of attributes

    Name: See the optional choice

    Choice: new, replace, auto

    Default: automatic

    Name: Ref-text String

    Name: Ref-external-id String

    Name: File-Ref-String

    Name: id-ref - String

    Name: number of the optional choice window

    Choice: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10

    Default: 1

    Name: optional string condition

    Name: condition-model String

    Name: Optional String property

    Name: review optional choice

    Choice: modified, added, deleted, off

    Name: anchor id String

    Name: msg-info String

    Format of original reference

    If the context is: * < (list-steps | block)

    Use the reference format: number

    On the other

    Use the reference format: numbers and text

    Hello

    what you need to do is the following:

    -Open your template (not ESD)

    -define a format of characters (i.e. crosslnk) and change the font color of blue

    -Add the tag in front of both of your cross link formats (number and numbers and text)

    -Save the template and open your documents-> cross links are now blue

    have a nice,

    Alex

  • How to change the values of business rule at run time?

    Hello

    I'm using Oracle 11g SOA. I did a BPEL process that uses Business Rule. Now the BPEL process is deployed with business rules so how to change the value of the business @runtime rule. I don't want to change the value @design time and deploy the code again.

    Is there a console or the portal? as Oracle BAM has own url? What is the url of Business Rule Manager?


    Thank you

    Can you check is the deployment of "composer" is in Active state.

    In the weblogic administration console, navigate to Environment--> Servers--> SOA_SERVER1--> Deployments (tab) on the left side of the menu.

    Thank you
    Vijay

  • How to change the extensions on several files with Windows 7?

    * Original title: Extentions

    How to change the extensions on several files with Windows 7?

    You hear no doubt, is that your movie software will only recognize certain types of image file formats.  If this is the case, you will need to reformat format files to any format PNG is recognizable by the software.

    Rather than we guess, please identify your «film» software

    Download and install IrfanView, which is a free utility for images.  http://www.IrfanView.com/

    IrfanView has the ability to read a great many formats of image files.  It can also convert image files formats.  And even better - for you - it can do all these things on a batch of files.

    As test, after I installed IrfanView, open one of your PNG files.  Now click on file > save as, and select the 'Save as Type' to be little matter the file type of your movie software will accept.  Save the file.  Make sure your movie software can accept the new file.

    Once you are convinced that you can modify files that you have in a format that you can use, use IrfanView

    File > Batch Conversion/Rename command.  If necessary, see IrfanView help on this topic.

  • Nodemanager: How to change the value of AdminURL in startup.properties

    In weblogic 10.3.6, when I start a server (FORMS) with the administration console, the startup.properties file is automatically filled. I want to change the value of AdminURL to use HTTPS instead of HTTP.

    The value of the field AdminURL seems to come from Mbean. How to change?

    Thank you for your help.

    Fabrice

    Hello again,

    I checked my point. Here is what I tried:

    • I created a simple environment with ssl enabled on managed servers admin and nodemanager
    • I open the administration console to https and started a server managed and noticed the AdminUrl value in the startup.properties file
    • The value remained in http
    • Then I disabled the listening from the administration console http port
    • Tried to start again the same managed server, without touching the startup.properties file
    • The https value is now properly taken
    • Additional verification steps:
      • I have reactivated the administration server http listening port (of course without disabling the https port!)
      • Restarted the server and noticed the AdminUrl value in the startup.properties file
      • The value returned back to http

    Conclusion: in the light of the foregoing, it seems necessary to disable http administration server listening port, in order to have the value desired for AdminUrl

    It will be useful,

    White

  • How to change the value of a color picker?

    Hi *.

    I am currently working on a small project and I would use the colorpicker. When I initialize the colorpicker, the widget is updated and displays the correct color, but when I try to change the value when running, nothing happens. I missed something?

    Thank you very much
     
    package javafx.tests.colorpicker;
    
    import javafx.application.Application;
    import javafx.event.ActionEvent;
    import javafx.event.EventHandler;
    import javafx.geometry.Insets;
    import javafx.scene.Scene;
    import javafx.scene.control.Button;
    import javafx.scene.control.ColorPicker;
    import javafx.scene.layout.StackPane;
    import javafx.scene.layout.VBox;
    import javafx.scene.paint.Color;
    import javafx.stage.Stage;
    
    public class ColorPickerChangeColor extends Application {
    
         public static void main(String[] args) {
              Application.launch(args);
         }
    
         @Override
         public void start(Stage stage) throws Exception {
    
              VBox vbox = new VBox();
              vbox.setPadding(new Insets(10));
              vbox.setSpacing(10);
              Button button = new Button("Press me.");
              final ColorPicker colorpicker = new ColorPicker(Color.BLUE);
    
              button.setOnAction(new EventHandler<ActionEvent>() {
                   @Override
                   public void handle(ActionEvent arg0) {
                        colorpicker.setValue(Color.YELLOW);
                        System.out.println("Set color of the picker to yellow.");
                   }
              });
    
              vbox.getChildren().add(colorpicker);
              vbox.getChildren().add(button);
    
              StackPane root = new StackPane();
    
              root.getChildren().add(vbox);
              stage.setTitle("ColorPicker");
              Scene scene = new Scene(root, 200, 200);
    
              stage.setScene(scene);
              stage.show();
    
         }
    }
    Published by: 963445 on January 3, 2013 12:23

    Addition of

    colorpicker.fireEvent(new ActionEvent());
    

    After you set the color seems to be a workaround; Although I don't know how it works if the colorpicker popup is displayed.

  • How to change the value of "DenyOnNotProtected" in OAM 11 g

    Hello

    I just wanted to know how we can change the value of the parameter 'DenyOnNotProtected' in OAM 11 g. In literature, it is mentioned that we cannot change the value. When I tried the console, I'm not able to. Is there another way to do this?

    Thank you

    Srikanth

    Hi Srikanth,

    I suppose that for some reason any OAM is not recognizing that this resource is not protected (or rather, protected by the anonymous system) - maybe some dissonance between the host setting preferred in the definition of Agent of the WebGate and the host identifier used in the policy.

    In addition, just to check: you use version OAM 11.1.1.5 or 11.1.2 (server)?

    Kind regards
    Colin

  • How to change the value of a field?

    Hello

    I am a beginner in the report and I try to change the format of a field trigger value
    by the PL/SQL code editor

    is this possible? How can I identify my field (: MONCHAMP: does not work = newvalue)

    @rosagio

    Hello

    You cannot change the value of a column, but the field display values. Do it with the built-in SRW. SET_FIELD...
    Take a look at http://www.oracle.com/webapps/online-help/reports/10.1.2?navId=3&navSetId=_&vtTopicFile=htmlhelp_rwbuild_hs/rwrefex/plsql/builtins/examps/srw_examples.htm
    It is built-ins different depending on the data type. The object_id is 0 every time for the current object.

    concerning
    Rainer

  • How to change the text Boolean unique element of clusters...

    Dear Sir.

    I need to change every single Boolean text element cluster programatially and here attached to my example of program it will change only the text lable, but I need to change the text Boolean cluter element .it posssible or not.

    Your program is not attached.

    What you need to do is right-click on the property node create on that and something specific to change.

  • 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

  • How to change the value of APP_USER 'person' to something else?

    I put my pages to the public user. Now in the lower left corner there is the word 'person '. I guess that's the value of the APP_USER.

    Where can I change the value of APP_USER when the page is public?

    Thank you
    Maggie

    If the page is public, what value do you want to APP_USER?
    Maybe you want to just draw or hide this value. If Yes, go to the shared components > themes and change respective theme remove the APP_USER substitution string.

    Oscar

  • How to change the value of the specific element of a cluster

    Hi all

    I have a cluster that contains the string for the most part, I want to change a specific value of an element of the latter. How can I do that.

    joined my vi

    Thank you

    Bundle name

  • How can I change the value of an element in an XML file?

    Looks like I could be overloading the things.  I created a vi that can read a xml file that I created manually but also need to modify the element values.

    For example, I want to change the 'Count' of 4 to 5 element in the xml file:


       
          02/03/2015
          4
          984
       

    Help or direction is appreciated (in addition to be referred to as W3Schools which was my first station)

    Thank you

    Jeremy

    I really think you need to check the W3Schools for XPath info, makes life easier:

  • How to pass the value of an element in a function called by a procedure

    Hello

    I have a procedure named PROCEDURE AFFICHAGE_PLUVIO_VEILLE (sorry I don't know how to get in shape for the code):

    {code: sql}create or replace PROCEDURE AFFICHAGE_PLUVIO_VEILLE AS

    CURSOR curs1 is

    Select the site, name, site_pluviometre clef_var

    where EN_SERVICE = 'YES ';

    number of stmt;

    BEGIN

    DELETE FROM PLUVIO_DATA;

    for m loop curs1

    stmt: = calc_pluvio (m.clef_var);

    INSERT INTO pluvio_data values (m.clef_var, stmt);

    end loop;

    commit;

    END AFFICHAGE_PLUVIO_VEILLE; {code}

    This procedure calls a function:

    {code: sql}create or replace function "CALC_PLUVIO" (station NUMBER)

    return the number is the default number of 0 total.

    BEGIN

    WITH PRECIPITATION AS

    (SELECT DATE1 RAINFALLDATE, VALUE

    OF EVV_STPL

    WHERE CLEF_VAR = station

    AND TRUNC (DATE1) = TRUNC (sysdate-1))

    SELECT SUM (TOTO) INTO CUMULATION

    DE)

    SELECT TRUNC (RAINFALLDATE) AS date,

    VALUE,

    (VALUE) AHEAD OF (TRUNC PARTITION (RAINFALLDATE)

    ORDER BY RAINFALLDATE

    ) - VALUE AS TOTO

    PRECIPITATION

    )

    WHERE TOTO > = 0

    GROUP BY date;

    DATE OF RETURN;

    EXCEPTION

    WHEN NO_DATA_FOUND THEN

    TOTAL: = 0;

    DATE OF RETURN;

    END; {code}

    You can see that the function uses 'sysdate-1' regarding the date. " In order to be more flexible with the date and to be able to use a date other than the date of the previous day, I would like to pass as a parameter to the function of the value of a page called P1_DATE.

    But, how can I do? Function CALC_PLUVIO' is called by the stored procedure 'AFFICHAGE_PLUVIO_VEILLE of PROCEDURE' for which I can not transmit to any parameter as for example the P1_DATE element.

    I use Application Express 5.0.1.00.06

    Thank you for your help.

    Chipniz wrote:

    I have a procedure named AFFICHAGE_PLUVIO_VEILLE of PROCEDURE (sorry I don't know how to get in shape for the code):

    Click on the link to the editor advanced usage in the top right of the edit box, select the code in the editor and choose the language desired from the syntax highlighting options in > toolbar button menu. (For SQL and PL/SQL code, use "SQL").

    create or replace PROCEDURE AFFICHAGE_PLUVIO_VEILLE AS
      CURSOR curs1 is
        select site, nom, clef_var from site_pluviometre
                  where EN_SERVICE = 'OUI';
      stmt number;
    BEGIN
      DELETE FROM PLUVIO_DATA;
      for m in curs1 loop
        stmt := calc_pluvio (m.clef_var);
        INSERT INTO pluvio_data values (m.clef_var, stmt);
      end loop;
        commit;
    END AFFICHAGE_PLUVIO_VEILLE;
    

    This procedure calls a function:

    create or replace function "CALC_PLUVIO" (station in NUMBER)
    return number is cumul number default 0;
    BEGIN
    WITH RAINFALL AS
    (SELECT DATE1 RAINFALLDATE, VALEUR VALUE
    FROM    EVV_STPL
    WHERE  CLEF_VAR = station
    AND        TRUNC (DATE1) = TRUNC (sysdate-1))
    SELECT SUM (TOTO) INTO CUMUL
    FROM (
    SELECT TRUNC (RAINFALLDATE) AS datte,
    VALUE,
    LEAD (VALUE) OVER ( PARTITION BY TRUNC (RAINFALLDATE)
    ORDER BY RAINFALLDATE
    ) - VALUE AS TOTO
    FROM RAINFALL
    )
    WHERE TOTO >= 0
    GROUP BY datte;
    RETURN CUMUL;
    EXCEPTION
        WHEN NO_DATA_FOUND THEN
            CUMUL := 0;
        RETURN CUMUL;
    END;
    

    You can see that the function uses ' sysdate-1' regarding the date. " To be more flexible with the date and to be able to use a date other than the date of the previous day, I want to pass as a parameter to the function of the value of a page called P1_DATE.

    But, how can I do? The CALC_PLUVIO function ' is called by the stored procedure 'AFFICHAGE_PLUVIO_VEILLE of PROCEDURE' for which I can not transmit to any parameter as for example the P1_DATE element.

    What do you mean by "I can't pass any parameter"? That you cannot change the signatures of the procedure and function?

    Passage of a parameter is the recommended approach. Including a default value will ensure that programs are backward compatible with existing code that does not it:

    create or replace PROCEDURE AFFICHAGE_PLUVIO_VEILLE (p_rainfall_date in date default null) AS
      CURSOR curs1 is
        select site, nom, clef_var from site_pluviometre
                  where EN_SERVICE = 'OUI';
      stmt number;
    BEGIN
      DELETE FROM PLUVIO_DATA;
      for m in curs1 loop
        stmt := calc_pluvio (m.clef_var, p_rainfall_date);
        INSERT INTO pluvio_data values (m.clef_var, stmt);
      end loop;
        commit;
    END AFFICHAGE_PLUVIO_VEILLE;
    
    create or replace function "CALC_PLUVIO" (station in NUMBER, p_rainfall_date in date default null)
    return number is
      cumul number default 0;
      rainfall_date date;
    BEGIN
      rainfall_date := trunc(coalesce(p_rainfall_date, sysdate-1));
    WITH RAINFALL AS
    (SELECT DATE1 RAINFALLDATE, VALEUR VALUE
    FROM    EVV_STPL
    WHERE  CLEF_VAR = station
    AND        TRUNC (DATE1) = calc_pluvio.rainfall_date)
    SELECT SUM (TOTO) INTO CUMUL
    FROM (
    SELECT TRUNC (RAINFALLDATE) AS datte,
    VALUE,
    LEAD (VALUE) OVER ( PARTITION BY TRUNC (RAINFALLDATE)
    ORDER BY RAINFALLDATE
    ) - VALUE AS TOTO
    FROM RAINFALL
    )
    WHERE TOTO >= 0
    GROUP BY datte;
    RETURN CUMUL;
    EXCEPTION
        WHEN NO_DATA_FOUND THEN
            CUMUL := 0;
        RETURN CUMUL;
    END;
    

    This code can be called APEX by:

    AFFICHAGE_PLUVIO_VEILLE(p_rainfall_date => to_date(:p1_date, 'DD-MON-YYYY')); -- change format mask to that used in the P1_DATE item
    

    Moreover, if the P1_DATE element is the only possible source of another value on the date of the rain, then the value can be referenced directly in the function:

    create or replace function "CALC_PLUVIO" (station in NUMBER)
    return number is
      cumul number default 0;
      rainfall_date date;
    BEGIN
      rainfall_date := trunc(coalesce(v('P1_DATE'), sysdate-1));
    WITH RAINFALL AS
    (SELECT DATE1 RAINFALLDATE, VALEUR VALUE
    FROM    EVV_STPL
    WHERE  CLEF_VAR = station
    AND        TRUNC (DATE1) = calc_pluvio.rainfall_date)
    SELECT SUM (TOTO) INTO CUMUL
    FROM (
    SELECT TRUNC (RAINFALLDATE) AS datte,
    VALUE,
    LEAD (VALUE) OVER ( PARTITION BY TRUNC (RAINFALLDATE)
    ORDER BY RAINFALLDATE
    ) - VALUE AS TOTO
    FROM RAINFALL
    )
    WHERE TOTO >= 0
    GROUP BY datte;
    RETURN CUMUL;
    EXCEPTION
        WHEN NO_DATA_FOUND THEN
            CUMUL := 0;
        RETURN CUMUL;
    END;
    

Maybe you are looking for

  • Red circle with a line through

    I look a my email, hit something on my keyboard and I had a red circle with a line through it on my email that I look one including all the others with the same subject / receiver. Now, emails are no longer there and I have not received all messages

  • Kernel Panic in OSX but not Windows (Bootcamp)

    I have a 15-inch MacBook Pro (early 2011) which has recently experienced sudden stops and the kernel panics. Panic report always comes out: panic (the appellant 2 cpu 0xfffffff7f8d8ae4e6): "MCO GPU REGISTRY RESTORE FAILED: rdar://7254528, VendorID in

  • Error code 646 when trying to install updates for microsoft office

    I get the error code 646 when installing updates for microsoft office 2007 on Vista.  I do visit the website and install them manually but it is a pain in the rear.  Why did I do all of a sudden, and how can I go back to automatically install updates

  • CD drive does not open and the light does not work

    original title: single CD player problem The problem with my CD player seems to be unique I can't find an answer, or someone else with the same problem online. My computer is custom built, the CD player lasted me 1.5 years no problem, not until one d

  • XPS 15 9550 shutdown problem

    Hello I know that there were many, many messages on the same issue for XPS 15 9550 not to close properly. Unfortunately, I tried all and ended up in a sort of weird situation where I could not find a relevant message. Today, suddenly, my laptop has b