Enter the value of PARAMETER of a function at run time

Hello

I wrote a query and created a .sql file. So whenever I use to perform an action, I'll just run the my unix box .sql file. But in one of the functions of my query, the parameter must be provided whenever coz it changes from time to time. So please let me know how I can ask the user to enter the parameter for this single variable whenever it runs the .sql file.

Kind regards
Niraj

Hi, Andrew,

There is no way to get feedback from a user in PL/SQL or SQL. You must use the tools of front-end for it.

If your forehead is SQL * Plus, then you can use variables to substitute in the function call. For example:

SELECT  *
FROM    table_x
WHERE   my_function (x, &y, z)  = 0;

stop and ask the user to "report a value to y ' before compiling the query.

You can also use the SQL * more ACCEPT the command set one as proxy & y.

I hope that answers your question.
If this isn't the case, display one complete script (including the tables or functions, other than those feeding by Oracle) that you need, and a sample of the desired output. For example, "If the user enters 1, then the output should be... but if the user enters 5, then it should be...» ».

Tags: Database

Similar Questions

  • Check the box if the user enters the value field or text date input

    I have a business that, the rule of a JSF page with several components and groups. If the user enters the value in a date component or an input text component a selectOneCheckBox must be checked automatically. And even unchecked if the value of the field date field or text entry is deleted. I followed so far recommended for part of the ADF. I don't know what layer of the application of these rules should be applied.

    Please suggest how to get this implemented business rule

    Concerning

    You can implement the required functionality in the user interface layer.

    Here is the snippet of code for features:
    (1) page JSPX:




    Binding = "#{UIPageBean.inputDate} '"
    valueChangeListener = "#{UIPageBean.inputDateChanged}" / >

    Binding = "#{UIPageBean.inputNumber} '"
    valueChangeListener = "#{UIPageBean.inputNumberChanged}" / >

    readOnly = "true" simple = 'true '.
    Binding = "#{UIPageBean.CheckBox} '"
    partialTriggers = "id1 it1" / >

    (2) code Bean:

    public class UIPageBean {}

    Private RichInputText inputNumber;
    Private RichInputDate date. MinValue;
    box private RichSelectBooleanCheckbox;

    public UIPageBean() {}
    }

    {} public void setInputNumber (RichInputText inputNumber)
    this.inputNumber = inputNumber;
    }

    public RichInputText getInputNumber() {}
    Return inputNumber;
    }

    {} public void setInputDate (date RichInputDate. MinValue)
    this.inputDate = date. MinValue;
    }

    public RichInputDate getInputDate() {}
    Return date. MinValue;
    }

    {} public void setCheckBox (RichSelectBooleanCheckbox box)
    this.checkBox = checkBox;
    }

    public RichSelectBooleanCheckbox getCheckBox() {}
    return box;
    }

    {} public void inputDateChanged (ValueChangeEvent valueChangeEvent)
    this.checkBox.setSelected (false);
    If (this.inputDate.getValue ()! = null &)
    this.getInputNumber () .getValue ()! null = &.
    this.getInputNumber () .getValue () () ().equals("") .trim m:System.NET.SocketAddress.ToString is
    false) {}
    this.checkBox.setSelected (true);
    }
    }

    {} public void inputNumberChanged (ValueChangeEvent valueChangeEvent)
    this.checkBox.setSelected (false);
    If (this.inputDate.getValue ()! = null &)
    this.getInputNumber () .getValue ()! null = &.
    this.getInputNumber () .getValue () () ().equals("") .trim m:System.NET.SocketAddress.ToString is
    false) {}
    this.checkBox.setSelected (true);
    }
    }
    }

    Thank you
    Nini

  • the user is not able to use the keyboard to enter the value in 'overview perspective'

    All our EN indicates that the user cannot enter any value in 'overview perspective'. They must expand the dimension and choose what they want.

    Is there a way to allow them to enter the value they want to see?

    I followed the oracle solution is to disable the "'enable screen reader support" in preferences of FR. Log out and log back in, but it still doesn't ' work. "

    Someone at - it meet this problem before?

    Thank you

    Kim.

    I have the same problem and when I click with the right mouse button in the dialog box update, it works. I think it's a browser problem.

    Concerning

    Altair

  • You enter the value of the parent dimension

    Hello
    Once the dimension charge of OGL in Hyperion as well as hierarchy (parent with child relationship) is possible to enter values (financial data) for the ONLY parent in the dataform manually dimension?

    If Yes, can you please suggest a way how to enter the values...

    You should probably use a version of target type to enter the higher levels

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Enter the value of customid

    In my PlSql Developer command window, I try to run this script:
    UPDATE RbsListUrls SET
           URL = URL || '?key=[%key%]&customid=plt';
    but when I run it displays messagebox and request "enter the value for customid.

    1 will be Sql * Plus also raises this question in Messagebox?
    2. How can I avoid this box?

    Yes, you will be asked in SQL * more also.
    Try this one... you can avoid putting & quotes to escape its meaning

    UPDATE RbsListUrls SET
           URL = URL || '?key=[%key%]'||'&'||'customid=plt';
    
  • Enter the value for the data files:

    Hi all
    I use 10.2.0.1.0
    I have a tablespace "hg" with two data files.
    whenever I use after an order to drop this tablespace I hv asked values for data files
    Welcome is:

    SQL > drop tablespace hg, including content and data files;

    SQL > drop tablespace hg, including content and data files;

    I have two data files to the tablespace named as hg.dbf, hg1.dbf

    now what I hv value to enter? or how to calculate the value.


    Thank you

    Honey says:
    Yes I know its 'AND' but when I using the '&' then oracle asked me of ' enter the values of the data files: "k".
    Please try first, then the calculation of the value.
    It can be a variable binding value.
    If you find the answer please suggest steps

    Simple words, the "DROP TABLESPACE" command does not support '&' character. & is a substitution of placeholder for SQL variable * more.

    Even if you provide the value for the "data files" prompt, the command does not work as it would lead to "drop tablespace including contents tsname *"details of your file *.

  • "Enter the value of transfer" - huh?

    I am trying to run the HRMS API "Hr_Person_Address_Api.update_person_address", using the details of my temp table but it asks me to enter a value: "enter the value assignment:'"

    Why would he do that? How can I remove this? I don't see this in the documentation as part of the feature...

    Steven

    Such code what...
    /* Formatted on 2009/03/27 15:37 (Formatter Plus v4.8.7) */
    SET serveroutput ON SIZE 1000000 FORMAT WRAPPED
    SET verify OFF
    SET feedback OFF
    
    DECLARE
    -- *********
    -- Debugging/error handling
    -- *********
    -- *********
    -- Work variables
    -- *********
       p_emp_number                     VARCHAR2 (14);
       v_rec_cnt                        NUMBER                     := 0;
       insert_flag                      VARCHAR2 (8);
       err_num                          NUMBER;
       err_msg                          VARCHAR2 (150);
       err_line                         VARCHAR2 (350);
       err_seq                          NUMBER                     := 0;
       l_date                           DATE                       := SYSDATE;
       l_validate                       BOOLEAN                    DEFAULT FALSE;
       l_ass_obj                        NUMBER;
       l_emp_obj                        NUMBER;
       l_datetrack_update_mode          VARCHAR2 (30)             := 'CORRECTION';
       l_organization_id                NUMBER                     := 0;
       l_concatenated_segments          VARCHAR2 (240);
       l_soft_coding_keyflex_id         NUMBER;
       l_comment_id                     NUMBER;
       l_effective_end_date             DATE := TO_DATE ('17-FEB-2059', 'DD-MON-YYYY');
       l_no_managers_warning            BOOLEAN;
       l_org_now_no_manager_warning     BOOLEAN;
       l_other_manager_warning          BOOLEAN;
       l_spp_delete_warning             BOOLEAN;
       l_special_ceiling_step_id        NUMBER;
       l_entries_changed_warning        VARCHAR2 (30);
       l_tax_district_changed_warning   BOOLEAN;
       l_people_group_id                NUMBER;
       l_group_name                     VARCHAR2 (30);
       l_business_group_id              NUMBER                     := 0;
       l_person_id                      NUMBER;
       l_assignment_id                  NUMBER;
     --  l_assignment_number              VARCHAR2 (35);
       l_style                          VARCHAR2 (4)               := 'GB';
       l_address_id                     NUMBER;
       l_effective_date                 DATE                       := SYSDATE;
       l_date_from                      DATE
                                        := TO_DATE ('17-FEB-2009', 'DD-MON-YYYY');
       l_date_to                        DATE
                                        := TO_DATE ('17-FEB-2059', 'DD-MON-YYYY');
       l_update_mode                    VARCHAR2 (30)             := 'CORRECTION';
       l_validate_county                BOOLEAN                    DEFAULT TRUE;
    
    -- ***********************************
    -- Get employee details info from work table
    -- ***********************************
       CURSOR get_employee_details
       IS
          SELECT std_person_id, std_assignment_id, std_validate, std_hire_date,
                 std_business_group_id, std_last_name, std_sex,
                 std_date_of_birth, std_email_address, std_employee_number,
                 std_first_name, std_marital_status, std_middle_names,
                 std_nationality, std_title, std_national_identifier,
                 std_address_id, std_address_line1, std_address_line2,
                 std_address_line3, std_address_line4, std_post_code,
                 std_telephone_1, std_country, std_region, std_position_id,
                 std_job_id, std_location_id, std_organization_id,
                 std_payroll_id, std_supervisor_id, std_default_code_comb_id,
                 std_set_of_books_id, std_grade_id, std_pay_basis_id,
                 std_assn_ovn
            FROM SU_TEMPLOYEE_DETAILS;
    
    -- *****************************************
    -- checks employee details info from PER_ALL_PEOPLE_F table
    -- *****************************************
       CURSOR c_check_employee (p_emp_number VARCHAR2)
       IS
          SELECT DISTINCT per.person_id, per.full_name, paas.assignment_id,
                          paas.supervisor_id, paas.default_code_comb_id
                     FROM per_all_people_f per, per_all_assignments_f paas
                    WHERE per.employee_number = p_emp_number
                      AND paas.person_id(+) = per.person_id;
    
       emp_rec                          c_check_employee%ROWTYPE;
    
    -- ***************************************************
    -- Cursor retrieves latest Object Version Number from per_assignments_f table..
    -- ***************************************************
       CURSOR csr_ass_ovn (cp_person_id IN per_all_people_f.person_id%TYPE)
       IS
          SELECT MAX (paas.object_version_number)
            FROM per_assignments_f paas, per_all_people_f per
           WHERE paas.person_id = per.person_id
             AND per.employee_number = paas.assignment_number
             AND per.person_id = cp_person_id;
    
       CURSOR csr_emp_ovn (cp_person_id IN per_all_people_f.person_id%TYPE)
       IS
          SELECT MAX (padd.object_version_number)
            FROM per_addresses padd, per_all_people_f per
           WHERE padd.person_id = per.person_id AND per.person_id = cp_person_id;
    
    BEGIN
    -- ***********************************
    -- UPDATE of EXISTING Employees Details from work table..
    -- ***********************************
       FOR v_emp IN get_employee_details
       LOOP
    -- ************************************
    -- determine whether customer already exists
    -- ************************************
          OPEN c_check_employee (v_emp.std_employee_number);
    
          FETCH c_check_employee
           INTO emp_rec;
    
          IF c_check_employee%FOUND
          THEN
             insert_flag := 'I';
          ELSE
             insert_flag := 'X';
          END IF;
    
          CLOSE c_check_employee;
    
    -- ************************************
    -- Obtain the most recent Object Version Number..
    -- ************************************
          OPEN csr_ass_ovn (v_emp.std_person_id);
    
          FETCH csr_ass_ovn
           INTO l_ass_obj;
    
          CLOSE csr_ass_ovn;
    
          OPEN csr_emp_ovn (v_emp.std_person_id);
    
          FETCH csr_emp_ovn
           INTO l_emp_obj;
    
          CLOSE csr_emp_ovn;
    
          IF insert_flag = 'I'
          THEN
             BEGIN               -- Importing Emp Address & Assignment details --
    
    DBMS_OUTPUT.PUT_LINE ('Latest Employee ovn:.. ' || l_emp_obj );
    DBMS_OUTPUT.PUT_LINE ('Latest Assignment ovn:.. ' || l_ass_obj );
    DBMS_OUTPUT.PUT_LINE ('Starting API now - Assignment_Id is.. ' || v_emp.std_assignment_id );
    
                Hr_Person_Address_Api.update_person_address
                                  (p_validate                   => l_validate,
                                   p_effective_date             => SYSDATE,
                                   p_validate_county            => l_validate_county,
                                   p_address_id                 => v_emp.std_address_id,
                                   p_object_version_number      => l_emp_obj,
                                   p_date_from                  => SYSDATE,
                                   p_date_to                    => NULL,
                                   p_address_line1              => v_emp.std_address_line1,
                                   p_address_line2              => v_emp.std_address_line2,
                                   p_address_line3              => v_emp.std_address_line3,
                                   p_town_or_city               => NULL,
                                   p_region_1                   => v_emp.std_region,
                                   p_region_2                   => NULL,
                                   p_region_3                   => NULL,
                                   p_postal_code                => v_emp.std_post_code,
                                   p_country                    => v_emp.std_country,
                                   p_telephone_number_1         => v_emp.std_telephone_1,
                                   p_telephone_number_2         => NULL,
                                   p_telephone_number_3         => NULL
                                  );
    /*
       Hr_Assignment_Api.update_emp_asg
                            (p_validate                    => l_validate,
                             p_effective_date              => SYSDATE,
                             p_datetrack_update_mode       => l_datetrack_update_mode,
                             p_assignment_id               =>  v_emp.std_assignment_id,
                             p_object_version_number       => l_ass_obj,
                             p_supervisor_id               => v_emp.std_supervisor_id,
                             p_default_code_comb_id        => v_emp.std_default_code_comb_id,
                             p_concatenated_segments       => l_concatenated_segments,
                             p_soft_coding_keyflex_id      => l_soft_coding_keyflex_id,
                             p_comment_id                  => l_comment_id,
                             p_effective_start_date        => l_date,     --IN/OUT
                             p_effective_end_date          => l_effective_end_date,
                             p_no_managers_warning         => l_no_managers_warning,
                             p_other_manager_warning       => l_other_manager_warning
                            );
    
       Hr_Assignment_Api.update_emp_asg_criteria
                 (p_validate                          => l_validate,
                  p_effective_date                    => SYSDATE,       -- l_date,
                  p_datetrack_update_mode             => l_datetrack_update_mode,
                  p_assignment_id                     => v_emp.std_assignment_id,
                  p_object_version_number             => l_ass_obj,
                  p_organization_id                   => l_organization_id,
                  p_location_id                       => v_emp.std_location_id,
                  p_job_id                            => v_emp.std_job_id,
                  p_position_id                       => v_emp.std_position_id,
                  p_special_ceiling_step_id           => l_special_ceiling_step_id,
                  p_effective_start_date              => l_date,
                  p_effective_end_date                => l_effective_end_date,
                  p_people_group_id                   => l_people_group_id,
                  p_group_name                        => l_group_name,
                  p_org_now_no_manager_warning        => l_org_now_no_manager_warning,
                  p_other_manager_warning             => l_other_manager_warning,
                  p_spp_delete_warning                => l_spp_delete_warning,
                  p_entries_changed_warning           => l_entries_changed_warning,
                  p_tax_district_changed_warning      => l_tax_district_changed_warning
                 );
    */
                COMMIT;
             EXCEPTION
                WHEN NO_DATA_FOUND
                THEN
                   ROLLBACK;                                              --NULL;
                   DBMS_OUTPUT.PUT_LINE (   '"No Data Found" for Employee:'
                                         || v_emp.std_employee_number
                                         || SQLERRM
                                        );
                WHEN OTHERS
                THEN
                   ROLLBACK;
                   err_num := TO_CHAR (SQLCODE);
                   err_msg := SUBSTR (SQLERRM, 1, 150);
                   err_line :=
                         'Oracle error (seqno='
                      || err_seq
                      || ') '
                      || err_num
                      || ' occurred processing record '
                      || TO_CHAR (v_rec_cnt + 1)
                      || ' : '
                      || err_msg;
                   DBMS_OUTPUT.PUT_LINE (err_line);
    
                   INSERT INTO SU_SL_ERRORS
                        VALUES (err_num, err_msg, SYSTIMESTAMP);
             END;
    
             v_rec_cnt := v_rec_cnt + 1;
    -- ******************************
    -- End of customer related details
    -- ******************************
          END IF;
       END LOOP;
    
       COMMIT;
    END;
    /
    
    EXIT;

    In * & * in the comments. Remove them
    HTH
    Ivo Stoykov

  • the pointer to int as a parameter in the dll, but the value of parameter variation doesnot

    Hello, I have a function in the dll as void set(int * a) {(* a) = 99 ;}}

    And I connect an int32 to the dll. But when I run the vi, the Int32 value does not change.

    As the picture below:

    You connected control DLL parameter. This means that the value of the command is passed to the DLL... and finito! You must connect an indicator on the right side of the DLL parameter to see the value returned by the DLL.

  • Assiging the values of parameter in CASE

    Hi all
    I'm writing the Expression BOX in the following way.

    CASE WHEN entered. Field1 < = Input.Field2 then
    Input.Field1 = Input.Filed2
    ON THE OTHER
    Input.Field2
    END

    During the validation of Expression it throws the error. Could you tell me please me is possible to write the expression to assign values of parameter input/output field.
    If so, please explain. If this isn't the case, suggest me work around.
    Thank you very much
    See you soon!
    -MAK

    He likes to change...

    CASE WHEN input.Field1 <= Input.Field2 then
    Input.Field1
    ELSE
    Input.Field2
    END
    

    If you created this in the output of expression variable say 'out_1' and then
    so if the entry. Field1<= input.field2="" then="" value="" of="" out_1="" will="" be="" input.field1="" else="">

    See you soon
    Katia

  • How to display the value of parameter of current session

    Hello

    How can a db user know the value of a parameter of the session, if he doen't have the privilege to access the parameters of v$?
    SQL> conn hr/hr
    Connected.
    
    SQL> show parameter QUERY_REWRITE_ENABLED
    ORA-00942: table or view does not exist
    
    SQL> alter session set QUERY_REWRITE_ENABLED=true ;
    Session altered.
    
    ...
    
    -- how can the user HR know the value of QUERY_REWRITE_ENABLED

    ahmedbaraka wrote:
    Hello

    How can a db user know the value of a parameter of the session, if he doen't have the privilege to access the parameters of v$?

    Like this:

    oracle@g5 ~]$ sqlplus scott/scott
    
    SQL*Plus: Release 11.1.0.6.0 - Production on Fri Nov 6 15:38:11 2009
    
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    SQL>
    SQL>
    SQL>
    SQL> show parameter query_rewrite_enabled
    ORA-00942: table or view does not exist
    
    SQL> set serveroutput on
    SQL> DECLARE
      2    parnam VARCHAR2(256);
      3    intval BINARY_INTEGER;
      4    strval VARCHAR2(256);
      5    partyp BINARY_INTEGER;
      6  BEGIN
      7    partyp := dbms_utility.get_parameter_value('query_rewrite_enabled',
      8                                                intval, strval);
      9    dbms_output.put('parameter value is: ');
     10    IF partyp = 1 THEN
     11      dbms_output.put_line(strval);
     12    ELSE
     13      dbms_output.put_line(intval);
     14    END IF;
     15    IF partyp = 1 THEN
     16      dbms_output.put('parameter value length is: ');
     17      dbms_output.put_line(intval);
     18    END IF;
     19    dbms_output.put('parameter type is: ');
     20    IF partyp = 1 THEN
     21      dbms_output.put_line('string');
     22    ELSE
     23      dbms_output.put_line('integer');
     24    END IF;
     25  END;
     26  /
    parameter value is: TRUE
    parameter value length is: 4
    parameter type is: string
    
    PL/SQL procedure successfully completed.
    

    So read the [Function GET_PARAMETER_VALUE | http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_util.htm#sthref7801]

  • Not able to enter the values in a table.

    I'm not able to enter values in any table that I create in labview. By mistake I pressed a key on the keyboard, and every time I try to enter values in a table, a window pop up opens and resets the value to zero, if I make selection from there.

    I enclose the screenshot.

    I'm with Altenbach on this one.  Looks like you turned off your Autotool.  If you go to View-> Toolbox, you will see the tool Palette.  Make sure that the top button/led is on.  Who will ensure the Autotool on.

  • Set the values of parameter SPFILE for Oracle RAC

    Hello

    in the documentation:

    https://docs.Oracle.com/CD/E11882_01/RAC.112/e41960/admin.htm#RACAD815

    I can read:

    *. OPEN_CURSORS = 500
    prod1. OPEN_CURSORS = 1000

    If an another DBA executes the following statement, then Oracle database updates the setting on all instances except the instance with SID prod1:
    ALTER SYSTEM SET OPEN_CURSORS = 1500 sid ='* ' SCOPE = MΘMOIRE;


    So if you run the following statement on another instance, the instance with sid prod1 also assumes the new 2000 setting:
    ALTER SYSTEM SET OPEN_CURSORS = 2000 sid ='* ' SCOPE = MΘMOIRE;

    My question is:

    How Oracle will know that it is you run the NDDN statement to apply even to prod1?

    The syntax for these two ALTER SYSTEM are the same. Then why Oracle applies the second on prod1?

    In other words, why the output of these two statements is different with respect to the affected bodies? One is applied on all except prod1 and the next is applied to all included prod1.

    Thank you.

    Hello

    If you have 2 instance and run you the change of parameter with sid ='* ', which means changing this setting will affect the two instance...

    the two values in the instance will be changed.

    https://docs.Oracle.com/CD/B28359_01/server.111/b28286/statements_2013.htm -->> search for "SID clause allows you to specify the SID.

    This seems to be a bug in documentation...

    Bug 6530554 : ALTER SYSTEM SET SCOPE = MEMORY SID ='* ' UPDATE all INSTANCES

    Thank you

  • Get the field to remain Virgin until the user enters the value in the previous field used in the calculation

    I work on a PDF form and am stuck on one of my calculations. There are two fields 'desired Start Date", which is a date entered by the user. The "desired end" date is one year from date entered by the user. I figured out - however, before the user enters a date, I want this field remains empty. Currently, it fills with 01/00/000. How can I get this field to calculate not unless a date is entered by the user? So far, I tried this but can not get the blank to stay:

    If the field 'Desired Start Date' is empty, leave 'to' field blank

    var myStartDate = new Date (this.getField("Desired_Effective_Date").value);

    If (((myStartDate == 0) & & (getField("myStartDate").valueAsString = "")) {event.value = "";})

    If the field "Desired Start Date" is an effective date, use the date to calculate one year after the date of entry.

    }

    else {this.getField("to").value = util.printd ("mm/dd/yyyy", new Date (myStartDate.getFullYear () + 1, myStartDate.getMonth (), myStartDate.getDate ()))}

    Try the following than the calculation script custom field "to".

    Get the value of the date field beginning

    var sStartDate = getField("Desired_Effective_Date").valueAsString;

    If the start date field is not empty...

    If {(sStartDate)

    Converts a date in a date object string

    Kai = util.scand ("mm/dd/yyyy", sStartDate);

    Add a year

    oDate.setFullYear (oDate.getFullYear () + 1);

    Set this field to the calculated date value

    Event.Value = util.printd ("mm/dd/yyyy", anyway);

    } else {}

    This field blank because the input field is empty

    Event.Value = "";

    }

    You may need to change the date format "mm/dd/yyyy", I used to match the formats of date fields.

  • Cannot access the value of parameter task flow when type java.lang.string

    Hi all

    I use Jdev 11.1.1.6.0 version.

    Here's the scenario. I enclose the workspace.

    A taskflow (testScope1TF) simply have 2 obligatory parameters corresponding type is String and ArrayList.

    This stubborn taskflow placed as a region in a pop up (p1) in a fragment (testScope2Fragment.jsff).

    Have a command to link to testScope2Fragment.jsff and from there, I'll put the value of the parameter.

    Pop until I can access the value of the ArrayList, but for string, it is show null. However all these setting set the same bean. What is the reason for the string parameter showing null?

    Can anyone help to understand this strange behavior.

    Here is the link to sample workspace

    https://drive.Google.com/file/d/0b-8Suq_hutEhNE01blZFUnlQdzQ/view?USP=sharing

    To run the example - ScopeTestPage.jspx run-> click on commandLink 1 -> press the commandButton control pop up 1.

    In output integrated wls console like below.

    ------------------------------------------------------------------------

    Table list size: 2

    String value parameter: null

    Here's the code-testScope2Fragment.jsff.

    <? XML version = "1.0" encoding = "UTF - 8"? >

    " < = xmlns:jsp jsp:root ' http://Java.Sun.com/JSP/page "version ="2.1" "

    ' xmlns:af = ' http://xmlns.Oracle.com/ADF/faces/rich "" "

              xmlns:f=" http://Java.Sun.com/JSF/core ">

    < af:panelStretchLayout id = "PSL1" >

    < f: facet name = "center" >

    < af:panelGroupLayout layout = "scroll".

                               xmlns:af=" http://xmlns.Oracle.com/ADF/faces/rich "" "

    ID = "pgl1" >

    < af:commandLink text = ' commandLink 1 ' id = 'cl1' partialSubmit = 'true '.

    actionListener="#{viewScope.TestScope2Bean.tesctScope2Method}"/ >

    < af:popup id = binding = "#{"p1"viewScope.TestScope2Bean.viewScopePopUp}" >

    < af:dialog id = "d1".

    title = "Pop of the scope on the view upwards the Value: #{viewScope.TestScope2Bean.testScopeView String}" >

    < af:region value = "#{bindings.testScope1TF1.regionModel}" id = "r1" / > "

    < / af:dialog >

    < / af:popup >

    < / af:panelGroupLayout >

    <!-id = "af_one_column_stretched"->

    < / f: facet >

    < / af:panelStretchLayout >

    < / jsp:root >

    public class TestScope2Bean {}

    String testScopeView = null;

    ArrayList < String > testScopeViewList = new ArrayList < String > ();

    Private RichPopup viewScopePopUp;

    public TestScope2Bean() {}

    Super();

    }

    public void tesctScope2Method (ActionEvent actionEvent) {}

    Add the code in the event here...

    this.setTestScopeView (In ViewScope Test");

    testScopeViewList.add ("sjdjshdsj");

    testScopeViewList.add ("cdsfdsfsf");

    RichPopup.PopupHints applyHoldspopUpHints = new RichPopup.PopupHints ();

    this.getViewScopePopUp () .show (applyHoldspopUpHints);

    }

    {} public void setTestScopeView (String testScopeView)

    this.testScopeView = testScopeView;

    }

    public String getTestScopeView() {}

    Return testScopeView;

    }

    {} public void setViewScopePopUp (RichPopup viewScopePopUp)

    this.viewScopePopUp = viewScopePopUp;

    }

    public RichPopup getViewScopePopUp() {}

    Return viewScopePopUp;

    }

    {} public void setTestScopeViewList (ArrayList < String > testScopeViewList)

    this.testScopeViewList = testScopeViewList;

    }

    public ArrayList < String > getTestScopeViewList() {}

    Return testScopeViewList;

    }

    }

    Thanks in advance.

    I took as look at your code. The problem is that you use a popup in the region and regions have a bit different (refer to http://www.oracle.com/technetwork/developer-tools/adf/learnmore/67-queryform-in-popup-253861.pdf) in the regions. Must be addressed the refreshment of the ifNeeded region to make your sample (see image below):

    Timo

  • Use workflow to enter the value of the attribute

    Hello, I have a workflow that turns off a virtual machine and it feeds and then turn it back on.  He sent an e-mail if it does not power the correctly.  Is it possible to insert the VM name which was the entrance of workflow in the value of the object or the contents of the email?

    Untitled.png

    Something like vmname % do not restart.

    Thank you, Zach.

    The correct is

    content = vm.name + " did not reboot";
    

    as it concatenates two strings - the 'name' of the object of type VirtualMachine property (the property type is string) with another string. Again, the result of this operation is a value of a string that is assigned to the 'content' attribute which is also of type string.

    This one

    content = vm + " did not reboot";
    

    is incorrect as it attempts to concatenate a VirtualMachine type object with a string. What should be the effect of this operation?

    You get this reference error because you have not added the input parameter "vm" tab within the script task . The code in a script task can run on attributes/parameters of the workflow that are explicitly referenced IN or OUT tab. those not referenced is simply not visible within the script task.

    When you select an existing tab attribute/setting, you are not redefining you mark this attribute or parameter as visible and accessible in the script task. When you select an existing attribute/parameter ON tab, you mark this attribute or parameter as keeping its value changes after leaving the script task. In your example, you included the attribute of "content" on the tabs IN and OUT , which means you can use it in Javascript code inside the scriptable job and that changes you make to it (setting the new vm.name + 'is off') updates the value of real content and will not be lost after leaving the task scriptable element.

Maybe you are looking for

  • Cyberduck vs Duck Mountain?

    Which correspond to the difference between Cyberduck e Duck Mountain? And, for you, what is the best choice?

  • Help! WHY HAS FIREFOX DELETED MY ENTIRE ADDRESS BOOK TO OUTLOOK EXPRESS? I NEED BACK!

    Arrrggghhhhhhhh! I just downloaded and installed firefox and somewhere along the line, I lost my entire address book to outlook express? (25,000 customers email addies have disappeared!) How can I get them all back?

  • Satellite C660 - 23 M Windows 7 hard disk error

    I've only had my laptop (Satellite C660 - 23M) for three months, I started to have problems with him about a week earlier, including a time Blue Screen of Death, but I got the computer Safe Mode and did a system restored and it has been fine since th

  • Clarification on iMac 21 "memory

    Hi, I want to buy an iMac 21 "and I need a clarification on the configurable compared to the maximum memory at time of purchase. It is written in the configuration page "notes that the iMac 21.5 inches comes with 8 GB built-in memory to the computer.

  • Windows 7 and bf 1942

    I'll start with plugASUS m4a79t deluxe8G kingston hyper x ddr 1600 3 plug the value2-4870 in xfire2 150 G velociraptors in raid 0Phenom AM 3 965Zalman cnps 9900 led1010 w power supply FSPFatality XFI Platinum (P last 7 drivers)Antec 1200 caseW7 64 pr