Cannot get the value of element of disabled text.

Hi all

In my form. I have two or three groups of radio and the text element. When I select a radio button I am disable the text element using $x('P1_AX').disabled = true
This part works fine. But I have a "PL/SQL block anonymous Unconditional ' which takes the value of the disabled and the update in the database.
The value of the disabled will be void even if I have a value in it. I am able to access this value using javascript. Any help is very appreciated.

Thank you

Disabled items are never submitted. Therefore, you can access the item values disabled on the page dealing with the part of a page of the APEX. Your options are to

(1) enable the item before submitting
(2) create a hidden item coming from the same source as the element off and use the element hidden in your post submit pl/sql process

CITY

Tags: Database

Similar Questions

  • Cannot get the value of the selection of OAMessageChoiceBean

    Hello

    Of our 11i to R12 upgrade, in the customer's advanced search page, we are unable to get the handle suitable for OAMessageChoiceBean (in extendedCO).

    The snippet for the bean handling is as follows:

    OAMessageChoiceBean PartyStatusFilter = (OAMessageChoiceBean) vOAPageContext.getRootWebBean () .findChildRecursive ("xxfeF426PartySearchStatus");
    String xxTest = PartyStatusFilter.getSelectionValue (vOAPageContext);

    The value of the above xxTest (in R12 approx.) is coming with a null value. Considering that the same code works in 11i environment and the xxTest output = "A".

    So we cannot get the value of the selection of the messagechoicebean in our environment of R12. I already looked in previous similar positions in this forum, also tried to use getSelectionText (vOAPageContext) or getSelectedValue(), however, it did not work.

    Pointers please?

    Thank you very much
    Zahid

    Hi Zahid,

    Try with this ID = HzPuiPartyStatus

    -Had

  • Cannot get the value of the session variable (using row wise initialization).

    Hi all

    I have a scenario where I'm trying to get the value of the variable session of two columns.

    Table of database consists of the name of USER, Country_Region, columns Country_SubRegion.

    For example: ChadraKanth, Americas, America West is the data.

    I wrote a Sql query in the block of session initialization:

    Select "CR", Country_Region, Country_SubRegion

    of row_wise_init

    where USERID = ": the USER"

    When I test the RPD code gives the result like this:

    CR WesternAmerica of Americas.

    In my report I have two columns, a region and an another subregion.

    When I try to filter with the session variable "CR" for the column region his error giving: session variable is not initialized with

    This is the default.

    Question:

    1. session variable is contains several values in the column?

    2. how to filter the report on columns of region and sub region?

    Please suggest me.

    Kind regards

    Chandra Khalil.

    Hello

    A session variable cannot store more than one column, 1 variable = 1 value (column 1), horizontal initialization allows to store several lines, multiple values in the same variable.

    If to a user, you have several lines with multiple values, you need horizontal initialization, but it cannot store in the variable the value of the region and subregion.

  • Get the values and elements of object property

    If I have an object,

    MyObject = ({a: 3, b:5, c:8})})

    How can I get a list of items and their values according to their position

    Let's say I want to know what the name of the second element, how can I get the answer "b"?

    In addition, without knowing the name of the element how can I get the value of the second item "5"?

    Thank you

    Trevor

    It is, of course, a matter of Javascript, and the answer is not specific to InDesign, but I think you knew that already.

    The short answer is: you do not have. JavaScript does not have something on the positioning of the members of an object.

    There is no guarantee that b will remain the second element, and there is no way to get the members of an object by a sort of index rather than by their name.

    BTW, you write:

    MyObject = ({a: 3, b:5, c:8})})

    Which is too complex (extra parens) and missing a semicolon from the finish line. It is better written as:

    MyObject = {a: 3, b:5, c:8};

    You can iterate through the names of the keys of myObject, with i in myObject {...}, but still there is no guarantee of order. In ExtendScript, you could use myObject.reflect.properties to return the keys in a table, but you will get some extra junk and it's not really consider good practices to use the objects of reflection in non debug code.

    If you are wanting to do this, you are probably not using objects correctly.

    Can you tell us more about the problem you are trying to solve, please?

  • Cannot get the value

    Hello

    I'm trying to get the value of salesmgr below xml using the query

    Select extract (' object_value, ' / abcprj:Project/@salesMgr','xmlns:abcprj="http:/sun.com/com/sun/cd/prj/1.0 ')

    ') of Project2

    However, I have some selected lines. I'm trying to get John Smith. Can someone please help me correct the request.

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

    "< abcprj:Project activeSubProject="//@subProjects.0 "startDt =" "2014-01 - 18 T 09: 56:23.491 - 0800 ' salesMgr ="John Smith""

    "' xmlns:abcprj="http:/sun.com/com/sun/cd/prj/1.0 ' xmlns:xmi = ' http://www.omg.org/XMI "xmi:version ="2.0"> "

    < subPrj = 'Test' mfg name = 'USA' >

    < / subPrj >

    < / abcprj:Project >

    Thank you

    Please close this message. content XML was bad so above query did not work.

  • Cannot get the value of the text element

    Hello

    I have a screen in the text field and I'm defining its value via javascript (using $s). If I keep the point as display text (does not save the State), I can see the value set, but get the undefined when I try to access it.
    If, on the other hand, I put it as (State record) I don't even set and get still undefined.

    Can someone please tell me how I can get its value or to register the value provided by the javascript?

    Thank you.
    Andy.

    PS You forgot to mention, I work with Apex 3.2

    Published by: Andy, 20 Sep, 2010 17:53

    This can help

    Re: Editing session with javascript State

  • Cannot get the value of capacity or free space with vCO vCenter plug-in 5.5.1


    Hi all

    As indicated in the title, as I migrated my devices vCO to vCO 5.5.1 (connected to 5.0 vCenters) 5.1 (connected to 5.5 Server devices vCenters) capacity and freeSpace from a given data store fields always show 0GO as value (although the provisonnedSpace displays a correct value).

    I tried to use the datastore.summary.capacity and datastore.summary.freeSpace properties, but they always return a value of 0.

    Are these properties obsolete or unusable with the 5.5.1 plugin?

    Thank you for your help.

    BZ

    Usually resolves such issues with lack of properties or values not updated, you should:

    1. take the latest technical preview of the plugin by (Version of technical overview of VMware vCenter Orchestrator plug-in for VMware vSphere 5.5.x)

    2 disable the inventory service in setting the property "com.vmware.o11n.vim.useInventoryService" to "false" (in vmo.properties).

    • Ability to disable the use of the service of inventory by setting the value of the java system property "com.vmware.o11n.vim.useInventoryService" to "false" (in vmo.properties).

    It will be useful.

  • DBMS_SQL cannot get the value of static column.

    The code below, it works fine. But when the query is modified as
     select id, name, 'NOT', date from example_table
    the * 'NO' * cannot be retrieved by DBMS_SQL. COLUMN_VALUE.

    The result looks like

    1, Tom, 06/03/2013
    1, Jack, 03/06/2013
    1, Pete, 03/06/2013

    But I want that:

    1, Tom, NO, 2013/06/03
    1, Jack, NOT 2013/06/03
    1, Pete, NO, 2013/06/03

    Can someone test this and have a solution for this?
            DECLARE
               v_curid    NUMBER;
               v_desctab  DBMS_SQL.DESC_TAB;
               v_colcnt   NUMBER;
               v_name_var  VARCHAR2(10000);
               v_num_var   NUMBER;
               v_date_var  DATE;
               v_row_num    NUMBER;
                p_sql_stmt VARCHAR2(1000);
            BEGIN
                v_curid := DBMS_SQL.OPEN_CURSOR;
                p_sql_stmt :='SELECT * FROM emp';
                DBMS_SQL.PARSE(v_curid, p_sql_stmt, DBMS_SQL.NATIVE);
               DBMS_SQL.DESCRIBE_COLUMNS(v_curid, v_colcnt, v_desctab);
    
               -- Define columns:
               FOR i IN 1 .. v_colcnt LOOP
                IF v_desctab(i).col_type = 2 THEN
                    DBMS_SQL.DEFINE_COLUMN(v_curid, i, v_num_var);
                    ELSIF v_desctab(i).col_type = 12 THEN
                    DBMS_SQL.DEFINE_COLUMN(v_curid, i, v_date_var);
                    ELSE
                    DBMS_SQL.DEFINE_COLUMN(v_curid, i, v_name_var, 50);
                    END IF;
                END LOOP;
                v_row_num := dbms_sql.execute(v_curid);
                -- Fetch rows with DBMS_SQL package:
                WHILE DBMS_SQL.FETCH_ROWS(v_curid) > 0 LOOP
                    FOR i IN 1 .. v_colcnt LOOP
                    IF (v_desctab(i).col_type = 1) THEN
                            DBMS_SQL.COLUMN_VALUE(v_curid, i, v_name_var);
                    ELSIF (v_desctab(i).col_type = 2) THEN
                            DBMS_SQL.COLUMN_VALUE(v_curid, i, v_num_var);
                    ELSIF (v_desctab(i).col_type = 12) THEN
                            DBMS_SQL.COLUMN_VALUE(v_curid, i, v_date_var);
                    END IF;
                END LOOP;
                END LOOP;
                DBMS_SQL.CLOSE_CURSOR(v_curid);
             END;
             /
    Published by: frank1018 on June 4, 2013 16:35

    Published by: frank1018 on June 4, 2013 16:41

    The data type is 'NO' tank (3), which is the type of data 96. See http://docs.oracle.com/cd/E11882_01/server.112/e26088/sql_elements001.htm#i54330
    I changed 'IF (v_desctab (i).col_type = 1)' in

    IF (v_desctab(i).col_type in ( 1, 96)) THEN
    

    and it retrieves the "NOT".

    I suggest one

    ELSE raise_application_error(-20000, 'I dont understand data type ' || v_desctab(i).col_type || ' in ' || p_sql_stmt );
    

    so you can see what goes wrong.

    I also suggest giving an alias of column for the 'DO NOT' so it has an explicit column names. i.e.

    p_sql_stmt :='select empno, ename, ''NOT'' ncol, hiredate from emp';
    

    Published by: davidp 2 on June 4, 2013 16:38

  • Cannot get the value of the property "trimChars.

    When I try to install FP I get this:

    Please let me know how to proceed.

    Thank you

    Phil

    Download the Adobe Flash Player installer directly by clicking on one of the following links.

    Flash Player ActiveX (Internet Explorer)

    Flash Player plug-in (all other browsers)

    If the direct links do not work, you will need to try another browser like Firefox to download.

  • Cannot get the value of the column amount in Pivot Table Preview

    Hi all
    I have the XML data and creating PivotTable to cross tab report RTF.
    I have the coulumn of the year which is dynamic. Under the present the amount displayed as zero 0 in preview. But the data are available in the XML file.

    Please let me know if something is missing.

    Thank you.

    Hi Adam,.

    The latter, a lot of scenario here, see
    http://winrichman.blogspot.com/search/label/cross%20tab

  • How to get the value of an xml element attributes

    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0

    I'm trying to parse an XML document

    < response >
    < well uwi = "102112900816W400" > < / well >
    < production >
    < PRODUCING_ENTITY >
    < NUMBER YEAR = '2009' >
    < NUMBER of MONTHS = LAST_DAY '1' = "31" / >
    < NUMBER of MONTHS = LAST_DAY '2' = "28" / >
    < NUMBER of MONTHS = LAST_DAY "3" = "30" / >
    < / YEAR >
    < NUMBER YEAR = '2010' >
    < NUMBER of MONTHS = LAST_DAY '1' = "31" / >
    < NUMBER of MONTHS = LAST_DAY '2' = "28" / >
    < NUMBER of MONTHS = LAST_DAY "3" = "30" / >
    < / YEAR >
    < NUMBER YEAR = '2011' >
    < NUMBER of MONTHS = LAST_DAY '1' = "31" / >
    < NUMBER of MONTHS = LAST_DAY '2' = "28" / >
    < NUMBER of MONTHS = LAST_DAY "3" = "30" / >
    < / YEAR >
    < NUMBER YEAR = '2012' >
    < NUMBER of MONTHS = LAST_DAY '1' = "31" / >
    < NUMBER of MONTHS = LAST_DAY '2' = "28" / >
    < NUMBER of MONTHS = LAST_DAY "3" = "30" / >
    < / YEAR >
    < / PRODUCING_ENTITY >
    < / production >
    < / well >
    < well uwi = "100092900816U400" > < / well >
    < production >
    < PRODUCING_ENTITY >
    < NUMBER YEAR = "1999" >
    < NUMBER of MONTHS = LAST_DAY '1' = "31" / >
    < NUMBER of MONTHS = LAST_DAY '2' = "28" / >
    < NUMBER of MONTHS = LAST_DAY "3" = "30" / >
    < / YEAR >
    < NUMBER YEAR = '2000' >
    < NUMBER of MONTHS = LAST_DAY '1' = "31" / >
    < NUMBER of MONTHS = LAST_DAY '2' = "28" / >
    < NUMBER of MONTHS = LAST_DAY "3" = "30" / >
    < / YEAR >
    < NUMBER YEAR = '2001' >
    < NUMBER of MONTHS = LAST_DAY '1' = "31" / >
    < NUMBER of MONTHS = LAST_DAY '2' = "28" / >
    < NUMBER of MONTHS = LAST_DAY "3" = "30" / >
    < / YEAR >
    < NUMBER YEAR = "2003" >
    < NUMBER of MONTHS = LAST_DAY '1' = "31" / >
    < NUMBER of MONTHS = LAST_DAY '2' = "28" / >
    < NUMBER of MONTHS = LAST_DAY "3" = "30" / >
    < / YEAR >
    < / PRODUCING_ENTITY >
    < / production >
    < / well >
    < / answer >

    For the purposes of the practice, I have saved this in my table tdw_test_xml_files;

    My goal is to get the /WELL/@uwi and /YEAR/@NUMBER

    UWI YEAR
    ------ ---------------
    102112900816W400 2009
    102112900816W400 2010
    102112900816W400 2011
    102112900816W400 2012
    100092900816U400 1999
    100092900816U400 2000
    100092900816U400 2001
    100092900816U400 2003


    I tried this... but I can't get the value of the attribute for the element < YEAR >

    Select r.uwi, r.year
    of tdw_test_xml_files.
    XMLTABLE
    (
    "for $WELL in $ response/WELL/good.
    for $DEPT to $UWIIDX in $WELL, Production, PRODUCING_ENTITY, YEAR
    return < RESULT >
    University of the West Indies West <>{fn:data($WELL/@uwi)} < / UWI >}
    {
    $WELL/production/PRODUCING_ENTITY/YEAR [$UWIIDX]-> (I don't know how to extract the value of the attribute here)
    }
    < / RESULT > '
    passing FILECONTENT as 'GOOD '.
    columns
    UWI VARCHAR (50),
    YEAR vARCHAR2 (24)
    ) r
    /


    If I do this; I get the Cartesian plan result set, which is not my goal

    SELECT xtab.*, xtab2.*
    OF tdw_test_xml_files, XMLTable (' for $i in/Response/Well)
    Return $i"
    PASSAGE filecontent
    Uwi varchar2 COLUMNS (50) PATH'@uwi'
    rn for ORDINALITE
    ) xtab
    , XMLTable (' for $i in/Response/Well/Production/PRODUCING_ENTITY/YEAR)
    Return $i"
    PASSAGE filecontent
    COLUMNS year varchar2 (50) PATH'@NUMBER'
    ) xtab2;

    Any help will be highly appreciated thanks...

    I'm just curious to know how make the query now in unique XMLTable, not that I am forced by using x number of xmltable; - P, just look more clean...

    Here goes:

    SQL> SELECT x.*
      2  FROM tdw_test_xml_files t
      3     , XMLTable(
      4         'for $i in /Response/Well
      5            , $j in $i/Production/PRODUCING_ENTITY/YEAR
      6            , $k in $j/MONTH
      7          return element r {
      8            $i/@uwi
      9          , element year  {data($j/@NUMBER)}
     10          , element month {data($k/@NUMBER)}
     11          }'
     12         passing t.filecontent
     13         columns uwi   varchar2(50) path '@uwi'
     14               , yr    varchar2(4)  path 'year'
     15               , mon   varchar2(2)  path 'month'
     16       ) x
     17  ;
    
    UWI                            YR   MON
    ------------------------------ ---- ---
    102112900816W400               2009 1
    102112900816W400               2009 2
    102112900816W400               2009 3
    102112900816W400               2010 1
    102112900816W400               2010 2
    102112900816W400               2010 3
    102112900816W400               2011 1
    102112900816W400               2011 2
    102112900816W400               2011 3
    102112900816W400               2012 1
    102112900816W400               2012 2
    102112900816W400               2012 3
    100092900816U400               1999 1
    100092900816U400               1999 2
    100092900816U400               1999 3
    100092900816U400               2000 1
    100092900816U400               2000 2
    100092900816U400               2000 3
    100092900816U400               2001 1
    100092900816U400               2001 2
    100092900816U400               2001 3
    100092900816U400               2003 1
    100092900816U400               2003 2
    100092900816U400               2003 3
    
    24 rows selected
     
    
  • How to get the value of the global element using javascript or ajax!

    Hello!

    How can I read at global(point application created in the shared components) using ajax or javascript?
    You can imagine that I need to get the value of this element by function as:
    -----
    Function getText() {var itemVal = $x ('MY_GLOBAL_ITEM') .value;}  Return itemVal; }
    -----
    .. .but I can't do it because it is not made to couse of the page it is global element! so, anyone know no work around to do?
    I know that I can make point page and read the value of that, but not what I really need!
    If I have 100 pages and all pages need to use my function, it would take 100 Articles :) - that's why its no good average!

    Please, share your ideas!

    THX

    Rafix,

    You must use a little AJAX to retrieve a request element value. Three steps in this solution. Implementation of a callable JavaScript function, creating an application process on the request and call the JavaScript function with dynamic action.

    1 set up a JavaScript function that can be called by:

    This function calls the process of application level which has a visibility of the element of your application and then returns the value of points.

    Edit your page and JavaScript code according to the code in the 'function and Variable global statement' of your page. You can also add to the model page, that you use, but you also have to encapsulate this code in the script tags.

    getAppItem = function(pItemName){
        var get = new htmldb_Get(null,$v('pFlowId'),'APPLICATION_PROCESS=GET_APP_ITEM',$v('pStepId'));
        get.addParam('x01',pItemName);
        gReturn = get.get();
        get = null;
        return gReturn;
    }
    

    2. creating an application on request process:

    The application of level process has visibility to your application-level element. It is to retrieve the value of points and it prints the htp buffer. Essentially, this acts as a way to return the values of AJAX calls (the javascript function we set previously);

    go to the shared components > procedures > Create.

    Point process: "We Demand: run this application...". »
    Name: GET_APP_ITEM
    Type: Anonymous PL/SQL block

    declare
       -- get the item name passed into the JavaScript function.
       app_item_name varchar2(30) := apex_application.g_x01;
    begin
        -- print its value to the buffer
        htp.p(v(app_item_name));
    end;
    

    3. call the JavaScript function with dynamic action:

    The function call allows to specify an application-level element name and have its returned value. The trigger event is specific to what you need, but the action must be of type to run JavaScript code. In my case immediately the value of P1_NUMBER to my value of demand points. This code doesn't have to be in a dynamic action, but it helps to stay organized. you could call it from any script tag.

    $s('P1_NUMBER',getAppItem('MY_APP_ITEM'));
    

    See you soon,.
    Janet Tyson

  • How to get the value of the element of choice of message in application of process?

    Hello

    In the method of application of the process of the page controller
    I need to get the value of the element of choice of message on the page and then pass the value to am method to call a vo query that requires message value as parameter choice
    I tried

    Weekend OAMessageChoiceBean = (OAMessageChoiceBean) webBean.findChildRecursive ("WkEndList");
    If (weekend! = null)
    System.out.println ("sag down:" + weekend.getValue (pageContext));

    am.invokeMethod ("initQuery", end of week);


    but I'm getting null for the value of the weekend, although the page is shows the values in the drop down.


    Help, please.

    Thank you Gyan,

    I mentioned to use PPR only when the call must be made immediately after the selection of the value.

    If you are looking for value without preconditions,
    GYAN suggested use String WkEndListValue = (String) pageContext.getParameter ("WkEndList");
    You should get the value.

    Thank you

    With respect,
    Kali.
    OSSI.

  • How can I get the value of the element checked a box to tick LOV?

    Hi all

    I need to insert rows into a table when a checkbox element is checked.
    The checkbox element is a LOV in a form.
    -----------------------
    Select the DESCRIPCIÓN display_value, ID_DOCUMENTO return_value
    of DOCUMENT
    order by 1
    ------------------------------

    Source
    ------------------------------
    DECLARE
    CURSOR C_REG_DOC IS SELECT ID_DOCUMENTO FROM REGISTRO_DOCUMENTO WHERE ID_REGISTRO =: P6_ID_REGISTRO;
    v_id_documento documento.id_documento%TYPE;
    v_results VARCHAR2 (50);
    Boolean v_first_loop: = true;
    BEGIN
    for this loop C_REG_DOC
    If v_first_loop then
    v_results: = it.ID_DOCUMENTO;
    v_first_loop: = false;
    on the other
    v_results: = v_results |': ' | it.ID_DOCUMENTO;
    end if;
    end loop;
    Return v_results;
    END;
    --------------------------

    I need to create a process to insert rows in a relational table, but I do not know how...
    ------------------
    FOR *? *
    LOOP
    INSERT INTO registro_documento (id_reg_documento, id_registro, id_documento)
    VALUES(null,:P4_ID_REGISTRO,???);
    END LOOP;
    ---------------

    How can I get the value of the active element (id_documento) to insert it?

    Thank you!

    Alex

    Hello:

    You can use the apex_util.string_to_table function to retrieve the values of the LOV as shown in the example

    declare
    arr wwv_flow_global.vc_arr2;
    begin
    arr:= apex_util.string_to_table(:P_CHECKBOX_LOV_ITEM)
    for x in arr.first..arr.last loop
    // insert statement
    iNSERT INTO registro_documento( arr(i) ,.........id_reg_documento,id_registro,id_documento)
    end loop;
    end;
    

    CITY

  • Get the value of the element for PL/SQL procedure

    Hello, I am very new to apex development, so this is probably a simple question.

    I created a procedure that uses PL/SQL to insert rows in a table. The PL/SQL work correctly when I have to hardcode values. But when I try to get the values of the form elements, the values are not inserted into the table.

    I'm referencing the item using the syntax: nom_element.
    What is the right syntax? Is there anything else I need to do for the element or in the procedure to get the value of the element.

    INSERT INTO SOURCE_ITEM (UNIQUE_ID, ORIGIN, DESTINATION, TECHNIQUE, TEAM, SMB, WATCH_FLAG, PASS_THROUGH_FLAG, DESCRIPTION, LAST_MODIFIED_DATE)
    VALUES
    (: P34_UNIQUE_ID,: P34_ORIGIN_OF_CONTENT_2, 'AAA', 'PLATFORM', ' THE TEAM X "," EMS X ","N","N",: P34_GENERAL_DESCRIPTION, SYSDATE);

    In compiled units, you must use the function of v, for example, v ('P34_UNIQUE_ID').

    Scott

Maybe you are looking for

  • Scrambled, mixed emails

    Windows 7 64-bit SP1Intel Core i7-3770 CPU @ 3.40 GHz32.0 GHz RAMNVIDIA GeForce GTX 580 I think I have a disaster here and I need some help, please. I just started Thunderbird and opens an e-mail that I had seen before. The content was NOT the mail t

  • TimeMachine will not recognize Backup Capsule

    Hello! I have a little (big) problem with my Time Capsule. My retina 13 "mcp argued until my Time Capsule (2 TB last gen) for about 2 years. This time I was with backing up my backups (yup) and made a copy of sparsebundle Capsule on another machine.

  • HP MINI 110-1046NR {CNU0074L49): BIOS PASSWORD}

    HELLO, PLS I FORGOT MY BIOS PASSWORD CAN SOMEONE HELP ME HOW TO GET INTO MY SYSTEM BACK? THE DETAILS OF MY SYSTEM IS... HP MINI 110-1046NR... CNU0074L49. THS... GOD BLESS YOU ALL

  • Cannot boot from CD - DVD in LEGACY mode - NO Secure Boot UEFI NOT

    You just bought an Optiplex 7010 minitower with Win 8 Pro 64 - bit, 8 GB of RAM, 500 GB HDD and an Intel i5 processor 3470.  Now he has BIOS version A16. It is normally ON UEFI and Secure Boot on IT and F12 at startup does NOT normally display the CD

  • Unhandled exception occurred

    Unhandled exception has occurred in your application. If you click on continue the application will ignore this error and attempt to continue. If you click on exit, the application closes immediately. Input string was not in the correct format. . See