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.

Tags: Oracle Development

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.

  • 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.

  • 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

  • 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

  • ([JDev12c, ADF] 1) how to get the value of a field of the line currently selected in question 2) af:table: flowScope

    Hallo,

    How can I get the value of a field in the row that is currently selected in an af:table?

    I need to pass this value to a setCurrentRowWithKeyValue who took the record to display in another (by a button) called page:

    Limited workflow

    Page1 - goToPage2-> setCurrentRowWithKeyValue-> PAGE2

    I defined a managed bean flowScope for the workflow in which I created the variable 'CodeToSetPage2Row '.

    I will store the value of the field for the selected line in this variable so that I can move on to the setCurrentRowWithKeyValue.

    Could be this method OK? Ore is there any good practice to achieve this goal?

    The managed bean flowScope used to go to the stubborn task may take some values from the outside?

    The workflow defined will be executed in a dynamic region.

    Thank you

    Federico

    Federico, you cannot use a flow variable scope for this page. The region has no access to the bean. You must use a workflow for this parameter.

    To get an attribute of the currently selected line you make slide data vo of control on the page attribute. This will create a link attribute for this attribute. Once this link exists, switch to source mode and remove the component that you do not want.

    The framework passes the value of the current row in this affair of the attribute (table should be in single selection mode).

    Click on the button, you switch the binding of the attribute for the setting of task flow using a setPropertyListener.

    In the workflow, you call the setCurrentRowWithKeyValue with the parameter of workflow as the default activity.

    Timo

  • Getting the value of a Boolean value defined in the pageFlowScope...

    I have a link on one of my feeds defined task as a java.lang.Boolean with a value type of #{pageFlowScope.isAdmin}.  For the test, in my PageDefFile, I have the parameter defined as: < parameter id = "isAdmin" value = "false" / >

    In my managed bean, I'm trying to access the value of the "isAdmin" binding as follows:

    Boolean isAdmin = (Boolean) flowScope.get ("isAdmin");


    This gives me a caused by: java.lang.ClassCastException: java.lang.String cannot be cast java.lang.Boolean when I try to run the action.

    What I'm doing wrong here?  I know it's something stupid, but it's just one of those days... Thank you!

    write as

    to get the value in use of pageflowscope below

    ADFContext adfCtx = ADFContext.getCurrent();

        Map pageScope = adfCtx.getPageFlowScope();

     String appScopeValue=  (String)pageScope.get("vinay");

    Read more: http://www.techartifact.com/blogs/2012/10/setting-the-value-in-different-scope-in-adf-in-programmatic-way.html#ixzz30ISmbA9S

    to try to channel Boolean value as

    Boolean value = Boolean.parseBoolean (strBoolean);

  • How to get the value with DBSequence in EL links

    Hello

    I have a DBSequence type id and check if the value is null or positive

    #{bindings. Id.inputValue! = null and links. Id.inputValue > 0? {"Edit": "Create"} does not work because the links. Id.inputValue returns a DBSequence and cannot convert Long

    How to get the value?

    JDev 11.1.1.6

    You can try this:

    #{bindings. Id.inputValue.sequenceNumber.value! = null and links. Id.inputValue.sequenceNumber.value > 0? {'Edit': 'Create'}

    Jean Lou

  • Cannot get the "&lt; FEFF &gt;" string in the selected text [indesign CS6]

    Hello world!

    I can't get the string to the selected text. The selected text contains several xml tags.

    In adobe indesign cc version of 2014, the selected text is bring the string «< FEFF >» tags

    In indesign adobe cs6 version cannot get the string "< FEFF >. they do ""-empty space.

    Screen Shot 2015-09-23 at 6.01.25 PM.png

    Are the above-selected text contains several xml tags.

    but I get content using script code can't get the string.

    Screen Shot 2015-09-23 at 6.02.51 PM.png

    the script gives the result, xml tags are converted to "". ""  I expect "< FEFF >.

    I expect the output is: "< FEFF > Applescript < FEFF > < FEFF > selected text < FEFF > < FEFF > < FEFF >."

    Please help me...

    Thank you

    John Peter.

    the script gives the result, xml tags are converted to "". ""  I expect to ''.

    The xml tags are not converted to "" but "\uFEFF" (zero-width space non-bec), it is the character used to represent the tags in a text frame. Looks like the apple script converts a hexadecimal representation unicode values.

  • How to get the values of page jspx (view layer) to the custom method defined in AM

    Hello

    I have 1 text field and 1 submit to homepage.jspx. When I click the button submit, it will call the custom method defined in the 'Module of the Application' java class (ApplicationModuleImpl.java). Can I know how to get the value of this text field in this custom method.

    I used the getter and setter method, however it didn't work as it is defining the value correctly, but get method returns null. Its not allowing to use FacesContext. Could someone please tell me how to get the value of the text field to this custom method (that is, using ADFContext,... something like that)

    Thanks in advance

    User,
    you have mixed up something here. Bean (as you did) cannot use the module of the application. They belong to different layers.
    I suggest you to look at some first tutorials (http://docs.oracle.com/cd/E18941_01/tutorials/toc.htm) or watch the developer guide http://docs.oracle.com/cd/E16162_01/web.1112/e16182/toc.htm and take a look at some of the videos http://www.oracle.com/technetwork/developer-tools/adf/learnmore/adfinsider-093342.html

    Timo

  • How to get the value if the function selection cursor?

    Hello, I have a problem with the cursor, I can't get the value, please help me
    example of
    declare
               bien varchar2(30000);
               cursor cs3 is SELECT DBMS_METADATA.GET_DDL('TABLE',TABLE_NAME) as structure FROM user_tables ;
    begin
     for w in cs3
      loop
            bien:=bien||*w.structure*||'+';  -- w.structure not run  or w.DBMS_METADATA.GET_DDL('TABLE',TABLE_NAME) not run too ?
      end loop;
    end;
    Thank you

    First of all do work, then make it fancy.

    First operate for a single table, before too much complication with LOOP for each table, the schema property.

    If you cannot get the results desired for a single table, then he fails for each table.

Maybe you are looking for