XML News / AJAX problem

Hi,
We are using AJAX to call one portal component by sending some parameters to create the link for the news, which we create with xml form builder.
We have modified the .xsl file of xml template and embedd the code to call the portal component.
We are idenfying the news which is created by xml template and creating the link for that news in some other KM folder.
After creating or updating the news with xml template all news will be displayed after compliting the process. But this is happening for first time only. If I try again to create/update the news the news item is creating/updating but browse is stuckup and popup message "Your request is being processed".
Please let me know what might be the problem
Thanks

Solved my self

Similar Messages

  • XML News content modification problem in Portal application

    Hi,
    We are trying to update the xml news content in Portal application with KM API.
    We are getting following exception while updating the content.
    javax.xml.transform.TransformerException: Namespace fixup failed. Prefix 'xsi' used in attribute 'xsi:noNamespaceSchemaLocation' is not declared anywhere
    Please let me know what's to be done
    Thanks

    Hello,
    I faced the same problem in a similar implementation: Message "Namespace fixup failed. Prefix 'xsi' used in attribute 'xsi:noNamespaceSchemaLocation' is not declared anywhere".
    When looking at the attributes of the org.w3c.dom.Document, I saw that the namespace URI of xsi was already null after parsing.
    The solution which made it work for me was
    factory.setNamespaceAware(true);
    before parsing the XML text. The URI of xsi was then the one provided by the document.
    P.S.: Unfortunately, the error message did not pop up in this test code:
    package mytests;
    import java.io.StringReader;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.transform.Result;
    import javax.xml.transform.Source;
    import javax.xml.transform.TransformerException;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.dom.DOMSource;
    import javax.xml.transform.stream.StreamResult;
    import junit.framework.TestCase;
    import org.w3c.dom.Document;
    import org.xml.sax.InputSource;
    import com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl;
    public class XmlFormsHelperTest2 extends TestCase {
        Document doc;
        String xmldoc =
            "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
                + "<News_Header_v2 xmlns:xf=\"http://www.sapportals.com/wcm/app/xmlforms\" xmlns:xsi=\"http//www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"/etc/xmlforms/News_Header_v2/btexx_News_Header_v2-Schema.xml\">"
                + "<text>This is the main text</text>" + "</News_Header_v2>";
        protected void setUp() throws Exception {
            super.setUp();
        public void testToDoc() throws Exception {
            Document doc = setupDocumentSap(xmldoc);
            assertEquals("News_Header_v2", doc.getDocumentElement().getTagName());
            assertEquals("This is the main text", doc.getDocumentElement().getFirstChild().getTextContent());
        public void testFromDoc() throws Exception {
            Document doc = setupDocumentSap(xmldoc);
            String actual = xmlToString(doc);
            assertEquals(xmldoc, actual);
         private Document setupDocument(String xmltext) throws Exception {
            DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
            factory.setValidating(false);
            factory.setCoalescing(true);
            DocumentBuilder builder = factory.newDocumentBuilder();
            return builder.parse(new InputSource(new StringReader(xmltext)));
        private Document setupDocumentSap(String xmltext) throws Exception {
            DocumentBuilderFactory factory = new DocumentBuilderFactoryImpl();
            factory.setValidating(false);
            factory.setCoalescing(true);
            //factory.setNamespaceAware(true);
            DocumentBuilder builder = factory.newDocumentBuilder();
            return builder.parse(new InputSource(new StringReader(xmltext)));
        public static String xmlToString(Document xmlDocument) throws Exception {
            Source xmlSource = new DOMSource(xmlDocument);
            StringWriter stringWriter = new StringWriter();
            Result outputTarget = new StreamResult(stringWriter);
              TransformerFactory.newInstance().newTransformer().transform(xmlSource, outputTarget);
            return stringWriter.getBuffer().toString();

  • XML..: Problem getting the data in the XML-file..

    I'm developing a flash-file for my customer to use when
    displaying list of products he's selling.
    His list of products is inside a XML-file and he want me to
    display an overview of the products inside a datagrid, so when you
    click on the product you're interested in the productinfo will be
    displayed.
    But.. I'm having problems grabbing the data I want as it
    seems to me that I have to use the unik ID's for each products to
    get the data I want. I've tried adding the unik ID-code to my
    action script but it still won't work.
    Here's a part of the XML-code:
    <Tooldata>
    <Store name="N/A" zipcode="0033450" city="N/A" url="N/A"
    phone="N/A" fax="N/A" email="N/A">
    <Tool unikID="5_0022" control="14" cmnd="update">
    <Toolgroupe>Hammer</Toolgroupe>
    <Brand>Knipps</Brand>
    <Model>K55_Knipps</Model>
    <Price>35€</Price>
    <Weight>N/A</Weight>
    <Soldout>0</Soldout>
    <Color>Red/Black</Color>
    <Images>
    <Images image="5_0022.jpg" prioritet="1" gen_id="16"
    desc="MainImage"/>
    <Images image="5_0022_1.jpg" prioritet="2" gen_id="16"
    desc="Image 1"/>
    <Images image="5_0022_2.jpg" prioritet="3" gen_id="16"
    desc="Image 2"/>
    <Images image="5_0022_3.jpg" prioritet="4" gen_id="16"
    desc="Image 3"/>
    </Images>
    Now, the code above is only one item/product. But there are
    several proucts listed in the XML-file and I find it hard to get
    the product and the product info that I want to be displayed.
    Here's my action script:
    var xmlLoader:URLLoader = new URLLoader();
    var xmlData:XML = new XML();
    xmlLoader.addEventListener(Event.COMPLETE, LoadXML);
    xmlLoader.load(new URLRequest("ToolData.xml"));
    function LoadXML(e:Event):void {
    xmlData = new XML(e.target.data);
    ParseBildata(xmlData);
    function ParseTooldata(TooldataInput:XML):void {
    trace("XML Output");
    trace("------------------------");
    trace(TooldataInput.Store);
    If I want to trace the images I just write
    "trace(TooldataInput.Store.Images);
    But if I want to trace one unik tool it's impossible. Well,
    maybe not impossible.. I just don't know how to do just that.
    When you trace (TooldataInput.Store); you get all the tools
    at that store. But how do I trace only one tool using the unikID??
    Thanks a lot in advance!

    Ace,
    When using E4X if you have multiple nodes at the same level
    you should be able to access them as an XMLList. Looking at your
    XML you should be able to access each <Tool> node as:
    TooldataInput.Store.Tool[0];
    TooldataInput.Store.Tool[1];
    or as an entire list
    TooldataInput.Store.children()
    WL

  • Xml schema validation problem

    Hi All
    How to tackle this xml schema validation problem
    i am using the sample code provided by ORacle technet for xml
    schema validation in the Oracle database(817).
    The sample code works perfectly fine.
    Sample as provided by http://otn.oracle.com/tech/xml/xdk_sample/archive/xdksample_093001.zip.
    It works fine for normal xml files validated against
    xml schema (xsd)
    but in this case my validation is failing . Can you let me know why
    I have this main schema
    Comany.xsd
    ===========
    <?xml version="1.0"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://www.company.org"
    xmlns="http://www.company.org"
    elementFormDefault="qualified">
    <xsd:include schemaLocation="Person.xsd"/>
    <xsd:include schemaLocation="Product.xsd"/>
    <xsd:element name="Company">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="Person" type="PersonType" maxOccurs="unbounded"/>
    <xsd:element name="Product" type="ProductType" maxOccurs="unbounded"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    ================
    which includes the following 2 schemas
    Product.xsd
    ============
    <?xml version="1.0"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    elementFormDefault="qualified">
    <xsd:complexType name="ProductType">
    <xsd:sequence>
    <xsd:element name="Type" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    ==============
    Person.xsd
    ===========
    <?xml version="1.0"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    elementFormDefault="qualified">
    <xsd:complexType name="PersonType">
    <xsd:sequence>
    <xsd:element name="Name" type="xsd:string"/>
    <xsd:element name="SSN" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    =================
    now when i try to validate a xml file against Company.xsd
    it throws an error saying unable to find Person.xsd.
    no protocol error
    Now where do i place these 2 schemas(.xsd files) Person & product
    so that the java schemavalidation program running inside Oracle
    database can locate these files
    Rgrds
    Sushant

    Hi Jinyu
    This is the java code loaded in the database using loadjava called by a wrapper oracle stored procedure
    import oracle.xml.parser.schema.*;
    import oracle.xml.parser.v2.*;
    import java.net.*;
    import java.io.*;
    import org.w3c.dom.*;
    import java.util.*;
    import oracle.sql.CHAR;
    import java.sql.SQLException;
    public class SchemaUtil
    public static String validation(CHAR xml, CHAR xsd)
    throws Exception
    //Build Schema Object
    XSDBuilder builder = new XSDBuilder();
    byte [] docbytes = xsd.getBytes();
    ByteArrayInputStream in = new ByteArrayInputStream(docbytes);
    XMLSchema schemadoc = (XMLSchema)builder.build(in,null);
    //Parse the input XML document with Schema Validation
    docbytes = xml.getBytes();
    in = new ByteArrayInputStream(docbytes);
    DOMParser dp = new DOMParser();
    // Set Schema Object for Validation
    dp.setXMLSchema(schemadoc);
    dp.setValidationMode(XMLParser.SCHEMA_VALIDATION);
    dp.setPreserveWhitespace (true);
    StringWriter sw = new StringWriter();
    dp.setErrorStream (new PrintWriter(sw));
    try
    dp.parse (in);
    sw.write("The input XML parsed without errors.\n");
    catch (XMLParseException pe)
    sw.write("Parser Exception: " + pe.getMessage());
    catch (Exception e)
    sw.write("NonParserException: " + e.getMessage());
    return sw.toString();
    This is the code i used initially for validating a xml file against single xml schema (.xsd) file
    In the above code could u tell how to specify the second schema validation code for the incoming xml.
    say i create another Schemadoc for the 2nd xml schema.
    something like this with another parameter(CHAR xsd1) passing to the method
    byte [] docbytes1 = xsd1.getBytes();
    ByteArrayInputStream in1 = new ByteArrayInputStream(docbytes1);
    XMLSchema schemadoc1 = (XMLSchema)builder.build(in1,null);
    DOMParser dp = new DOMParser();
    How to set for the 2nd xml schema validation in the above code or can i combine 2 xml schemas.
    How to go about it
    Rgrds
    Sushant

  • XML News html editor not visible

    Hi,
    As a part of XML News we have created an html editor along with other labels,text field etc.The problem now is this editor is not visible while creating the News using News Editor Role.Can you help?
    Regards
    Imran

    Hi Raghu,
                     Forms availability are eanabled already.If we are opening the News form all other fields (like button,text fields etc) are visible but the only thing not visible is the component hml editor where the Editor has to write News,I hope you understand this.Even though that is present in the form template under XML bulder.
    Regards
    Imran

  • Exception in XML Parser (format problem?)

    Hi Experts,
    I am working on IDOC -> AS2 Configuration and the AS2 Configuration has the below structure
    <RecordSet>
         <Row1>
                       <row1 - field1>
                       <row1 - field2>
                       <row1 - field3>
         </Row1>
         <Row2>
                       <row2 - field1>
                       <row2 - field2>
                       <row2 - field3>
         </Row2>
         <Records>
              <Record1>
                        <Record1-Field1>
                        <Record1-Field1>
                        <Record1-Field1> 
              </Record1>
              <Record2>
                        <Record2-Field1>
                        <Record2-Field1>
                        <Record2-Field1> 
              </Record2>
         </Records>
    </RecordSet>
    We are getting the expected Structure when we AS2 Receiver has the xml format. But while doing module development with the strctxml2Plain, we are getting the below error  in RWB CC Monitoring.
    Message processing failed. Cause: com.sap.aii.messaging.adapter.trans.TransformException: Error converting Message: 'java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.NullPointerException''; nested exception caused by: java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.NullPointerException'
    Any ideas, why this error we are getting.....
    Thanks in advance,
    Regards,
    Vasu

    Hi Vasu,
    Not in the Mapping of IR.
    In BIC Mapping Designer you have to test with the standard Mappings by providing the sample file whether the Conversion is happening correctly or not.
    You have to take the same input file that what ever you are having now.
    So that it will say clearly what is the problem in converting the XMLto the required EDI Format...
    Check whether you have any Date Format Values are comming from the input file.
    Regards
    Seshagiri

  • Attempt to process file failed with Exception in XML Parser-format problem

    Hi all,
    Iam getting an unusual error in the J2EE stack in XI.
    And the message is:
    006-11-30 17:31:07 Error Attempt to process file failed with Exception in XML Parser (format problem?):'com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Invalid char #0xf(:main:, row:1, col:1044002)(:main:, row=1, col=1044002) -> com.sap.engine.lib.xml.parser.ParserException: Invalid char #0xf(:main:, row:1, col:1044002)' 2006-11-30 17:31:07 Error Exception caught by adapter framework: null 2006-11-30 17:31:07 Error Delivery of the message to the application using connection AFW failed, due to: RecoverableException.
    My scenerio iam posting IDOC to a flat file with content conversion in the receiver side,the mapping got executed successfully and in the audit log i found that the error was after the 'Start converting XML document content to plain text'.
    This means that error occured during content conversion of XML to the prescribed file format.
    Can anyone suggest any better approach using which we may trace the junk data in IDoc. Manual adhoc approach could take time and is error prone.
    Thanks in advance...
    karun

    Hi Bhavesh,
    Thanks for the early reply. I checked the mapping and everything is fine and the output is also in valid XML format.
    The audit log shows that the mapping got executed successfully and the error is after the step 'Start converting XML document content to plain text '. Is there any constraint in the file adapter regarding the message size for parsing.
    2006-11-30 17:30:50 Success Transfer: "BIN" mode, size 2912595 bytes, character encoding -
    2006-11-30 17:30:50 Success Start converting XML document content to plain text
    2006-11-30 17:31:07 Error Attempt to process file failed with Exception in XML Parser (format problem?):'com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Invalid char #0xf(:main:, row:1, col:1044002)(:main:, row=1, col=1044002) -> com.sap.engine.lib.xml.parser.ParserException: Invalid char #0xf(:main:, row:1, col:1044002)'
    2006-11-30 17:31:07 Error Exception caught by adapter framework: null
    2006-11-30 17:31:07 Error Delivery of the message to the application using connection AFW failed, due to: RecoverableException.
    2006-11-30 17:31:07 Success The asynchronous message was successfully scheduled to be delivered at Thu Nov 30 17:36:07 GMT 2006.
    2006-11-30 17:31:07 Success The message status set to WAIT.
    2006-11-30 17:31:08 Success Acknowledgement creation triggered for type: SystemErrorAck
    2006-11-30 17:31:08 Success Acknowledgement sent successfully for type: SystemErrorAck
    2006-11-30 17:36:08 Success Retrying to deliver message to the application. Retry: 1

  • Data Schema tree not expanding in XML news Form Builder

    Hi,
    I am trying to create XML News, But the DataSchema tree is not expanding I double clicked on the '+' symbol but it is not expanding.
    Can any body suggest me why it is not expanding and how to expand the tree of the Data Schema.
    Regards,
    Krishna

    Hi Krishna,
    there may be 2 possibilities why the node does not expand:
    1.) Your browser and/or local JDK-Version is not supported for XML Forms Design Tool
    2.) There is nothing to expand. Try to create some nodes below your root node.
    HTH,
    Carsten

  • Was just loading indesign and cannot start it. seem to have no rights for some presets. i deinstalled and installed new, same problem. help!

    was just loading indesign and cannot start it. seem to have no rights for some presets. i deinstalled and installed new, same problem. who can help?

    Not easy if vital information is missing. Sometimes it seems like people are using the internet the first time...
    What version of Indesign?
    What OS? "Rights" sounds like Windows
    What is happening when starting it?
    If Windows, where was it installed?
    If Windows, do you have admin permissions?

  • Displaying XML news to country specific users

    Hi All,
              I have a requirement that to display the xml news to country specific users (i.e If a user is from India he can see the news based on india.If a user is from UnitedStates he can see the news based on US).All the news should maintained in a single repositary.Is there any possibility of applying filter to filtering the news? or any idea...

    Hi,
    Have country specific news under different folder in KM.
    So for example create folders with ISO country codes and place news under these folders: IN, US, DE
    You can then create your own proxy IView and then redirect it to KM Navigation IView depending on Country property set in user profile.
    This way you can dynamically change the KM folder path and show country specific news.
    Check this to know about proxy IView:
    https://forums.sdn.sap.com/thread.jspa?threadID=51748
    https://forums.sdn.sap.com/thread.jspa?threadID=190600
    Regards,
    Praveen Gudapati

  • New year problem? - files 'deleted'

    i open up an aw file - make changes - try to save - get a window that says file has been deleted - cannot save as either - and other funny garbled window mesages appear when i try and open other aw docs - evrything else is fine
    seems like it could be some sort of new year thing -
    any ideas what to do

    New! Re: new year problem? - files 'deleted'
    Posted: Jan 1, 2006 10:33 AM in response to: heidig
    Reply Email
    Hi Heidig,
    Welcome to the discussions and the AppleWorks Forum.
    It's unlikely that this is a "New Year's" issue. The most probable cause is a corrupted preferences file.
    Check Peggy's post here:
    http://discussions.apple.com/message.jspa?messageID=607287&ft=y&amp;#607287
    Regards,
    Barry
    For future reference: Using the search feature can lead to a quick answer to many problems. For this one, a search, restricted to the AppleWorks forum, using "has been deleted" (without the quotes) brought up four posts on this topic, including a reference by Peggy to her User Contributed Tip, on the first page of results.

  • Ajax problem in IE7 - get.get() is empty

    I am testing Ajax under Mozilla Firefox and IE7. Under Firefox is everything fine but IE7 gives me errors.
    My process is the following:
    declare
    l_counter number;
    l_o_name varchar2(2000);
    begin
    owa_util.mime_header('text/xml', FALSE );
    htp.p('Cache-Control: no-cache');
    htp.p('Pragma: no-cache');
    owa_util.http_header_close;
    htp.prn('<select>');
    htp.prn('<option value="x">x</option>');
    htp.prn('</select>');
    debug.add('ok');
    end;
    debug_add('ok') adds text 'ok' into debugging table. I can see that this info is being inserted into the table, so the process runs through.
    My JavaScript is in ApEx page attributes "HTML header" section and is like the following:
    <script type="text/javascript">
    function get_AJAX_SELECT_XML(pThis,pSelect){
         var l_Return = null;
         var l_Select = html_GetElement(pSelect);
         var get = new htmldb_Get(null,html_GetElement('pFlowId').value,'APPLICATION_PROCESS=my_proc',0);
         get.add('GTEST',pThis.value);
    alert(get.get());
         gReturn = get.get('XML');
         if(gReturn && l_Select){
    alert('Never here in IE7');
              var l_Count = gReturn.getElementsByTagName("option").length;
              l_Select.length = 0;
              for(var i=0;i<l_Count;i++){
                   var l_Opt_Xml = gReturn.getElementsByTagName("option");
                   appendToSelect(l_Select, l_Opt_Xml.getAttribute('value'), l_Opt_Xml.firstChild.nodeValue)
         get = null;
    function appendToSelect(pSelect, pValue, pContent) {
    var l_Opt = document.createElement("option");
    l_Opt.value = pValue;
         if(document.all){/* why is ie different ask bill */
              pSelect.options.add(l_Opt);
              l_Opt.innerText = pContent;
         }else{
              l_Opt.appendChild(document.createTextNode(pContent));
              pSelect.appendChild(l_Opt);
    </script>
    alert(get.get()); gives me popup with text "undefined" in IE.
    So "if(gReturn && l_Select)" will never become true.
    I call it in an item:
    onchange="get_AJAX_SELECT_XML(this,'P3201_XXX')"
    In Mozilla 2.0.0.7 everything works, i can get correct answer from get.get() and the list is being filled with "x".

    Hi,
    I'm having a sporatic problem.
    Where do you put the encoding?
    Content-type: text/xml; charset=UTF-8
    Cache-Control: no-cache
    Pragma: no-cache
    <?xml version="1.0" encoding="UTF-8"?>
    I have the following in my ODP function
    owa_util.mime_header('text/xml', FALSE );
    htp.p('Cache-Control: no-cache');
    htp.p('Pragma: no-cache');
    owa_util.http_header_close;
    then I start my select list:
         htp.prn('<select>');
         htp.prn(ls_default);
    and a loop to build the option code

  • How to solve Ajax problem in Tomcat server

    we are using Tomcat 5.0.27 server and my sql server. we using AJAX Techniques in my projects. but its some times working fine but sometimes not working the code sample is given by
    var req;
    var names;
    function initRequest(url) {
    if (window.XMLHttpRequest)
         req = new XMLHttpRequest();
    else if (window.ActiveXObject)
    isIE = true;
    req = new ActiveXObject("Microsoft.XMLHTTP");
    if (req==null)
              alert("Your browser does not support XMLHTTP.")
    function loadPurchase(startLetter)
         var mon=document.getElementById('month').value;
    var yea=document.getElementById('year').value;
    var url = "../inventory?actionS=INVPurchase&month="+escape(mon)+"&year="+escape(yea)+"&id="+escape(startLetter);;
         initRequest(url);
         req.onreadystatechange = PurchaseRequest;
         req.open("GET", url, true);
         req.send(null);
    function PurchaseRequest() {
              0 (Uninitialized) The object has been created, but not initialized (the open method has not been called).
              1 (Open) The object has been created, but the send method has not been called.
              2 (Sent) The send method has been called, but the status and headers are not yet available.
              3 (Receiving) Some data has been received.
              4 (Loaded) All the data has been received, and is available
    alert(re.readyState)
         if(req.readyState == 4)
    alert("Inside Ready State");
    document.getElementById('Edit').disabled=true;
    document.getElementById('Delete').disabled=true;
    if (req.status == 200)
    PurchaseMessages();
         else
              alert("Problem retrieving XML data")
    function PurchaseMessages()
    var batchs = req.responseXML.getElementsByTagName("purchases")[0];
    var str="";
    for(loop = 0; loop < batchs.childNodes.length; loop++)
    var batch = batchs.childNodes[loop];
    var Refid = batch.getElementsByTagName("Refid")[0];
    str = str +Refid .childNodes[0].nodeValue;
    var tb=document.getElementById('PurchaseTable');
    tb.innerHTML=str ;
    the alert coding( req.readyState) is always 1
    how to solve for that
    please any one help me

    Sorry, I've never done this. I went to the Tomcat site and pulled down the CGI docs, which you might have seen:
    http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cgi-howto.html
    No other help available from me. Sorry.

  • Owa_util.mime_header in select_list_value (or whole ajax) problem

    Hi,
    I'm using Ajax in "select multiple items". After few problems (I had to turn off session state protection) - I had to organise the same process on the popup.
    I open new page of my application in javascript using window.open function. The problem is that when I'm trying to update or insert something on popup I got that kind of message:
    "problem with parsing XML file - didn't understand char after document element" - something like that (with additional about my adres and wwv_flow.accept)
    source of error page looks similar to that:
    <body><desc>this XML genericly sets multiple items</desc><item id="name">test</item></body>Content-type: text/xml; charset=UTF-8
    Cache-Control: no-cachePragma: no-cache
    <body><desc>this XML genericly sets multiple items</desc><item id="kli">test2</item></body>Content-type: text/xml; charset=UTF-8
    Cache-Control: no-cachePragma: no-cache
    <select><option value="1">- choose person -</option></select>ERR-1777: Page 2 provided no page to branch to.  Please report this error to your application administrator.<br /><br /><a href="f?p=104">Restart Application</a>I use 3 times: - 2 times I put some values into 5-6 textfields and once I'm put some options into select list
    OWA_UTIL.mime_header ('text/xml', FALSE);
    HTP.p ('Cache-Control: no-cache');
    HTP.p ('Pragma: no-cache');
    OWA_UTIL.http_header_close;can any one know where is problem? I have the same construction on the static page (not popup) and there everything is ok.
    thanks for any help

    I have to add, that I understand that error :) it's easy to understand when it's raising - but why there is a problem with owa_util.mime_header - why it adds "content type" line...?
    why it was working fine before going to popup...
    sorry for English mistakes

  • Ajax + problem with Firefox

    Dear All;
    I am new to Ajax world. I have following lines of code that works fine on IE and Eclipse internal Browser but when i tried testing on Firefox it did not work.
    I have pin pointed the exact location. Please help me out to solve it.
    Code:
    var xmldoc=req.responseXML.documentElement;
    var xrows=xmldoc.getElementsByTagName('entry');
    var mytable = document.getElementsByTagName("table")[2];
    var mytablebody = mytable.getElementsByTagName("tbody")[0];
    for(i=0;i<xrows.length;i++)
    alert('inside for loop');
    var num=xrows.childNodes[0].firstChild.nodeValue;
    alert("num:="+num);/////////////// This line has problem
    var site=xrows[i].childNodes[1].firstChild.nodeValue;
    alert("site"+site);
    In IE (////////////This line has problem) is showing proper output but this is not working with forefox.
    Please help me out.
    Thanks and Regards;
    Vikash Anand.

    HI Vikash,
    Yes, there a some problems between the browsers that causes every developer pain. A good site to help identifying browsers quirks is http://www.quirksmode.org.
    I believe you need an array designation where the xrows element is defined, which looks like your root element. For example:
    var xrows=xmldoc.getElementsByTagName('entry')[0];
    If this isn't your root element, then you may want to try starting at the root element, then using it's childNodes property, extract the "entry" items.
    This is assuming that you are you getting a valid xml document back in your response that has the entry item in it.
    The error console of firefox may also help you find the problem. For advanced debugging, firebug is great and is located at https://addons.mozilla.org/firefox/1843/
    Hope this helps - Thanks - Mark
    Message was edited by:
    markbasler

Maybe you are looking for

  • Is my OLE DB installation done correctly on Windows Server 2008 R2 64bit?

    I have installed Instant Client thru Instant Client option in Oracle Database 11g Release 2 Client (11.2.0.1.0) for Microsoft Windows (x64) NOT thru Instant Client package. Then I installed the oledb from 64-bit ODAC 11.2 Release 3 (11.2.0.2.1) for W

  • BT Infinity Connection Dropping but BT refuse to a...

    Hi, So in September we got BT Infinity. It was a hassle and handled terribly by BT customer service but we eventually got it. It's been working fine for around five months but within the last few weeks we have been having connection issues. Over East

  • Conversion of date to float

    Can anyone tell me how to convert the date value to float value Ex now i have a val 30-jul-2007 this i need to insert as 20070730 i.e yyyymmdd as that field data type is float or give me a function for changing the date format as we use format in sql

  • Tiff file launches right after every boot

    Earlier this week I cloned my mac's original 160gb drive to a new 500gb drive and swapped them. Everything is great, except for one thing. When the system boots up, right as the desktop becomes usable, a tiff file, MainVolumeSliderTrackDisabled.tiff

  • Why is my iMac making a rattling noise?

    I've had my iMac for 2 months and it started making a rattling noise that has recently gotten worse.