How to handle xml attributes?

Hallo,

I am new to Livecycle and I have some difficulties to understand how reading/identification of the attributes XML in LiveCycle Designer.

If I drag-and - drop items (#data of display data), they appear without problems. But if I drag an attribute (@attributename) they always show the empty to the PDF.

For example, I have an XML file that looks like this:

< product >

....

< price >

< ParamPrice visible = "true" >

< prixUn visible = "false" > 1.350,00 < / prixUn >

< priceB visible = "true" > 1.350,00 < / priceB >

< price visible = "true" > 20.00 < / price >

< price visible = "false" > 0,00 < / price >

< / if >

< NouveauPrix visible = "true" >

< prixUn visible = "false" > 1.350,00 < / prixUn >

< priceB visible = "true" > 1.350,00 < / priceB >

< price visible = "true" > 20.00 < / price >

< price visible = "false" > 0,00 < / price >

< / sonderpreise >

< / price >

...

< / product >

I tried to link like this: price.oldprice. (visible.value == "true") .priceA, but it does not work.

I can´t really find some good information about the manipulation of XML attribute in LiveCycle. Can you please help me or tell me where to find more information on this topic.

Thank you!!!

What about Kat

It is not the relationship between the presence of the object property and your visible attribute to date.

But you can use a script to create such a thing.

Put this in the event layout: ready for a text field, you want to be hidden or shown depending on the value of the visible attributes.

this.presence = this.dataNode.visible.value === "true" ? "visible" : "hidden";

Tags: Adobe LiveCycle

Similar Questions

  • HTTPService - how to databind XML attribute

    I have a simple servlet that I call usign the HTTPService tag. Here is an example:

    < mx:HTTPService
    ID = "c4Test" method = "POST" resultFormat = "object" contentType = "application/xml".
    URL = "myServlet".
    useProxy = "false" >
    < mx:request >

    I call my servlet in my Flex application (via the HTTPService tag). The "myServlet" takes the request and responds with an XML response, like this:

    < Plan >
    < title id = "500" > Hello World < /title >
    < / myRoot >

    I want to display the attribute 'id' within the 'title' tag in a label field. I try to do it like that, but I get a syntax error:

    < mx:Label text="{c4Test.lastResult.myRoot.title[@message]}"/ >

    I know that syntax is probably wrong, but how we refer to an attribute. Referring to the "title" element works fine using the following syntax (but I don't want the title element, I want the value of the attribute id tithe).

    < mx:Label text="{c4Test.lastResult.myRoot.title}"/ >

    I try to avoid the use of ActionScript at this stage... try to do it with simple mx:controls

    Thanks for any help.



    OK... got it to work! It seems that when dealing with a result set of e4x, you have no need to reference the root node. My xml result looked liked this:


    Hello world

    I was trying to refer to the attribute "id" as follows (which did not work):

    But to make it work, I don't have to inlcude "myRoot" node root in the expression, as follows:

    It worked.

    Thank you!

  • How to normalize/linearize whitspace in XML attributes?

    Hello

    I have data in a CLOB column I need to appeal to an XML attribute. The data may contain CR, LF and tabs - that the XML must be preserve way standardized/linearized (that is to say using & #10; & #13; etc.)

    I tried using XMLROOT - it deletes the line a total break.

    I tried to use XMLSERIALIZE - when finished with clause VERSION it also suppresses the newline, when without the VERSION, it keeps the jump line but not standardized.

    Do not use these preserves the jump line - but not standardized.

    Is there a bed in order to standardize XML - or should I use replace nested?

    Examples below.

    Thanks in advance.

    SQL> set long 20000
    SQL> set lines 1000
    SQL> set pages 1000
    SQL> select * from v$version
    
    
    BANNER                                                                          
    --------------------------------------------------------------------------------
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production    
    PL/SQL Release 11.2.0.3.0 - Production                                          
    CORE 11.2.0.3.0 Production                                                      
    TNS for Linux: Version 11.2.0.3.0 - Production                                  
    NLSRTL Version 11.2.0.3.0 - Production                                          
    
    
    5 rows selected.
    SQL> -- as XMLTYPE, newline (chr(10)) is preserved, but not normalized
    SQL> select XMLELEMENT("A",
            XMLATTRIBUTES(1 as ID, 2 ||chr(10)||3 as "TXT")
                     )
    from dual
    
    
    XMLELEMENT("A",XMLATTRIBUTES(1ASID,2||CHR(10)||3AS"TXT"))
    ---------------------------------------------------------
    <A ID="1" TXT="2                                         
    3"></A>                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
    1 row selected.
    SQL> -- as CLOB, newline (chr(10)) is preserved, but not normalized
    SQL> select XMLELEMENT("A",
            XMLATTRIBUTES(1 as ID, 2 ||chr(10)||3 as "TXT")
                     ).getclobval()
    from dual
    
    
    XMLELEMENT("A",XMLATTRIBUTES(1ASID,2||CHR(10)||3AS"TXT")).GETCLOBVAL()
    ----------------------------------------------------------------------
    <A ID="1" TXT="2                                                      
    3"></A>                                                               
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
    1 row selected.
    SQL> -- with XMLROOT - newline is removed
    SQL> select XMLROOT(
            XMLELEMENT("A",
             XMLATTRIBUTES(1 as ID, 2 ||chr(10)||3 as "TXT")
                      ),
                   VERSION '1.0')
    from dual
    
    
    XMLROOT(XMLELEMENT("A",XMLATTRIBUTES(1ASID,2||CHR(10)||3AS"TXT")),VERSION'1.0')
    -------------------------------------------------------------------------------
    <?xml version="1.0"?>                                                          
    <A ID="1" TXT="2 3"/>                                                          
                                                                                   
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
    1 row selected.
    SQL> --with XMLSERIALIZE without VERSION clause - newline is preserved but not normalized
    SQL> select XMLSERIALIZE(DOCUMENT
            XMLELEMENT("A",
             XMLATTRIBUTES(1 as ID, 2 ||chr(10)||3 as "TXT")
                      )
                       )
    from dual
    
    
    XMLSERIALIZE(DOCUMENTXMLELEMENT("A",XMLATTRIBUTES(1ASID,2||CHR(10)||3AS"TXT")))
    -------------------------------------------------------------------------------
    <A ID="1" TXT="2                                                               
    3"></A>                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
    1 row selected.
    SQL> --with XMLSERIALIZE with VERSION clause - newline is removed
    SQL> select XMLSERIALIZE(DOCUMENT
            XMLELEMENT("A",
             XMLATTRIBUTES(1 as ID, 2 ||chr(10)||3 as "TXT")
                      )
                       VERSION '1.0')
    from dual
    
    
    XMLSERIALIZE(DOCUMENTXMLELEMENT("A",XMLATTRIBUTES(1ASID,2||CHR(10)||3AS"TXT"))VERSION'1.0')
    -------------------------------------------------------------------------------------------
    <A ID="1" TXT="2 3"/>                                                                      
    1 row selected.
    SQL> --doing replace works, but seems "un-natural" and very inefficient
    SQL> select replace(
            XMLELEMENT("A",
             XMLATTRIBUTES(1 as ID, 2 ||chr(10)||3 as "TXT")
                      ),
            chr(10),'&#10;')
    from dual
    
    
    REPLACE(XMLELEMENT("A",XMLATTRIBUTES(1ASID,2||CHR(10)||3AS"TXT")),CHR(10),'&#10;')                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    <A ID="1" TXT="2&#10;3"></A>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
    1 row selected.
    

    Question still pending, if anyone has another way - or knows for sure replace is the only option.

    Replaces nesting calls is probably the only option, of course, but not the way you have tried in your examples.

    Do replace it at an earlier stage, directly on the data source.

    Here's how I'd do:

    SQL> set define off
    SQL>
    SQL>
    SQL> select xmlserialize(document
      2           xmlelement("A",
      3             xmlattributes(noentityescaping
      4               1 as id
      5             , replace(
      6                 dbms_xmlgen.convert('X'||chr(10)||'Y')
      7               , chr(10)
      8               , '
    '
      9               ) as txt
     10             )
     11           )
     12           no indent
     13         )
     14  from dual ;
    
    XMLSERIALIZE(DOCUMENTXMLELEMEN
    --------------------------------------------------------------------------------
    
    

    1. use DBMS_XMLGEN. CONVERT to handle reserved characters.

    2-using REPLACE to manage a specific entity escape

    Option NOENTITYESCAPING 3 - use to keep the entity references comes to be presented

  • How to remove the value of the XML attribute in the Indesign file with javascript

    Hi all

    How to remove the value of the XML attribute in the Indesign file.

    1.jpg

    What error is this?

    in any case try this as well (one another),

    var myDoc = app.activeDocument;
    attrDelete(myDoc);
    function attrDelete(elm)
    {
        for (var i = 0; i < elm.xmlElements.length; i++)
        {
            try{
                for(j=0; j
    

    Vandy

  • How to get xml all the attributes count?

    Hi Indesigners,

    I tried a lot of time to get all of the xml attributes count in indesign xml and according to the style applied to the xmlAttribute value, I have to do some tasks... Can someone help me...

    Thank you and best regards,

    Vel.

    Finally, I wrote the script to get the xml attributes...

    var doc = app.activeDocument;

    var parastyle = doc.allParagraphStyles;

    var charstyle = doc.allCharacterStyles;

    var currentpara;

    var att, att2, val = 'ParagraphStyles\r', val2 = "CharacterStyles\r";

    [var attNodes = doc.xmlElements[0].evaluateXPathExpression("//*['@']"); "

    var i, t;

    ~ alert (attNodes.length);

    for (i = 0;  I have< attnodes.length;="">

    {

    Try

    {

    att = attNodes [i].xmlAttributes.itemByName ("aid: pstyle") .value;

    Val = val + att + "\r";

    checkpara (ATT);

    }

    catch (e)

    {

    }

    Try

    {

    att2 = attNodes [i].xmlAttributes.itemByName ("aid: cstyle") .value;

    val2 = val2 + att2 + "\r";

    checkchar (att2);

    }

    catch (e)

    {

    }

    }

    Alert (Val);

    Alert (val2);

    function checkpara (currentpara)

    {

    If (IsInArray (ParaStyle, currentpara))

    {

    Alert (currentpara + "Available");

    }

    on the other

    {

    Alert (currentpara + "Missing!");

    }

    }

    function checkchar (currentchar)

    {

    If (IsInArray2 (CharStyle, currentchar))

    {

    Alert (currentchar + "Available");

    }

    on the other

    {

    Alert (currentchar + "Missing!");

    }

    }

    function IsInArray(array,item)

    {

    var retval = false;

    for (var i = 0; i)<>

    {

    If (array [i] .name is point)

    {

    retval = true;

    }

    }

    Return retval;

    }

    function IsInArray2 (array2, item2)

    {

    var retval2 = false;

    for (var i = 0; i)<>

    {

    If (array2 [i] .name is item2)

    {

    retval2 = true;

    }

    }

    Return retval2;

    }

    The above codes will be found the missing character style or paragraph style in the document, which is defined as the value of the xml attribute.

    Thank you and best regards,

    Vel.

  • [CS5 - JS] Definition of the XML attributes from variables...

    Hello

    I'm building a XML variable to store the information needed to run my script.

    The XML structure is quite simple:

    var = new XML document ("< document > < pages > < page / > < / pages > < / document >");

    Every 'page' nodes are added using a simple statement.

    If I need to add an attribute to a node of 'page' I usually use this method:

    document.pages.page.@height= 210;

    What happens if I need to add an attribute without knowing its name (because it is stored in a variable)?

    Y at - it something like that? :

    document.pages.page.setAttribute (Name, 210);

    Have no idea how to handle this...

    Try this:

    document.pages.page['@'+var_name] = 210;

    @+

    Marc

  • Retrieves the value of the XML attribute for multiple element sequence

    Guys,

    I have already posted this in the forum XML DB, but some of you could help me.


    I have searched for a solution for this and couldn't quite. I'm trying to get multiple entries in a node attribute values. It workes for a single node, but for many nodes, it fails. Could you please give me a solution?

    SQL> select extractvalue(column_value, '/WORLD/COUNTRY/@NAME') COUNTRY_NAME
      2        ,extractvalue(column_value, '/WORLD/COUNTRY/CITY/@NAME') CITY_NAME
      3        ,extractvalue(column_value, '/WORLD/COUNTRY/CITY/@POPULATION') POPULATION
      4  from xmltable('WORLD' passing xmltype('
      5  <WORLD>
      6  <COUNTRY NAME="INDIA">
      7  <CITY NAME="MUMBAI" POPULATION="10000"></CITY>
      8  </COUNTRY>
      9  </WORLD>'
     10  ));
     
    COUNTRY_NAME CITY_NAME POPULATION
    ---------------------- ------------------ -------------------
    INDIA MUMBAI 10000
    When I execute the same for several nodes, it fails, please guide me. Please also let me know how to handle if I have an XML file that contains this data.

    SQL> select extractvalue(column_value, '/WORLD/COUNTRY/@NAME') COUNTRY_NAME
      2        ,extractvalue(column_value, '/WORLD/COUNTRY/CITY/@NAME') CITY_NAME
      3        ,extractvalue(column_value, '/WORLD/COUNTRY/CITY/@POPULATION') POPULATION
      4  from xmltable('WORLD' passing xmltype('
      5  <WORLD>
      6  <COUNTRY NAME="INDIA">
      7  <CITY NAME="MUMBAI" POPULATION="10000"></CITY>
      8  <CITY NAME="CHENNAI" POPULATION="2000"></CITY>
      9  <CITY NAME="BANGALORE" POPULATION="13000"></CITY>
     10  <CITY NAME="HYDERABAD" POPULATION="14000"></CITY>
     11  </COUNTRY>
     12  </WORLD>'
     13  ));
    select extractvalue(column_value, '/WORLD/COUNTRY/@NAME') COUNTRY_NAME
                                                                      *
    ERROR at line 1:
    ORA-19025: EXTRACTVALUE returns value of only one node
    See you soon
    Sarma.

    So, this is the first step:

    SQL> with test as
      2  (select xmltype('
      3                 
      4                 
      5                 
      6                 
      7                 
      8                 
      9  ') resp from dual)
     10  select country
     11       , cities
     12  from xmltable('WORLD/COUNTRY' passing (select resp from test)
     13                         columns country varchar2(50) path '/COUNTRY/@NAME'
     14                               , cities xmltype path '/COUNTRY/CITY') world
     15  /
    
    COUNTRY         CITIES
    --------------- --------------------------------------------------
    INDIA           
    

    two columns, a varchar2 and an xmltype.

    Then do the same with the second column, pass the XML to the function XMLTABLE

    SQL> with test as
      2  (select xmltype('
      3                 
      4                 
      5                 
      6                 
      7                 
      8                 
      9  ') resp from dual)
     10  select country
     11       , cit.name
     12       , cit.population
     13  from xmltable('WORLD/COUNTRY' passing (select resp from test)
     14                         columns country varchar2(50) path '/COUNTRY/@NAME'
     15                               , cities xmltype path '/COUNTRY/CITY') world
     16     , xmltable ('CITY' passing cities
     17                columns name varchar2(50) path '@NAME'
     18                      , population number path '@POPULATION'
     19                ) cit
     20  ;
    
    COUNTRY         NAME                                               POPULATION
    --------------- -------------------------------------------------- ----------
    INDIA           MUMBAI                                                  10000
    INDIA           CHENNAI                                                  2000
    INDIA           BANGALORE                                               13000
    INDIA           HYDERABAD                                               14000
    
  • XML attributes

    Hello

    I would like to know how to extract xml node attributes without knowing the names of these attributes. Is it possible using the labvew 2010 XML parser?

    For example say that I read in the sub structure xml:

    text

    text

    The programmer has no knowledge of the xml structure or content when writing. How can I retrieve the attributes of each node?

    that is giving results: {{name}, second_node {type, one"}}.

    Thank you

    labjunky

    Assuming that you're actually going to provide XML documents well-formed with quotes around attribute values, XPath is your friend.

  • How to convert XMl to JSON object in jsx?

    Is anyone know how can I convert an xml file to the json object. any help or any jsx library that can help please let me know if possible?

    Thank you

    Upendra

    I was able to create this script with your help, which is a generic XML to JSON converter xml obj passes just in the service.
    Thanks for your suggestion Silly-V

    function xmlToJson(xml) {
      // Create the return object
      var obj = {};
      if (xml.nodeKind() == "element") {
      if (xml.attributes().length() > 0) {
      for (var j = 0; j < xml.attributes().length(); j++) {
      var attributeName = xml.attributes()[j].name();
      obj[attributeName] = String(xml.attributes()[j]);
      }
      }
      } else if (xml.nodeKind() == "text") {
      obj['text'] = xml.text();
      }
      if (xml.children()) {
      for (var i = 0; i < xml.children().length(); i++) {
      var item = xml.child(i);
      if (xml.children()[i].nodeKind() == "text") {
      obj['text'] = xml.children()[i].toString();
      } else {
      var nodeName = item.name();
      if (typeof(obj[nodeName]) == "undefined") {
      obj[nodeName] = xmlToJson(item);
      } else {
      if (typeof(obj[nodeName].push) == "undefined") {
      var old = obj[nodeName];
      obj[nodeName] = [];
      obj[nodeName].push(old);
      }
      obj[nodeName].push(xmlToJson(item));
      }
      }
      }
      }
      return obj;
    };
    

    Thank you

    Upendra Stifler

  • Set XML attributes to multiply items

    Hello world

    This is my situation. I have a document with multiple pages and multiple objects on each page.

    now, I want to get the coordinates and dimensions of an object and write the data as an XML attribute.

    The script should do this for each object in my document.

    That's what I got so far:

    function creatAtt() {}

    for (var i = 0; i < app.selection.length; i ++) {}

    var myObject = app.selection [i];

    var myXMLobject = myObject.associatedXMLElement;

    var ycoords = myObject.geometricBounds [0];

    var xcoords = myObject.geometricBounds [1];

    var width = myObject.geometricBounds [3] - myObject.geometricBounds [1];

    var height = myObject.geometricBounds [2] - myObject.geometricBounds [0];

    myXMLobject.xmlAttributes.add ("Y-coordinate", ycoords.toString () + "px");

    myXMLobject.xmlAttributes.add ("X-coordinate", xcoords.toString () + "px");

    myXMLobject.xmlAttributes.add ("Width", width.toString () + "px");

    myXMLobject.xmlAttributes.add ('Height', height.toString () + "px");

    }

    }

    creatAtt();

    When I select an object and run the script he writes only the data for the selected object, not for all objects. Someone a tip how to fix?

    Hi Sebbomatico,

    Now, I remove the attributes at the beginning and after I generated. Please check this code and the snapshot.

    var myDoc= app.activeDocument;
    var myPages = myDoc.pages;
    for (var i = 0; i < myPages.length; i++){
        var myActualPage = myPages[i].pageItems;
        for (var j = 0; j < myActualPage.length; j++){
           var myObject= myActualPage[j];
           var myXMLobject = myObject.associatedXMLElement;
           var ycoords= myObject.geometricBounds[0];
           var xcoords= myObject.geometricBounds[1];
           var width = myObject.geometricBounds[3] - myObject.geometricBounds[1];
           var height = myObject.geometricBounds[2] - myObject.geometricBounds[0];
           try{myXMLobject.xmlAttributes.everyItem().remove();}catch(e){};
           myXMLobject.xmlAttributes.add ("Y-Koordinate", ycoords.toString() + " px");
           myXMLobject.xmlAttributes.add ("X-Koordinate", xcoords.toString() + " px");
           myXMLobject.xmlAttributes.add ("Width", width.toString() + " px");
           myXMLobject.xmlAttributes.add ("Height", height.toString() + " px");
           }
        }
    

  • How to handle null values in the RTF models

    Hi - I have two groups in a report for different SQL and two formulas for each group, CF_ELE_CNT and CF_ELE_CNT1. In the model that I used the code to print a section below or not.

    <? If: number (CF_ELE_CNT + CF_ELE_CNT1) > 0? >

    The problem is when no data in the second group it was created not the tag XML for CF_ELE_CNT1, if CF_ELE_CNT has 13, it does not always print this partucular article. If I remove the CF_ELE_CNT1 in the State, it works fine. I was wondering how to handle this.

    Any help would be appreciated!

    Thank you
    RAV

    Hey Rav,.

    Check my profile, you will find.

    purpose of fusion {point} [AT] gmail [dOt] com

  • POOR RECOVERY OF THE XML ATTRIBUTE VALUES

    Hi all

    I searched this forum and the web a way to get the value of an xml attribute. The solutions I found always had a problem, the values returned when concatenated without any separators, so I can't know every value.

    Here's how:

    BEGIN

    l_bfile: = BFILENAME ('CTEMP1', nome_fich);
    DBMS_LOB. FileOpen (l_bfile);
    DBMS_LOB. LoadFromFile (l_clob, l_bfile, DBMS_LOB.lobmaxsize);
    DBMS_LOB. FileClose (l_bfile);
    xmlx: = XMLTYPE (l_clob);
    Str: = xmlx. Extract('rowset/Row/@id'). GETSTRINGVAL();

    dbms_output.put_line (' :'|| id values) (STR);
    END;

    Returns the string str: 123456654321 for this example

    <? XML version = "1.0" encoding = "UTF-8"? >
    rowset <>
    < row id = "123456" >
    < name > Peter < / name >
    < / row >
    < row id '654321' = >
    < name > Louis < / name >
    < / row >
    < / lines >


    I want to get each id concatenated for example values (123456:654321) instead, I get the concatenated values (123456654321).


    Does anyone know a work around for this problem?


    Cordially Pedro.

    11.2 you can use listagg()

    SQL> with t as (select xmltype('
      2    
      3      Peter
      4     
      5     
      6      Louis
      7     
      8    ') xcol from dual)
      9  select listagg(v.val,':') within group (order by null) val
     10  from t,xmltable('/rowset/row/@id'
     11  passing t.xcol
     12  columns val varchar2(1000) path '.') v;
    
    VAL
    ------------------------------------------------------------------------------------------------------------------------
    123456:654321  
    

    If not 11.2

    SQL> with t as (select xmltype('
      2  
      3  Peter
      4  
      5  
      6  Louis
      7  
      8  ') xcol from dual)
      9  select xmlquery('fn:string-join(/rowset/row/@id,'':'')'
     10  passing by value t.xcol  returning content) val
     11  from t;
    
    VAL
    ------------------------------------------------------------------------------------------------------------------------
    123456:654321
    
  • Add the XML attribute

    Right now I work with a very simple .xml file that retrieves data ultimately resulting in the generation of run-time components. Here is a simplified version:

    < data >
    < article type = "Button" x = "50" y = "100" label = "Button 1" / >
    < article type = "Button" x = "50" y = "300" label = "Button 2" / >
    < / data >

    I figured out how to remove an attribute, such as the "label" with this:

    If (. name(). attributes() [i] myXML.item [0] == "label" "")
    {
    delete myXML.build.item [0]. attributes() [i];
    i-- ;
    }

    Now, the question is how can I add another attribute - like the "height"? Any help would be greatly appreciated. Thank you.

    Okay, I just stumbbled on the solution:

    x 1. @["name"] = "test 2"; "

    This seems to do. I don't know if the reverse works just not or if I did it all just bad. Thanks for your help.

  • How to manage the attribute date, passing the parameter from one page to another

    Hi friends,

    I want to spend attribute data from one page to another page-

    I'm passing as below, in the log window jdev I get error below.
    String StatusUpdateDate = row.getAttribute ("StatusUpdateDate");
    params.put ("StatusUpdateDate", StatusUpdateDate)
    Error (121.50): incompatible types. found: java.lang.Object, required: java.lang.String


    Suppose that I'm passing as below, while moving from one page to the other, I am getting error in the application below
    String StatusUpdateDate = row.getAttribute("StatusUpdateDate").toString)
    Date of update of State - Houston-25009: failed to create an object of type: oracle.jbo.domain.Date with value: 26-MAR-2009

    Please you can suggest me how to handle this error.


    Thank you and best regards,
    Vandenplas

    Hello

    Vandenplas

    you're right, this method is to launch error, which is why I got, bcz timstamp is also not implmenting Serializable interface, is there he throwing error at run time

    u just go this way

    another page of request-Destination page Controller-Process-

    Add a new line below the following line

    DATE StatusUpdateDate = (DATE) pageContext.getTransactionTransientValue ("StatusUpdateDate");

    String stringStatusUpdateDate = StatusUpdateDate.toString ();

    and also in your AM CODE

    change your method like this

    public void testselection (String Name, String Email, String product, the string, String StatusUpdateDate)

    hope this will solve the problem

    thanx

    Pratap

  • Subsequently, how the handle portion e-mail spam?

    Subsequently, how the handle portion e-mail spam?

    If your questions have been answered, please mark my answer as your problem so that others who have the same question can find it. Thank you.

Maybe you are looking for

  • Cloning of Toshiba laptops with sysprep

    Hello We have a lot of different brands and models of laptops and have a sysprep image that we use for all of them and so far had no other problem that have to update the drivers after the laptop has been photographed. That is until we started to buy

  • my ram speed is too low

    My compiuter speed is too straight and my speed of memory is 512 MB which am IOT

  • Help! Problem Btvstack.exe and btbip.dll

    I have a laptop HP Pavilion G7 running Windows 7 with a lot of armour to protect it from the evil outside world.  He worked always pretty well.  These days, however, when I log on the machine, an error window appears telling me that Btvstack.exe has

  • BlackBerry smartphones can not get contacts from gmail account * of * BB (OK I think the reverse)

    Just got my torch last day... first BB for me. I've enabled IMAP on gmail account and went through routine quick (online) which allows for the BB. I saw that the synchronization of contacts has been checked and when I finished to activate the account

  • Change password for the DN of the user: (MSAD config) Shared Services

    We have the MSAD service account to configure shared with MSAD services. E.M.P. version 11.1.2.3As a policy, we change the password for this account. Since we do not have shared services link works in this version.Will work the steps below?1. modify