pageContext.getParameter not retrieve the value of VO

Dear,

I use (pageContext.getParameter) to retrieve the value of messageTextInput when I click on submit and it works very well. But when I linked the messageTextInput with the VO attribute it returns value. Please I need your help with this.

This is my code for CO

/*===========================================================================+
 |   Copyright (c) 2001, 2005 Oracle Corporation, Redwood Shores, CA, USA    |
 |                         All rights reserved.                              |
 +===========================================================================+
 |  HISTORY                                                                  |
 +===========================================================================*/
package g4s.oracle.apps.po.suppliers.server;


import java.io.Serializable;


import oracle.apps.fnd.common.MessageToken;
import oracle.apps.fnd.common.VersionInfo;
import oracle.apps.fnd.framework.OAApplicationModule;
import oracle.apps.fnd.framework.OAException;
import oracle.apps.fnd.framework.webui.OAControllerImpl;
import oracle.apps.fnd.framework.webui.OADialogPage;
import oracle.apps.fnd.framework.webui.OAPageContext;
import oracle.apps.fnd.framework.webui.TransactionUnitHelper;
import oracle.apps.fnd.framework.webui.beans.OAWebBean;
import g4s.oracle.apps.po.suppliers.server.common.SuppliersVO;


import oracle.jbo.ViewObject;




/**
 * Controller for ...
 */
public class SuppliersInfoCO extends OAControllerImpl 
{
    public static final String RCS_ID = "$Header$";
    public static final boolean RCS_ID_RECORDED = VersionInfo.recordClassVersion(RCS_ID, "%packagename%");


    /**
     * Layout and page setup logic for a region.
     * @param pageContext the current OA page context
     * @param webBean the web bean corresponding to the region
     */
    public void processRequest(OAPageContext pageContext, OAWebBean webBean) 
    {
        super.processRequest(pageContext, webBean);
        if (!pageContext.isBackNavigationFired(false)) 
        {
            TransactionUnitHelper.startTransactionUnit(pageContext, "SupplierApprovalTxn");
            if (!pageContext.isFormSubmission()) 
            {
                OAApplicationModule am = pageContext.getApplicationModule(webBean);
                ViewObject MyVO = am.findViewObject("SuppliersVO1");
                MyVO.setNamedWhereClauseParam("vdr_id", pageContext.getParameter("vdr_id"));
                MyVO.executeQuery();
            }
        }
        else
        {
            if (!TransactionUnitHelper.isTransactionUnitInProgress(pageContext, "SupplierApprovalTxn", true)) 
            {
                OADialogPage dialogPage = new OADialogPage(STATE_LOSS_ERROR);
                pageContext.redirectToDialogPage(dialogPage);
            }
        }
    }


    /**
     * Procedure to handle form submissions for form elements in
     * a region.
     * @param pageContext the current OA page context
     * @param webBean the web bean corresponding to the region
     */
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean) 
    {
        super.processFormRequest(pageContext, webBean);
        //SupplierAMImpl am = (SupplierAMImpl)pageContext.getApplicationModule(webBean);
        //String xx = "ApprovalBTN";
        //Serializable[] parameters = { xx };
        //am.invokeMethod("TriggerApproval", parameters);
        String userContent = pageContext.getParameter("SupplierNameEnITM");


        MessageToken[] tokens = { new MessageToken("SUP_NAME",userContent) };
        OAException confirmMessage = new OAException("PO", "WF_PO_SUPPLIER", tokens, OAException.CONFIRMATION, null);
        pageContext.putDialogMessage(confirmMessage);
    }


}

print pageContext.getParameter ("vdr_id") and see what he's back

Tags: Oracle Applications

Similar Questions

  • Retrieve the value of Dialog.ask

    I am trying to write a function that will create a context menu using Dialog.ask and return the result of the dialog box to the calling Thread.  So far I have somethings like this:

    //display a pop-up "Yes or No" box and return true for yes, false for no
    public boolean ask(final String question){
        UiApplication.getUiApplication().invokeLater (new Runnable(){
                                                          public void run(){
                                                              int answer = Dialog.ask(Dialog.D_YES_NO, question, Dialog.NO);
                                                              if(answer == Dialog.YES){
                                                                  //somehow return true                                                          }
                                                              else{
                                                                  //somehow return false                                                          }
                                                       }});
    }
    

    I've seen a similar thread, but I didn't know how to use the solution.

    http://supportforums.BlackBerry.com/T5/Java-development/getting-values-back-from-runnable-dialog-ask...

    In short, how to use DialogClosedListener to retrieve the value of Dialog.ask to ?

    First of all, you probably want to use invokeAndWait so that the calling thread is blocked until the Runnable.run () ends. After that, one solution is to store the result of somewhere. For example, the subclass of the floor and add a field where you store the value (a more general concept of an executable that can return a value in J2SE is the future, but it is not available out of the box in J2ME). Once completed invokeAndWait, you can read this field. Alternatively, you may return the value by changing something in the outer class (one that contstructs the Runnable). For example,.

    final int[] result = new int[1];
    UiApplication.getUiApplication().invokeAndWait(new Runnable() {
      public void run() {
        result[0] = Dialog.ask(...);
      }
    });
    
    int choice = result[0];
    ...
    
  • [ADF, JDev12.1.3] SelectOneChoiche created from VO instance with 3 fields: how to retrieve the value of all the fields of the selected element?

    Hallo,

    I defined a VO with 3 fields (A, B and C) and I would like to create a SelectOneChoiche that shows only the field as options from this instance of VO.

    In a managed bean, I need to retrieve the values for all areas (A, B and C) of the item selected by the user.

    I started dragging the entire VO instance to UI to create a SelectOneChoiche (in which I have chosen to show only the to field).

    Then, I created a for the SOC ValueChangeListener read the values A, B and C of the selected element, but the only thing I've done is to get the displayed value:

    System.out.println((String) ((RichSelectOneChoice) FacesUtils.findComponent("MySoc")).getValue());
    

    You kindly help me?

    Thank you

    Federico

    Federico, sorry I didn't see your answer.

    As you use 12.1.3 you can do this more easily than the code that I posted before. You can use

    {} public void onCountrySelection (ValueChangeEvent valueChangeEvent)

    FacesContext will involve = FacesContext.getCurrentInstance ();

    Make sure that the selection change is processed and the current link lov line has the new selected line

    valueChangeEvent.getComponent () .processUpdates (contxt);

    BindingContext lBindingContext = BindingContext.getCurrent ();

    BindingContainer lBindingContainer = lBindingContext.getCurrentBindingsEntry ();

    List JUCtrlListBinding = lBindingContainer.get ("CountryId") (JUCtrlListBinding);

    the newindex in not necessary, but ok let's get it (must be equal to the CountryId, the pharmacokinetics of the binding of the lov

    String newindex = (String) valueChangeEvent.getNewValue ();

    get the selected value in the list that is the selected line of the binding of the lov

    Line lFromList = list.getSelectedValue () (line);

    now, we can get the attributes of the line of lov

    String s = (String) lFromList.getAttribute ("CountryId");

    System.out.println ("CountryId:" + s);

    String s2 = (String) lFromList.getAttribute ("CountryName");

    System.out.println ("CountryName:" + s2);

    BigDecimal s3 = lFromList.getAttribute("RegionId") (BigDecimal);

    System.out.println ("RegionId:" + s3.toString ());

    }

    The form that I use is based on the location of the HR DB schema table. The CountryId is configured in the view object to display a lov based on the campagneVoir. This view contains thre CountryId, CountryName and RegionId attributes.

    If you want to get to the attributes of an action listener you can use this code

    {} public void onGetSelectedCountryLov (ActionEvent actionEvent)

    BindingContext lBindingContext = BindingContext.getCurrent ();

    BindingContainer lBindingContainer = lBindingContext.getCurrentBindingsEntry ();

    List JUCtrlListBinding = lBindingContainer.get ("CountryId") (JUCtrlListBinding);

    get the selected value in the list that is the selected line of the binding of the lov

    Line lFromList = list.getSelectedValue () (line);

    now, we can get the attributes of the line of lov

    String s = (String) lFromList.getAttribute ("CountryId");

    System.out.println ("CountryId:" + s);

    String s2 = (String) lFromList.getAttribute ("CountryName");

    System.out.println ("CountryName:" + s2);

    BigDecimal s3 = lFromList.getAttribute("RegionId") (BigDecimal);

    System.out.println ("RegionId:" + s3.toString ());

    }

    You must add the valueChangeListener and at least add the lines

    FacesContext will involve = FacesContext.getCurrentInstance ();

    Make sure that the selection change is processed and the current link lov line has the new selected line

    valueChangeEvent.getComponent () .processUpdates (contxt);

    to ensure that the selected line is available when you click the button.

    And set autosubmit'= true for the field in the UI that displays the LOV.

    Timo

  • search form Web apps: how to retrieve the value of the data-source type field

    Hello

    My question is:

    How can I retrieve the value of the source field of a web - app data-types when you insert the "form web search apps" on a web page.

    I have a web application that contains fields from the data source of the type. These fields to recover the (data) value of the 'web app' - 'elements of the field' field of another web application.

    When I insert the form

    Web apps

    Web apps-search form

    Name of the Web application

    It displays the fields with the field (ie. string, number) types other than type of field 'data source '.

    (Note: in the mode 'model of list' module of data tags, the fields of the data source are visible).

    What other (alternative) possibilities are there to create a search form?

    Thanks for your help.

    Kind regards

    Carla

    By chance, I came up with this workaround. Of course there are other methods to get your data from a web - app, but if you want to use the 'Web apps search form', it would be a workaround.

    I noticed that the "Web apps entry form" contains all the fields of web applications for your web application (including the fields of the data source).

    It is possible to add the fields to the form of the "Web apps entry form" in the «Web apps search form»

    If you insert the "Web apps entry form" on a blank page, you will see all the fields in your web App including the "data source fields. The names of form fields contain something like.

  • selectOneRadio does not recover the value of database

    Hello world!

    I use Jdev 12.1.2 and I am following the steps of:

    Store different values for those posted by using a selectOneRadio - YouTube

    Because I have exactly the same use cases (see a group with values ' Yes/no' radio and store "Y/N" values in the database)

    My problem, the page is not to retrieve the value stored in the DB and always displays 'Yes'.

    Any idea about it?


    Kind regards

    Jose.

    Double you have verified that you have followed ask the steps in the video?

    Timo

  • How to retrieve the values of character without using single quotes

    Hi all

    How to retrieve the values of character without the use of single quotes. Its Possible in Oracle SQL

    Please answer me...

    For example

    Is actual query-> Select * from employees where name like in("SCOTT", "JAMES", "ALBERT",...);

    I want to--> Select * from employees where name like(SCOTT, JAMES, ALBERT...); -without the use of single quotes.

    Why I need this application, I need to retrieve the records more than 200 employees in a select statement by using name in where clause.

    shagarmahabubjan wrote:

    Hi all

    How to retrieve the values of character without the use of single quotes. Its Possible in Oracle SQL

    Please answer me...

    For example

    Actual query is---> Select * from employees where name like in("SCOTT", "JAMES", "ALBERT",...);

    I want to---> Select * from employees where name like(SCOTT, JAMES, ALBERT...); -without the use of single quotes.

    Why I need this application, I need to retrieve the records more than 200 employees in a select statement by using name in where clause.

    In short... you can't.  The channels are channels, and SQL and PL languages dictate that the string literals are provided within single quotes.

    I don't see how trying to retrieve more than 200 records of employees in the select statement means that you must get rid of the quotes.

    Be clear in what you ask: Re: 2. How can I ask a question on the forums?

    and take note of the FAQ link davidp provided the solution "variable IN the list.

  • How to retrieve the value of base on the value on other nodes

    Hi, I have a XML below
    <? XML version = "1.0" encoding = "iso-8859-1"? > <? XML-stylesheet type = "text/xsl" href="C:\temp\horizontal.xsl"? " >
    < Type report = "REPORT" >
    < prop Type = 'Result' Flags = "0 x 0" > "
    < prop Name = 'STEP' Type = "Obj" Flags = "0 x 0" > "
    < prop Name = 'Sequence' >
    < prop Name = 'RList' >
    < ArrayElementPrototype Type = "TEResult" Flags = "0 x 0" > "
    < / ArrayElementPrototype >
    < value ID "[0]" = >
    < prop Type = 'Result' Flags = "0 x 0" > "
    < prop Name = "Status" Type = "String" Flags = "0x400000" > "
    < value > < / value >
    < / prop >
    < prop Name = "ReportText" Type = "String" Flags = "0x400000" > "
    < value > < / value >
    < / prop >
    < prop Name = "Common" Type = "Obj" TypeName = "CommonResults" Flags = "0 x 0" > "
    < / prop >

    < / prop >
    < / value >
    < value ID "[60]" = > = > ID is not set
    < prop Type = 'Result' Flags = "0 x 0" > "
    < prop Name = "Error" Type = "Obj" TypeName = "Error" Flags = "0x400000" > "
    < prop Name = "Code" Type = "Number" Flags = "0x400000" > "
    < value > 0 < / value >
    < / prop >
    < prop Name = "Msg" Type = "String" Flags = "0x400000" > "
    < value > < / value >
    < / prop >
    < prop Name = "occurred" Type = "Boolean" Flags = "0x400000" > "
    < value > false < / value >
    < / prop >
    < / prop >
    < prop Name = "Status" Type = "String" Flags = "0x400000" > "
    < value > spent < / value >
    < / prop >
    < prop Name = "Numeric" Type = "Number" NumFmt = "%i" Flags = "0 x 2400" > "
    < Value > * 88 * < / value > = > value I want back
    < / prop >
    < prop Name = "ReportText" Type = "String" Flags = "0x400000" > "
    < value > < / value >
    < / prop >
    < prop Name = "Common" Type = "Obj" TypeName = "CommonResults" Flags = "0 x 0" > "
    < / prop >
    < prop Name = "Units" Type = "String" Flags = "0x2000" > "
    < Value >TESTDATA< / value > = > basic data
    < / prop >

    < / prop >
    < / value >

    < / prop >
    < / prop >
    < / prop >
    < / prop >
    < / report >

    I want to retrieve the value 88 the TESTDATA found in this node, can someone show me how to recover?

    Thank you

    Vincent

    Published by: pj * April 29, 2011 01:14

    Yes, it is possible, but the query will be slightly less effective.

    SELECT XMLQuery(
            'for $i in $d/descendant::Value/Prop
             where $i/Prop[@Name="Units"]/Value = $PropValue
             return $i/Prop[@Name="Numeric"]/Value/text()'
             passing t.object_value as "d"
                   , sys_xmlgen('TESTDATA') as "PropValue"
             returning content
           ).getNumberVal()
           as result
    FROM test_xml t
    ;
    
  • How to retrieve the values of a number of column by column in pl sql

    I wanted to know how can I retrieve the values of a column just in number and not the name of the column.

    user10989720 wrote:
    I need exactly this kind of thing.

    I am retrieving the name of the column from all_tab_columns and under this column name can I retrieve values using any kind of query sub.

    Select column_name
    from all_tab_columns
    where table_name = 'QUOTE_HEADERS_EXT' and
    column_id = 58

    You're still not understanding. You need to do if you want to get the values of the table dynamically.

    Either like this:

    SQL> create or replace type t_colval is table of varchar2(4000);
      2  /
    
    Type created.
    
    SQL> ed
    Wrote file afiedt.buf
    
      1  CREATE OR REPLACE FUNCTION get_column(p_sql IN VARCHAR2, p_column_no NUMBER) RETURN t_colval PIPELINED IS
      2    v_finaltxt  VARCHAR2(4000);
      3    v_v_val     VARCHAR2(4000);
      4    v_n_val     NUMBER;
      5    v_d_val     DATE;
      6    v_ret       NUMBER;
      7    c           NUMBER;
      8    d           NUMBER;
      9    col_cnt     INTEGER;
     10    f           BOOLEAN;
     11    rec_tab     DBMS_SQL.DESC_TAB;
     12    col_num     NUMBER;
     13  BEGIN
     14    c := DBMS_SQL.OPEN_CURSOR;
     15    DBMS_SQL.PARSE(c, p_sql, DBMS_SQL.NATIVE);
     16    d := DBMS_SQL.EXECUTE(c);
     17    DBMS_SQL.DESCRIBE_COLUMNS(c, col_cnt, rec_tab);
     18    FOR j in 1..col_cnt
     19    LOOP
     20      CASE rec_tab(j).col_type
     21        WHEN 1 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_v_val,2000);
     22        WHEN 2 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_n_val);
     23        WHEN 12 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_d_val);
     24      ELSE
     25        DBMS_SQL.DEFINE_COLUMN(c,j,v_v_val,2000);
     26      END CASE;
     27    END LOOP;
     28    LOOP
     29      v_ret := DBMS_SQL.FETCH_ROWS(c);
     30      EXIT WHEN v_ret = 0;
     31      v_finaltxt := NULL;
     32      CASE rec_tab(p_column_no).col_type
     33        WHEN 1 THEN DBMS_SQL.COLUMN_VALUE(c,p_column_no,v_v_val);
     34        WHEN 2 THEN DBMS_SQL.COLUMN_VALUE(c,p_column_no,v_n_val);
     35                    v_v_val := to_char(v_n_val);
     36        WHEN 12 THEN DBMS_SQL.COLUMN_VALUE(c,p_column_no,v_d_val);
     37                    v_v_val := to_char(v_d_val,'DD/MM/YYYY HH24:MI:SS');
     38      ELSE
     39        DBMS_SQL.COLUMN_VALUE(c,p_column_no,v_v_val);
     40      END CASE;
     41      PIPE ROW (v_v_val);
     42    END LOOP;
     43    DBMS_SQL.CLOSE_CURSOR(c);
     44* END;
    SQL> /
    
    Function created.
    
    SQL> select * from table(get_column('select * from emp',1));
    
    COLUMN_VALUE
    ---------------------------------------------------------------------------------------------------------------
    7369
    7499
    7521
    7566
    7654
    7698
    7782
    7788
    7839
    7844
    7876
    7900
    7902
    7934
    
    14 rows selected.
    
    SQL> select * from table(get_column('select * from emp',2));
    
    COLUMN_VALUE
    ---------------------------------------------------------------------------------------------------------------
    SMITH
    ALLEN
    WARD
    JONES
    MARTIN
    BLAKE
    CLARK
    SCOTT
    KING
    TURNER
    ADAMS
    JAMES
    FORD
    MILLER
    
    14 rows selected.
    
    SQL>
    

    Or like this:

    SQL> create or replace type t_colval is table of varchar2(4000);
      2  /
    
    Type created.
    
    SQL> ed
    Wrote file afiedt.buf
    
      1  CREATE OR REPLACE FUNCTION get_column(p_table IN VARCHAR2, p_column_no NUMBER) RETURN t_colval PIPELINED IS
      2    v_column_name VARCHAR2(30);
      3    v_rc          SYS_REFCURSOR;
      4    v_val         VARCHAR2(4000);
      5  BEGIN
      6    SELECT column_name
      7    INTO   v_column_name
      8    FROM   user_tab_columns
      9    WHERE  column_id = p_column_no
     10    AND    table_name = UPPER(p_table);
     11    OPEN v_rc FOR ('SELECT '||v_column_name||' FROM '||p_table);
     12    LOOP
     13      FETCH v_rc INTO v_val;
     14      EXIT WHEN v_rc%NOTFOUND;
     15      PIPE ROW(v_val);
     16    END LOOP;
     17    CLOSE v_rc;
     18* END;
    SQL> /
    
    Function created.
    
    SQL> select * from table(get_column('EMP',2));
    
    COLUMN_VALUE
    ----------------------------------------------------------------------------------------------------------------
    SMITH
    ALLEN
    WARD
    JONES
    MARTIN
    BLAKE
    CLARK
    SCOTT
    KING
    TURNER
    ADAMS
    JAMES
    FORD
    MILLER
    
    14 rows selected.
    
    SQL>
    
  • plugin.expose_full_path will not keep the value "false".

    I am able to change the value of the "true" to "false", but it will not retain the value 'false' to restart Firefox.

    All my plugins and extensions are uptodate. I use XP Home, also updated.

    You can check for problems with preferences and try to rename or delete the file prefs.js and possible prefs - numbered # .js and a user.js file possible to restore the values all default prefs.

  • Insider source subscription. Could not retrieve the client certificate

    Hi all

    I created subscription source initiated between two Windows 2008 R2.

    The source (client) cannot connect to the server. Logs on the client:

    Send the request for operation to the destination machine enumeration and the server.corp.domain.com:5986 port

    Authenticate the user using the Client certificate mechanism

    User authentication failed. The credentials did not work.

    Has received the answer of the layer network; status: 401 (HTTP_STATUS_DENIED)

    WSMan enumeration operation failed, error code 5

    Opens a session on the server.

    Sending HTTP error to the client after a failure of transportation.
    The HTTP status code is 503
    The error code is 995

    Could not retrieve the client certificate

    Send the HTTP 401 response to the client and disconnect the connection after sending the answer

    The user authorization failed with error 5Authorizing the user

    Authentication using client certificate with the client.corp.domain.com object is successfully

    How to fix the error "unable to retrieve the client certificate?

    Hello

    Post your question in the TechNet Server Forums, as your question kindly is beyond the scope of these Forums.

    http://social.technet.Microsoft.com/forums/WindowsServer/en-us/home?category=WindowsServer

    See you soon.

  • Possible error with module GWT.xml file. The value of time compilation agent user (ie6) does not match the value of user.agent (ie8) run time

    Hi there... How can I sort this problem as this message looks back constantly on google Account... ERROR POSSIBLE WITH GWT. The value of time compilation agent MODULE XML FILE user (ie6) does not match the value of user.agent (ie8) run time

    Hello nEve Adam,.

    Thanks for the return of the response.  Below, I've added some links Google support on this issue.  I hope this helps.

    ERROR: Problem Possible with your *. GWT.XML file module. The value of compile time user.agent (opera) does not match

    http://www.Google.com/support/forum/p/blogger/thread?TID=2d6d9bd1326a07c4&hl=en

    In addition,

    Message from Web page

    http://social.technet.Microsoft.com/forums/en-us/ieitprocurrentver/thread/53194559-306a-4ffc-a614-4bac817f178d

  • Windows 7 "the network connections folder could not retrieve the list of the network adapters on your Machine. Please make sure that the network connections service is enabled and running. »

    Get the message "the network connections folder could not retrieve the list of the network adapters on your Machine. Please make sure that the network connections service is enabled and running. "I am NOT able to connect to the internet please help. I use Windows 7 OS

    Hi Odile,

    Thanks for posting your question in the Microsoft Community forum.

    It seems that you have a problem with the connection to the Internet and receive the error message "the network connections folder could not retrieve the list of the network adapters on your Machine. Please make sure that the network connections service is active and running".


    I imagine the inconvenience that you are experiencing. We are here to help and guide you in the right direction.
    I may need a few more details to better understand the issue.
    1. did you of recent changes on the computer before this problem?
    2 do you have wireless or wired Internet connection?
    Method 1:
    We'll first run check network troubleshooting if this can help.
    Method 2:
    If the problem persists, I suggest you try the procedure described in the article and see if it helps.
    Method 3:
    If the problem persists, I suggest you try the procedure described in the article and see if it helps.
    For more information, please see the link.
    Get back to us and let us know the State of the question, I'll be happy to help you. We, at tender Microsoft to excellence.
  • Retrieves the values of XML based on filters

    I am new to use XML with oracle. This is a sample XML from an XML file, now the question is it really possible to write sql queries to extract based on a result, that is to say, if I do a clip like this extract(column_name,//Requests//RequestBody//Item//ItemHeader//ItemAction/text(),).getStringVal () then I results XL1XL2 what I need exactly is only "ItemAction" XML member value when the value is = 'Add '. which means that the final result value, I need XL1. Please note that the values I gave ablove XL1 and XL2, is flexible, that is, sometimes, it's XLLL1 some time XL1, so can't go based on the use of SUBSTR function to extract a fixed value.

    < ns3:Requests >

    < ns3:Request >

    < ns3:RequestBody >

    < ns3:Item >

    < ns3:ItemHeader >

    < ns3:ItemId > 99 < / ns3:ItemId >

    < ns3:ItemType > TypItem < / ns3:ItemType >

    < ns3:ItemAction > Add < / ns3:ItemAction >

    < / ns3:ItemHeader >

    < ns3:ItemBody >

    < ns3:ServiceItem >

    < ns3:ServiceCode > XL1 < / ns3:ServiceCode >

    < / ns3:ServiceItem >

    < / ns3:ItemBody >

    < / ns3:Item >

    < ns3:Item >

    < ns3:ItemHeader >

    < ns3:ItemId > 100 < / ns3:ItemId >

    < ns3:ItemType > TypItem < / ns3:ItemType >

    < ns3:ItemAction > Remove < / ns3:ItemAction >

    < / ns3:ItemHeader >

    < ns3:ItemBody >

    < ns3:ServiceItem >

    < ns3:ServiceCode > XL2 < / ns3:ServiceCode >

    < / ns3:ServiceItem >

    < / ns3:ItemBody >

    < / ns3:Item >

    < / ns3:RequestBody >

    < / ns3:Request >

    < / ns3:Requests >

    As I understand it, you want to return the code of service elements where the ItemHeader = "add"?  Note: You have missed your name space in the XML document, so I added a.

    with data (the_xml) as)

    Select xmltype (')

    99

    TypItem

    Add

    XL1

    100

    TypItem

    Delete

    XL2

    ')

    of the double

    )

    Select x.*

    data d

    Join the xmltable (xmlnamespaces ('somenamespace "like" ns3 "),)

    "' ns3:Requests / ns3:Request / / ns3:RequestBody / / ns3:Item [ns3:ItemHeader / ns3:ItemAction ="Add"]"

    in passing d.the_xml

    columns

    Path of varchar2 (20) conduitePlan ' ns3:ItemBody / ns3:ServiceItem / ns3:ServiceCode'

    ) x 1 = 1

    RESULT

    CONDUITEPLAN

    'XL1 '.

  • Could not access the value of the component off ValueChangeListener

    In many cases, I need to use the value of some UIComponent during execution in many places in the application. But the problem is that I could not access the value of the component outside the ValueChangeListener of this component. I tried to store this value in a temporary local variable, I also tried to use the opportunity to link , but it did not work.

    This thread changes made on the ValueChangeListener can't think where else

    said I should go ahead everything in the ValueChangeListener but is not useful in my case and it's really limit my choice later.

    So question is: How to access the value of the element external ValueChangeListener?

    I use Jdeveloper with ADF 11.1.2.3 technology

    Hello

    You can create a bean (depending on the application, choose the scope), add a variable with accessors and then use it in the 'value' property of the component.

    Arun-

  • How to retrieve the value of a custom field

    Hello @all.

    In my vCenter, I created a custom field 'email '. The value of this field is set to the e-mail address of the operator of that belongs to a virtual machine.

    I would like to retrieve these values in a perl script. But I have found a method to set the values of the custom fields. For example:

    $CustomFieldsManager -> SetField(entity => $_, key=> $emailKey, value => "[email protected]");
    

    What should I do to retrieve the value of the $emailKey key? Could someone provide a quick and dirty-snippet, please?

    Best regards

    Trondesson

    of course, in this discussion https://communities.vmware.com/message/1512863#1512863 you can see how it's done

Maybe you are looking for

  • Question: How can I format my Satellite P30

    HelloI have a P3-133 Satellite and I need to format it, but when I put the disc that it comes in the form of images? Here's the page I gt when I put the disc in: http://img129.imageshack.us/img129/9740/toshiba4eb.PNG Thank you

  • Functions are for most of the functions not

    I have an imac os x.  First my menu bar disappears never to return.  And now a lot of functions have simply stopped working.  Cannot cut and paste - or drag and drop - and so on.  This computer is ready for the junk heap?

  • recovery of my favorites since explorer 7 when I down loaded explorer 8 I lost all my favorites I had saved?

    I lost all my favorites on my list when I downloaded the new exploere 8 How to get them back?

  • AAA with RADIUS of ASA

    Hey everybody, I'm with RADIUS AAA configuration on our Firewall remote ASA.  It's pretty simple, but I have some firewall that does not work on.  I upgraded the IOS image on the ASA 5510 to ASA804-K8. BIN on each of them.  The weird part is some of

  • Cannot download in lightroom

    I have a Mac and Im trying to import photos into lightroom, but tells you that it could not import because the files cannot be read.  I tried to download on my husbands lightroom on his PC and it works fine.  What could be the problem? I just do the