XML database not loading

I have a xml database that has some information which is loaded into a drop down menu on my form. While I am in Live Cycle Designer and use the pdf preview, the dropdowns populate correctly and show what is in the database but when I open up the form in Adobe Reader, the dropdown show null. How can I remedy this problem?

You can use the importXFA() method to import data via scripting.
this.importXFAData("../MyFormData.xml");
Note: This script cannot be run directly from a button in your form.
You'll have to call it from a privileged context like the console window or a folder level script.

Similar Messages

  • XML file not loading...HELP!

    Hello,
    I'm working on a Magento template that includes a flashfile that loads a XML file.
    I'm getting the following error:
    XML FAILED TO LOAD! (undefinedtfile_main.xml)
    Fout bij openen van URL 'file:////Volumes/Macintosh%20HD/Users/ralreclame/Desktop/undefinedtf ile_main.xml'
    flash folder looks like this:
    I also tried placing the xml-file outside the xml_folder. Did not work either.
    code in the first frame looks like this:
    Stage.align = "MC";
    Stage.scaleMode = "noScale";
    _root.gall = url="tfile";
    _root.cacheKiller = "true";
    _root.road = _root.xmlUrl;
    _root.r_p = _root.imagesFolder;
    import gs.dataTransfer.XMLParser;
    function onFinish(success_boolean, results_obj, xml) {
        //This fhunction gets called as soon as the XML loads and gets parsed.
        if (success_boolean) {
            trace(1);
            play();
    stop();
    var parsed_obj = {};
    //We'll use this to hold the parsed xml object (once the XML loads and gets parsed successfully).
    var unCash = new Date().getTime();
    if (_root.cacheKiller == "true") {
        fileToLoad = _root.road+url+"_main.xml?cacheKiller="+unCash;
        fileToLoad = _root.road+url+"_main.xml";
    } else {
        fileToLoad = _root.road+url+"_main.xml";
    XMLParser.load(fileToLoad, onFinish, parsed_obj);
    Hopefully anyone can help me out here!
    grtz Roel

    Thanx for the reply!  my flash folder looks like this:
    and i inserted the value this way >>
    Stage.align = "MC";
    Stage.scaleMode = "noScale";
    _root.gall = url="tfile";
    _root.cacheKiller = "true";
    _root.road = _root.xmlUrl;
    _root.r_p = _root.imagesFolder;
    _root.xmlUrl; = "xml_folder/"            <<
    import gs.dataTransfer.XMLParser;
    function onFinish(success_boolean, results_obj, xml) {
        //This fhunction gets called as soon as the XML loads and gets parsed.
        if (success_boolean) {
            trace(1);
            play();
    stop();
    var parsed_obj = {};
    //We'll use this to hold the parsed xml object (once the XML loads and gets parsed successfully).
    var unCash = new Date().getTime();
    if (_root.cacheKiller == "true") {
        fileToLoad = _root.road+url+"_main.xml?cacheKiller="+unCash;
        fileToLoad = _root.road+url+"_main.xml";
    } else {
        fileToLoad = _root.road+url+"_main.xml";
    XMLParser.load(fileToLoad, onFinish, parsed_obj);
    The movie now shows in the preview so no more load error. One step further.
    But the links from the XML file are stil not working. When i preview the movie in flash i get "undefined" 5 times (i got 5 links in the xml file) It looks like this>>>
    any idea where that comes from??
    Thanks Again.
    -Roel

  • Xml file not loading from different server

    Hi,
    I have a simple flash banner that is pulling a number from an xml file on a different server. When it gets to the frame where the number should be it just says "transferring data from eckul.com" and will not actually pull in the number. Unfortunately I can't put the files on the same servers. Any help would be much appreciated, below are the links and the xml code I'm using followed by the action script. Cheers
    http://www.sainters.net/newsletters/2010/flash_test_membership2.html
    http://www.eckul.com/number.xml
    <?xml version="1.0"?>
    <inventors>
        <person>
            <name>892</name>
            </inventors>
    function loadXML(loaded) {
    if (loaded) {
    _root.inventor = this.firstChild.childNodes[0].childNodes[0].firstChild.nodeValue;
    _root.comments = this.firstChild.childNodes[0].childNodes[1].firstChild.nodeValue;
    name_txt.text = _root.inventor;
    comment_txt.text = _root.comments;
    } else {
      trace("file not loaded!");
    xmlData = new XML();
    xmlData.ignoreWhite = true;
    xmlData.onLoad = loadXML;
    xmlData.load("http://www.eckul.com/number.xml");

    so, in frame 1 of your fla before you execute that cross-domain load method, use:
    System.security.loadPolicyFile("http:www.yourcrossdomain.com/subdirectoriesIfNeeded/crossd omain2.xml");
    where the following (crossdomain.xml) is in www.yourcrossdomain.com's root (IF you want to allow allow subdirectory policy files):
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
    <site-control permitted-cross-domain-policies="all"/>
    </cross-domain-policy>
    and in the subdirectory (and its descendents) that you want to allow access put crossdomain2.xml:
    <?xml version="1.0"?>
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
      <allow-access-from domain="www.thedomainthatstryingtoloadcrossdomaindata.com" />
    </cross-domain-policy>

  • XML file not loading in FF from server

    I've created a web page that loads an external XML file and
    then uses javascript code to parse the file for requested
    information. I know it's not the best way to do this, but I'm
    trying to get this working before I move on to "better" methods.
    When I run the page using the "Preview/Debug in browser"
    funtionality of DW everything works great both in IE and FF. But
    when I load the page to the server and then load the page in a
    browser, it works in IE but not in FF. It looks as though FF is
    just not loading the XML file. I can't figure out why the page
    would work if launched from DW, but not work if the page is loaded
    on the server and then run from there, and only in FF.
    The code I'm using to load the XML file is supposed to be
    cross-browser compatible. I've seen many versions like from various
    sources, so it should be OK. I'm pretty new to all of this so I'm
    hoping that I'm just missing something simple. Does anyone have any
    idea why this is behaving this way?
    Thanks for any help.

    so, in frame 1 of your fla before you execute that cross-domain load method, use:
    System.security.loadPolicyFile("http:www.yourcrossdomain.com/subdirectoriesIfNeeded/crossd omain2.xml");
    where the following (crossdomain.xml) is in www.yourcrossdomain.com's root (IF you want to allow allow subdirectory policy files):
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
    <site-control permitted-cross-domain-policies="all"/>
    </cross-domain-policy>
    and in the subdirectory (and its descendents) that you want to allow access put crossdomain2.xml:
    <?xml version="1.0"?>
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
      <allow-access-from domain="www.thedomainthatstryingtoloadcrossdomaindata.com" />
    </cross-domain-policy>

  • Xml does not load in browser

    i made an applet that loads an .xml to get data. it works fine when i compile it in netbeans but when i try to use it in my browser in does not load the xml. Tha paths are ok. Is there something that could be done?

    Is the XML file on the local hard drive?
    By default applets cannot read local media (like the hard drive). You can get around that by signing the applet and having the user permit signed applets to read local media (which may or may not be the default; I don't know).
    A possibly better solution is to rework your applet so it either comes bundled with the XML file (say, in the jar file it's deployed in), or have it retrieve the XML from the server it came from. Both of these solutions do not require signing the applet or having the user give special permission.

  • .xml file not loading when piece runs through an LMS

    Dear all
    We created a fully interactive training program on MS Excel where we also simulated Excel using the OWC10.DLL control.  This works pretty well for both .exe and web packaged pieces.
    In certain cases this control is pre-populated using a .xml data file.
    When the piece is packaged for the web and runs directly over the web - everything works fine.
    But when published to Moodle as a SCORM 1.2 package the data in the .xml file is not read.  The .xml file is included in the SCORM wrapper.
    Anyone has any idea what the problem could be?

    My existing mime types on the Apache server as follows:
    AddType application/x-authorware-seg aas
    AddType application/x-authorware-bin aab
    AddType application/x-authorware-bin x32
    AddType application/x-authorware-bin u32
    AddType application/x-authorware-bin vox
    AddType application/x-authorware-bin xml
    AddType application/x-authorware-map aam
    AddType application/x-authorware aam aas u32 vox xml
    Still not working ;-(
    Johann Fouché
    +27 82 853 1010
    http://www.jfmultimedia.co.za
    Skype:  johannfouche
    Telephone VOIP:  +27 127435670

  • Why my XML is not loading ?? (ORA-19007: Schema - does not match expected )

    Hi,
    I want to load a XML document in structured XMLType. You can run my code on your database if you have a directory object called LOG_DIR. I am on Oracle 10.1 .
    The schema is a simple example which describe a database table(like it will have 1 or more columns and 0 or more indexes). My schema looks like,
    <xs:schema elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="Tables" type="Table">
    <xs:annotation>
    <xs:documentation>Table defination</xs:documentation>
    </xs:annotation>
    </xs:element>
    <xs:element name="table_name" type="xs:string"/>
    <xs:complexType name="Table">
    <xs:sequence>
    <xs:element name="Column" type="Column" minOccurs="1"/>
    <xs:element name="Index" type="Index" minOccurs="0"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="Column">
    <xs:annotation>
    <xs:documentation>Column of the table</xs:documentation>
    </xs:annotation>
    <xs:sequence>
    <xs:element name="Name" type="xs:string" minOccurs="1"/>
    <xs:element name="Type" type="xs:string" minOccurs="1"/>
    <xs:element name="Capacity" type="xs:decimal" minOccurs="1"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="Index">
    <xs:annotation>
    <xs:documentation>Index on the table</xs:documentation>
    </xs:annotation>
    <xs:sequence>
    <xs:element name="Name" type="xs:string" minOccurs="1"/>
    <xs:element name="Type" type="xs:string" minOccurs="0"/>
    </xs:sequence>
    </xs:complexType>
    </xs:schema>
    I registered the schema,
    BEGIN
    DBMS_XMLSCHEMA.registerSchema(
    SCHEMAURL => 'tables.xsd',
    SCHEMADOC => bfilename('LOG_DIR','tables.xsd'),
    CSID => nls_charset_id('AL32UTF8')
    END;
    This was successfull, also the following create table was ok,
    CREATE TABLE TMP_XML_TABLES
    file_name VARCHAR2(2000),
    load_date DATE,
    xml_document XMLType
    XMLType COLUMN xml_document
    XMLSchema "http://xmlns.oracle.com/xdb/schemas/TDB/tables.xsd"
    ELEMENT "Tables";
    Now I have a XML document,
    <Tables xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://xmlns.oracle.com/xdb/schemas/TDB/tables.xsd">
    <table_name>trades</table_name>
    <Column><Name>trade_id</Name><Type>varchar2</Type><Capacity>50</Capacity></Column>
    <Column><Name>source</Name><Type>varchar2</Type><Capacity>100</Capacity></Column>
    <Column><Name>trade_date</Name><Type>date</Type></Column>
    <Column><Name>trader</Name><Type>varchar2</Type><Capacity>200</Capacity></Column>
    <Index><Name>trades_pk</Name><Type>btree</Type></Index>
    <Index><Name>trades_idx1</Name><Type>bitmap</Type></Index>
    </Tables>
    When I am trying to load this, I get the error,
    SQL> INSERT INTO TMP_XML_TABLES
    2 VALUES
    3 ('tables1.xml',
    4 sysdate,
    5 XMLType
    6 (
    7 bfilename('LOG_DIR','tables1.xml'),
    8 nls_charset_id('AL32UTF8')
    9 )
    10 );
    INSERT INTO TMP_XML_TABLES
    ERROR at line 1:
    ORA-19007: Schema - does not match expected tables.xsd.
    Can somebody please explain the cause ???
    Thanks and Regards

    A quick search of the forum for ORA-19007 should have allowed you to find the answer to your problem. Since you XML Schema does not declare a target namespace you need to use the xsi:noNamespaceSchemaLocation tag rather than the schemaLocation tag..
    Also please do not use URLs starting http://xmlns.oracle.com for your schemaLocation hint. If you do no own your own domain I'd suggest example.org...
    Finally please make sure that your XML Instance is valid per your XML Schema before posting. You can do this using tools like JDeveloper or XMLSpy. What should have been a 5 min repsonse took me over 20 mins to work through due to the errors in the XML Schema...
    Anyway here's a working example for you
    SQL>
    SQL>
    SQL> var schemaURL varchar2(256)
    SQL> var schemaPath varchar2(256)
    SQL> --
    SQL> begin
      2    :schemaURL := 'http://xmlns.examples.org/xdb/schemas/TDB/tables.xsd';
      3    :schemaPath := '/public/testcase.xsd';
      4  end;
      5  /
    PL/SQL procedure successfully completed.
    SQL> DROP TABLE TMP_XML_TABLES
      2  /
    Table dropped.
    SQL> call dbms_xmlSchema.deleteSchema(:schemaURL,4)
      2  /
    Call completed.
    SQL> declare
      2    res boolean;
      3    xmlSchema xmlType := xmlType(
      4  '<xs:schema elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="
    tp://xmlns.oracle.com/xdb">
      5     <xs:element name="Tables" xdb:defaultTable="TABLES_TABLE">
      6     <xs:annotation>
      7                     <xs:documentation>Table defination</xs:documentation>
      8             </xs:annotation>
      9             <xs:complexType>
    10                     <xs:complexContent>
    11                             <xs:extension base="Table"/>
    12                     </xs:complexContent>
    13             </xs:complexType>
    14     </xs:element>
    15     <xs:complexType name="Table">
    16             <xs:sequence>
    17                     <xs:element name="table_name" type="xs:string"/>
    18                     <xs:element name="Column" type="Column" maxOccurs="unbounded"/>
    19                     <xs:element name="Index" type="Index" minOccurs="0" maxOccurs="unbounded"/>
    20             </xs:sequence>
    21     </xs:complexType>
    22     <xs:complexType name="Column">
    23             <xs:annotation>
    24                     <xs:documentation>Column of the table</xs:documentation>
    25             </xs:annotation>
    26             <xs:sequence>
    27                     <xs:element name="Name" type="xs:string"/>
    28                     <xs:element name="Type" type="xs:string"/>
    29                     <xs:element name="Capacity" type="xs:decimal"/>
    30             </xs:sequence>
    31     </xs:complexType>
    32     <xs:complexType name="Index">
    33             <xs:annotation>
    34                     <xs:documentation>Index on the table</xs:documentation>
    35             </xs:annotation>
    36             <xs:sequence>
    37                     <xs:element name="Name" type="xs:string"/>
    38                     <xs:element name="Type" type="xs:string" minOccurs="0"/>
    39             </xs:sequence>
    40     </xs:complexType>
    41  </xs:schema>
    42  ');
    43  begin
    44    if (dbms_xdb.existsResource(:schemaPath)) then
    45      dbms_xdb.deleteResource(:schemaPath);
    46    end if;
    47    res := dbms_xdb.createResource(:schemaPath,xmlSchema);
    48  end;
    49  /
    PL/SQL procedure successfully completed.
    SQL> begin
      2    dbms_xmlschema.registerSchema
      3    (
      4      :schemaURL,
      5      xdbURIType(:schemaPath).getClob(),
      6      TRUE,TRUE,FALSE,TRUE
      7    );
      8  end;
      9  /
    PL/SQL procedure successfully completed.
    SQL> CREATE TABLE TMP_XML_TABLES
      2  (
      3  file_name VARCHAR2(2000),
      4  load_date DATE,
      5  xml_document XMLType
      6  )
      7  XMLType COLUMN xml_document
      8  XMLSchema "http://xmlns.examples.org/xdb/schemas/TDB/tables.xsd"
      9  ELEMENT "Tables"
    10  /
    Table created.
    SQL> insert into TMP_XML_TABLES values ('testcase1.xml',sysdate,xmltype(
      2  '<Tables xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.examples.org/xdb/schemas/T
    /tables.xsd">
      3     <table_name>trades</table_name>
      4     <Column>
      5             <Name>trade_id</Name>
      6             <Type>varchar2</Type>
      7             <Capacity>50</Capacity>
      8     </Column>
      9     <Column>
    10             <Name>source</Name>
    11             <Type>varchar2</Type>
    12             <Capacity>100</Capacity>
    13     </Column>
    14     <Column>
    15             <Name>trade_date</Name>
    16             <Type>date</Type>
    17     </Column>
    18     <Column>
    19             <Name>trader</Name>
    20             <Type>varchar2</Type>
    21             <Capacity>200</Capacity>
    22     </Column>
    23     <Index>
    24             <Name>trades_pk</Name>
    25             <Type>btree</Type>
    26     </Index>
    27     <Index>
    28             <Name>trades_idx1</Name>
    29             <Type>bitmap</Type>
    30     </Index>
    31  </Tables>'))
    32  /
    1 row created.
    SQL> set long 10000 pages 0 lines 160
    SQL> /
    1 row created.
    SQL> select * from TMP_XML_TABLES
      2  /
    testcase1.xml
    21-APR-06
    <Tables xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.examples.org/xdb/schemas/TDB/tab
    s.xsd">
      <table_name>trades</table_name>
      <Column>
        <Name>trade_id</Name>
        <Type>varchar2</Type>
        <Capacity>50</Capacity>
      </Column>
      <Column>
        <Name>source</Name>
        <Type>varchar2</Type>
        <Capacity>100</Capacity>
      </Column>
      <Column>
        <Name>trade_date</Name>
        <Type>date</Type>
      </Column>
      <Column>
        <Name>trader</Name>
        <Type>varchar2</Type>
        <Capacity>200</Capacity>
      </Column>
      <Index>
        <Name>trades_pk</Name>
        <Type>btree</Type>
      </Index>
      <Index>
        <Name>trades_idx1</Name>
        <Type>bitmap</Type>
      </Index>
    </Tables>
    testcase1.xml
    21-APR-06
    <Tables xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.examples.org/xdb/schemas/TDB/tab
    s.xsd">
      <table_name>trades</table_name>
      <Column>
        <Name>trade_id</Name>
        <Type>varchar2</Type>
        <Capacity>50</Capacity>
      </Column>
      <Column>
        <Name>source</Name>
        <Type>varchar2</Type>
        <Capacity>100</Capacity>
      </Column>
      <Column>
        <Name>trade_date</Name>
        <Type>date</Type>
      </Column>
      <Column>
        <Name>trader</Name>
        <Type>varchar2</Type>
        <Capacity>200</Capacity>
      </Column>
      <Index>
        <Name>trades_pk</Name>
        <Type>btree</Type>
      </Index>
      <Index>
        <Name>trades_idx1</Name>
        <Type>bitmap</Type>
      </Index>
    </Tables>Since you are tracking metadata about the documents (name, date loaded) you might want to consider using the XDB repository to load the documents. The folllowing shows how you can do this from SQL and then create a view which contains the metadata and document content. The advantage of this approach is you can now load the documents using FTP or WebDAV.
    SQL> declare
      2    res boolean;
      3    document xmltype := xmltype(
      4  '<Tables xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.examples.org/xdb/schemas/T
    /tables.xsd">
      5     <table_name>trades</table_name>
      6     <Column>
      7             <Name>trade_id</Name>
      8             <Type>varchar2</Type>
      9             <Capacity>50</Capacity>
    10     </Column>
    11     <Column>
    12             <Name>source</Name>
    13             <Type>varchar2</Type>
    14             <Capacity>100</Capacity>
    15     </Column>
    16     <Column>
    17             <Name>trade_date</Name>
    18             <Type>date</Type>
    19     </Column>
    20     <Column>
    21             <Name>trader</Name>
    22             <Type>varchar2</Type>
    23             <Capacity>200</Capacity>
    24     </Column>
    25     <Index>
    26             <Name>trades_pk</Name>
    27             <Type>btree</Type>
    28     </Index>
    29     <Index>
    30             <Name>trades_idx1</Name>
    31             <Type>bitmap</Type>
    32     </Index>
    33  </Tables>');
    34  begin
    35    res := dbms_xdb.createResource('/public/testcase.xml',document);
    36  end;
    37  /
    PL/SQL procedure successfully completed.
    SQL> create or replace view TMP_XML_TABLES_VIEW as
      2  select extractValue(res,'/Resource/DisplayName') FILENAME,
      3         extractValue(res,'/Resource/CreationDate') LOAD_DATE,
      4         object_value XML_DOCUMENT
      5    from RESOURCE_VIEW, TABLES_TABLE t
      6   where extractValue(res,'/Resource/XMLRef')= ref(t)
      7  /
    View created.
    SQL> select * from TABLES_TABLE
      2  /
    <Tables xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.examples.org/xdb/schemas/TDB/tab
    s.xsd">
      <table_name>trades</table_name>
      <Column>
        <Name>trade_id</Name>
        <Type>varchar2</Type>
        <Capacity>50</Capacity>
      </Column>
      <Column>
        <Name>source</Name>
        <Type>varchar2</Type>
        <Capacity>100</Capacity>
      </Column>
      <Column>
        <Name>trade_date</Name>
        <Type>date</Type>
      </Column>
      <Column>
        <Name>trader</Name>
        <Type>varchar2</Type>
        <Capacity>200</Capacity>
      </Column>
      <Index>
        <Name>trades_pk</Name>
        <Type>btree</Type>
      </Index>
      <Index>
        <Name>trades_idx1</Name>
        <Type>bitmap</Type>
      </Index>
    </Tables>
    SQL> select * from TMP_XML_TABLES_VIEW
      2  /
    testcase.xml
    21-APR-06 02.21.37.031000 PM
    <Tables xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.examples.org/xdb/schemas/TDB/tab
    s.xsd">
      <table_name>trades</table_name>
      <Column>
        <Name>trade_id</Name>
        <Type>varchar2</Type>
        <Capacity>50</Capacity>
      </Column>
      <Column>
        <Name>source</Name>
        <Type>varchar2</Type>
        <Capacity>100</Capacity>
      </Column>
      <Column>
        <Name>trade_date</Name>
        <Type>date</Type>
      </Column>
      <Column>
        <Name>trader</Name>
        <Type>varchar2</Type>
        <Capacity>200</Capacity>
      </Column>
      <Index>
        <Name>trades_pk</Name>
        <Type>btree</Type>
      </Index>
      <Index>
        <Name>trades_idx1</Name>
        <Type>bitmap</Type>
      </Index>
    </Tables>
    SQL>
    SQL>
    SQL>

  • XML is not loading on N70?

    Hi
    I have tried to load XML into my N70 using Lite 2. Nothing is
    happening.
    I have also tried to download examples from Adobe, compiled
    them and transfered to N70. No result.
    It is only working on the emulation device - not on a real
    device.
    I guess this a major bug in Lite 2 - anybody have it working
    on a real phone?
    fh

    Can You Paste de Code Here ?
    Because I load my XML in my N92 and Its Works !!!
    Im waiting !!!
    See ya
    Eduardo Burko
    "flash-hero" <[email protected]> escreveu na
    mensagem
    news:eaam8o$27d$[email protected]..
    > Hi
    > I have tried to load XML into my N70 using Lite 2.
    Nothing is happening.
    > I have also tried to download examples from Adobe,
    compiled them and
    > transfered to N70. No result.
    > It is only working on the emulation device - not on a
    real device.
    > I guess this a major bug in Lite 2 - anybody have it
    working on a real
    > phone?
    > fh
    >

  • XML FormBuilder Not loading

    Hi Gurus,
    I have to work on XML form Builder. I am working on SAP Portal Developer Workplace. The problem is the formbuilder is not getting loaded. All I can see is a popup with nothing  on it.
    What might be te problem. Awaiting for reply.
    Thanks,
    Karan

    Hi Karan,
    did you check the "Environment Check Tool" what result did it display....
    Make sure that the Sun Java Rumtime Environment (JRE) is installed on the client host in version 1.4 or higher (or
    JRE version 1.3.1_02 or higher).
    Only one version of the Java Runtime Environment should be installed on the client host.
    To check whether the Internet Exploreris using the correct JRE version, choose Tools >> Internet Options >> Advanced
    Regards,
    Sudheer
    Message was edited by:
            Sudheer Kareti

  • Xml file not loading

    i am trying to create an e-learning course that will have
    glossaries according to the various lessons that are within the
    overall course. i have attached the code that i am using to quickly
    switch out the glossary xml file (that contains the definitiosn and
    terms). I can currently trace the lessonNumber variable (it is
    reading "1"), but when I attempt to trace the glossaryText
    variable, the output window is blank....can anyone tell me where i
    am going wrong?

    Just a hint - perhaps try putting your onLoad declaration
    BEFORE your load command. This way, your onload is present before
    the load is issued, so in case the XML is loaded really quickly,
    the onLoad handler will get called for sure. Does this make sense?
    In your case, the XML may have already loaded before you tell the
    object WHAT to call after it's loaded.
    When I've used the xml object, it looks more like this:
    myXML = new XML();
    myXML.onLoad = someFunction;
    myXml.load("somexmlfile.xml");
    Also -afterwards, you have to select a node of the XML to
    view. I use the XPath API to do so, by including this
    import mx.xpath.XPathAPI;
    And then using:
    XPathAPI.selectSingleNode within an onLoad function. Take a
    look at the documentation for XPathAPI - I had to make a custom
    function to return the node I wanted.
    Hope this helps you.

  • Init-params in web.xml are not loaded (Tomcat 4)

    Hello all...
    I register a servlet in webapps/<my-servlet>/WEB-INF/web.xml file, and pass 1 <init-param> tag. The file gets parsed (I know because when I made errors tomcat complained during initialization). However, when in the init method of the servlet I try to access this parameter, its not there. In fact, the servlet has NO init params at all.
    =================================================
    I have the following web.xml file
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <servlet>
    <servlet-name>XServlet</servlet-name>
    <servlet-class>com.fxcm.xml.xengine.xdas.XServlet</servlet-class>
    <init-param>
    <param-name>xengine.configFile</param-name>
    <param-value>c:/projects/re/das.config/config.xng</param-value>
    </init-param>
    </servlet>
    <servlet-mapping>
         <servlet-name>XServlet</servlet-name>
         <url-pattern>/xservlet</url-pattern>
    </servlet-mapping>
    </web-app>
    =======================================================
    I have the following servlet
    * XServlet.java
    * Created on May 6, 2002, 1:17 PM
    package com.fxcm.xml.xengine.xdas;
    import javax.servlet.*;
    import javax.servlet.http.HttpServlet;
    import java.io.IOException;
    import java.io.PrintWriter;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.ServletConfig;
    import java.util.Enumeration;
    import com.fxcm.xml.xengine.XEngine;
    public class XServlet extends HttpServlet{
    /** Initiates new XServlet */
    public void init(ServletConfig config)
    throws ServletException
              for (Enumeration e = config.getInitParameterNames(); e.hasMoreElements();){
    //This statement never gets printed because the loop never enters here since there are no init parameters
                   System.out.println(e.nextElement());
    super.init(config);
    String str = config.getInitParameter("xengine.configFile");
    System.out.println(str);
    XEngine.init(str.trim()); //This line throws NullPointer, because str is null since there are no initParameters.
    public void doPost(HttpServletRequest req, HttpServletResponse res)
    throws ServletException, IOException{
    // res.setContentType( );
              System.out.println("Got post request in XServlet");
    PrintWriter out = res.getWriter();
    out.println(XEngine.process(req.getInputStream()));
    out.flush();
    out.close();
    ================================================================
    I get the follwoing error in the browser:
    type Exception report
    message Internal Server Error
    description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
    exception
    java.lang.NullPointerException
         at com.fxcm.xml.xengine.xdas.XServlet.init(Unknown Source)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:918)
         at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:655)
         at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:400)
    Please help.
    Thank you,
    Elana

    I know what the problem is. If you call servlet with the default URL (http://host/app/servlet/package.Servlet) than Servlet DOES NOT read init parameters. I don't know why it was designed this way.
    To make servlet read init parameters, you have to assign it a name and then call it with that name, like this:
    <servlet>
    <servlet-name>ServletName</servlet-name>
    <servlet-class>package.ServletClass</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>ServletName</servlet-name>
    <url-pattern>/app/path/ServletName</url-pattern>
    </servlet-mapping>
    You can then call servlet using path specified in url-pattern and read init parameters in the normal way.

  • XML Picture Not Loading

    I have a Flash 9 AS3 document where I have set up a random
    picture loader from an XML file.
    Works fine on the desktop but when uploaded the random
    pictures will only load if the XML file and the jpg's are in the
    same folder as the swf. I have pointed the XML loader address to
    the proper spot in the AS3 code as well as in the XML file.
    I also have code in another keyframe for loading and
    displaying an RSS feed which works fine. I wonder are the two URL
    Loaders conflicting somehow. What am I doing wrong? Attached is the
    RSS and the AS3 code.
    Forrest

    As it turns out, I solved the problem by putting all the AS3
    code for the XML Loader into the same keyframe as the RSS feed
    loader. For some reason there must have been a conflict with the
    code being in different locations.
    Thanks everyone.
    Forrest

  • XML video not loading

    I have assetts loading into my file with an xml doc. The
    images and text is loading fine but when I try to load in external
    .swf's i get a error. I am sure my mc on the stage is labeled
    correctly and that the files are in the right location.
    here is the error and the code.

    why in the error is my local path and my xml element path
    split up.

  • Ical calenders not appearing - and database not loading

    I am having serious trouble with ical. And I really need a secure calander for my job.
    I changed the name of a couple of calenders - maybe two of the six - and changed the color of a couple - and about a week later I noticed that all of my appointments from before that date disappeared.
    I have reloaded from my back-up - both by importing the files and by replacing all the files in the application support folder - but 6 months of it are missing from about a month ago back. And all the colors changed - and my repeat appointments duplicated themselves about 5 times over.
    I also put all the files onto another computer and all of the dates appeared ok - all the wrong color & calender name - but the info was there.
    So I exported the calenders from the other computer - put them on my desktop - and imported them into my ical (merging them into the calenders that I have set up). Everything looked great. So I backed up the database and exported each of the calenders (just in case) and quit ical.
    When I reopened ical everything was gone again. Now the only way I can get the info back is to revert to backup - and I have to do it everytime I open ical!!
    Any help would be greatly appreciated.
    Thanks!!

    Do you have ALL of the information you need on the other computer?
    If so, I would do the following:
    1. Quit iCal
    2. Delete all folders under the ~/Library/Application Support/iCal/ folder
    3. Delete these plists from the ~/Library/Preferences folder:
    com.apple.iCal.plist,
    com.apple.iCal.helper.plist
    com.apple.iCal.AlarmScheduler.plist
    *Don't empty the Trash yet!*
    4. Open iCal and import the data from the other computer (not the backup database). You will need to redo all your calendar colors, but that doesn't seem like too much work.
    5. Once iCal is back the way you want it, make another database backup.
    The other thing you should check is in iCal->Preferences, under the Advanced tab, there are options to automatically delete events or to-do's after X many days. If you don't want events deleted make sure that box is unchecked.
    See how that goes and post back w/ results.

  • Java through javawebstart not loading the xml file.-- need help

    Dear All,
    I am using jdk1.2.06, tomcat 5.25
    In tomcat- inside webapps--mydirectory-- load.xml, applet1.java is present
    in the browser applet1.java is called through javawebstart,
    load.xml is loaded in applet1.java,where parsing is done in applet1.java,
    but my problem is load.xml is not loaded in applet1.java through java webstart
    Whether i want to do any pplicy file setting.. please clearly mention it..
    thanks in advance

    this is not the 'right' way to do it... but I think it should
    work. I didn;t change the function name although I think its
    supposed to be
    getdetailsfrmXML instead of getetailsfrmXML
    public function getEmpDetailsFrmXML() {
    var xmlFileName:String = "emp.xml";
    var employee_xml:XML = new XML();
    employee_xml['externalScope']=this;
    employee_xml.ignoreWhite = true;
    employee_xml.load(xmlFileName);
    employee_xml.onLoad = function(success) {
    if (success) {
    var xmlData = this;
    this.externalScope.getetailsfrmXML.call(this.externalScope,xmlData);
    } else {
    trace("file not found");
    public function getetailsfrmXML(details) {
    trace(employee_xml.toString()+" mkmop");

Maybe you are looking for

  • Master-details problem: How to access the parent EO/VO in child side?

    Hello Refer to the reply of posting Re: How to insert  new records in Master and detail Forms. I have got the following questions The approach for setting the master-details relationship works well, however, in this example, I have overriden the crea

  • JPEG to Clipboard

    One of my tasks is to handle a "screenshot" like function in our app. We want to be able to copy our image and paste it into another app, like Photoshop, so the clipboard needs to be a system clipboard, and the format needs to be universal. I think w

  • HT2476 Can I still use iPHOTO 6/iMovie 6/Appleworks with Mountain Lion?

    My partners and clients require those formats and are unlikely to upgrade to anything that does not run them., which is why we have not moved to Lion.

  • Problem installing JDeveloper 11.1.1.4

    Hello guys. I've downloaded on friday the generic installer of JDeveloper 11.1.1.4 (from http://www.oracle.com/technetwork/developer-tools/jdev/downloads/index.html) I've unzipped the content on the directory c:\jdev My OS is windows 7 64bit edition.

  • 3GS update from 3.0.1 to 4.0.1

    I have a 3GS that I have been using with the original software version 3.0.1 that was installed on the phone when I purchased it. I have never once updated it to a later version, because everything was working perfect. I thought that I might like to