Spry, displaying xml data

I tried to use spry on CS3 and I seized the spry region, then create a table but when I preview the page I get an error saying that there is a xml object error. I checked the xml code and it seems in good condition. There are small things that I would have missed out? It isn't really confussing me now

Yes, that's the ticket.

--
Murray - ICQ 71997575
Adobe Community Expert
(If you * MUST * write me, don't don't LAUGH when you do!)
==================
http://www.dreamweavermx-templates.com - template Triage!
http://www.projectseven.com/go - DW FAQs, tutorials & resources
http://www.dwfaq.com - DW FAQs, tutorials & resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

'David Powers' wrote in message
News:f25c9i$QSA$1@forums. Macromedia.com...
> Murray * ACE * has written:
> Actually, no. My XML source is on a remote server. At least one of
> what I put in the source - data field
>>
> http://<> address > / export.php
>
> It's probably because you're using a PHP script to serve the XML data.
> This is directly inspired by the Spry documentation:
>
> ' The URL argument can be a relative or absolute URL to an XML file, or to.
> a/application of web service that returns XML data. Users should be aware
> loading XML data is subject to the browser's security model
> which requires that any data you upload must come from the area where
> the HTML page, running in the browser, came. Web developers
> usually get around this limitation by having a script server-side who
> can be called from the browser that can load URL in other areas. »
>
> http://labs.adobe.com/technologies/spry/articles/data_set_overview/
>
> --
> David Powers, Adobe Community Expert
> Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
> Author, "PHP Solutions" (friends of ED)
> http://foundationphp.com/

Tags: Dreamweaver

Similar Questions

  • How to display XML data on forms10g2 webservice

    Please suggest solutions to fill the XML data that is passed to Forms 10 g 2 BizTalk via webservice?

    OPtion I know is loading XML into a staginig table and create a view to point to this table.

    You can use utl_http in the database to call the Web service and display the result in a form element.
    Example:
    http://www.Oracle-base.com/articles/9i/ConsumingWebServices9i.php

  • How to display XML data with the same form that generated?

    I am an inexperienced "developer", so bare with me please.  I just created an interactive form that my users will fill out and give me back.  I love the email button that let's them just click a button to send it - because it's so smooth.  However, all I get back is data XML that I don't know what to do with.  Is it possible that I can just open the form I send my users and have the XML data to automatically fill? Otherwise, suggestions?  I started a company - so it's just me without other resources (or fancy SQL DBs to pull this stuff, etc.).

    Hello

    You can configure a button on the form with the JavaScript next to the click event:

    xfa.host.importData ();

    This will open a window that will allow you to navigate to where you saved the returned XML file. Note that this button does not work in extended via Acrobat Forms.

    Depending on the version of Acrobat you are using (the menu changes slightly) you can go to the menu forms and select Manage form data / import data.

    Third option; You may also distribute the forms via Acrobat, which will put in place a response file, which will allow to import responses for you.

    Hope that helps,

    Niall

  • The Spry XML data Pages continue to increase the memory IE7 use

    Hello

    I am facing a recent issue when I built a data page spry with Dreamweaver cs3 and when you test the page using IE7 displays the data and after that I'm not doing something else opens the Manager of Windows taskbar and found shocking that the tab for iexplore.exe guard incrementing memory usage and as soon as I navigate to another page in the Web site or return to the previous state of the history by clicking aft IE7 button, it stops incrementing and shows a number of static Ko. It is not increment more.

    Please help me, I enclose the coding as below. I kept this code in my project directory web tomcat because it is only used by a Web server running and gives an error if security policy test it offline on the local computer.

    Thanks in advance.

    Anmol Saraf

    "mranmolsaraf" wrote in message
    News:f4oidv$k6f$1@forums. Macromedia.com...
    > ds1 var = new Spry.Data.XMLDataSet ("menubarXML.xml",
    > "specials/menu_item" {distinctOnLoad: true, useCache:false, loadInterval:100});}

    You reload the XML file every 100 milliseconds, I'm not surprised
    the memory usage increases...

    ----------------------------
    Massimo Foti, programmer web-rental
    Tools for ColdFusion and Dreamweaver developers:
    http://www.massimocorner.com
    ----------------------------

  • Error specifying the spry xml data source?

    I have been using Spry in Dreamweaver XML data sets without any problem until I added the YUI calendar widget. After that, I get a message error "no entity expected to name reference (65: 23). Also, there is no evidence in the bindings panel. I have a Mac OS X, which I find very frustrating after being on a PC for 15 years. I can never find anything that I am looking help section.

    Here's what I tried to present this has not worked.

    1 removed the YUI extension

    2. remove the * file *.dat in the folder of configuration in the user library folder

    3 Rename the configuration folder in the user library folder

    4 copy the folder of my laptop configuration library works

    5. uninstalled and reinstalled Dreamweaver CS4

    I can code everything by hand, but it of a lot of your time and makes the software a virtual paper weight.

    I would be recognizing an advisor who may be offered.

    Preference for programs files Mac is in your user folder/Library/Preferences account.  The files that DW and other applications create end in .plist.  These files are created by Mac OS for many applications.  If you delete one, the operating system will be re - create another preferences file the next time the application opened.

    Also other files DW records during a re - install are saved only if you go through the uninstall process and enable this option.  It's the same for the Windows version.  Sometimes if there are strange errors you can contact Adobe support for more information.

    If not and you need to do a reinstall, I would recommend disabling everything first.  Then, by running the adobe CS # own tool.  Just type this phrase into Google and you'll find the best result for CS3 or CS4.

    Adobe - Adobe CS3Clean Script

    Adobe - Adobe CS4 clean Script

    Those more that simply remove the program.  They will remove all the items in the applications folder and shared in the user's library and the library of the system.  It is the only true way to make a re-install AFAIK.  But you will need to disable the function before doing so because it will erase all files and all the serial numbers of all the Adobe programs with this tool.

  • Problems with the display of XML data

    I'm a bit new to Flash and have problems out XML data in Flash. Basically, when I saw publication, all data load XML file and displays very well. But when I actually publish the file and view in a browser, no data is displayed.

    Data from XML is happening in the areas of dynamic text (title, description, image).

    I use an absolute URL to retrieve the XML data, and I tried a lot of text integrated solutions, and nothing has worked. Here, any help would be greatly appreciated.

    I have attached the script action, but also a piece of the XML file I get the data.

    After going through each difficulty as possible, I could find, I managed to miss the information contained in the link below. This fixed my issue.

    http://www.Adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14213

  • Extraction of XML data and display new line

    I have a table named, SAPDATABROWSER, which has several columns and lines. A column named SAPTEXT (data type: CLOB) consist of xml data. Each XML data are different in terms of number of nodes, but has the same following structure:

    < SAP_BAPI_PROP >
    < SelectedProperty >
    < structure >
    < field > < / field >
    < length > < / length >
    < FieldValue > < / FieldValue >
    < type > < / Type >
    < priority > < / priority >
    < / structure >
    < / SelectedProperty >
    < / SAP_BAPI_PROP >

    So now, what I would do is, to extract the values: field, FieldValue and the length of each line (total 72) and see the result as follows.

    Length of track FieldValue
    XXXX YYYY ZZZZ
    PPPP QQQQ RRRR
    AAAA BBBB CCCC
    MMMM OOOO NNNN

    Again, each line (total 72) has several XML Data nodes, IE there are several nodes FieldType, length and field and no two XML data/line are similar!

    I use the following code:

    SELECT
    EXTRACT (xmltype (saptext), ' / SAP_BAPI_PROP/SelectedProperty/Structure/Field / text () ');
    EXTRACT (xmltype (saptext), ' / SAP_BAPI_PROP/SelectedProperty/Structure/Length / text () ');
    EXTRACT (xmltype (saptext), ' / SAP_BAPI_PROP/SelectedProperty/Structure/FieldValue / text () ')
    OF sapdatabrowser;

    The code above produces the following result:

    SAP_BAPI_PROP/.../Field/Text () SAP_BAPI_PROP/.../Length/text () SAP_BAPI_PROP/.../FieldValue/text)
    1 XXXXPPPPAAAA YYYYQQQQBBBB ZZZZRRRRCCCC
    2 MMMM OOOO NNNN


    Any suggestions? Thank you very much. :)

    Based on your sample data:

    SQL> select x.*
      2  from sapdatabrowser t
      3     , xmltable(
      4         '/SAP_BAPI_PROP/SelectedProperty/Structure'
      5         passing xmltype(t.saptext)
      6         columns field_name  varchar2(30) path 'Field'
      7               , field_len   varchar2(30) path 'Length'
      8               , field_val   varchar2(30) path 'FieldValue'
      9       ) x
     10  ;
    
    FIELD_NAME                     FIELD_LEN                      FIELD_VAL
    ------------------------------ ------------------------------ ------------------------------
    X                              Y                              Z
    P                              Q                              R
    A                              B                              C
    M                              N                              O
     
    

    (adjust the projected if necessary data types)

  • SPRY Dataset XML Preloader

    Hi all
    I use a datast XML to fill this page. When viewd in IE7, you see the markup Spry placeholder for about 1 second before the xml data is displayed. Of course, the customer complains. Is there a way I can hide just that. Sometimes when updating as well.

    http://www.amananet.com/Compton/attorneys.html

    Thank you very much

    You can add a special class for regions that hides.

    "SpryHiddenRegion" is the name of class

    and in your css, add this rule:

    . SpryHiddenRegion {visibility: hidden ;}}

  • After you install Internet Explorer 9 (Beta) desktop computer does not display a date on the calendar

    Original title: after the installation of the Board explorer9 will not display calendar date

    tried to re install calendar but still no date display

    Hey flatcoat4247,

    O are you talking about the gadget?

    O also, do you mean to say the version of Internet Explorer 9 (Beta)?

    This behavior is most often observed if the XML registration is missing in the system. To resolve this issue, follow these steps:

    a. close Windows Sidebar. To do this, right-click on the Sidebar icon in the Notification area, and then click exit.

    b. open an elevated command prompt window.

    To do:

    i. click on Start > all programs.

    II. click Accessories.

    III. right click on invite and then click run as administrator.

    c. in the command prompt window, type the following command and press ENTER:

    regsvr32 msxml3.dll

    Similarly, run these commands:

    regsvr32 scrrun.dll

    regsvr32 jscript.dll

    If the registration was successful, you will see the message DllRegisterServer in succeeded to for each executed command.

    d. open Windows Sidebar (sidebar.exe) and check if the problem is resolved.

    See if it works.

    Kind regards

    Shinmila H - Microsoft Support

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Loading XML data in ListView of C++ after extraction of http data

    I'm sorry did searh but could not find any refrence related to my problem
    I am trying to load the xml data returned from a web service HTTP Post QNetworkRequest and QNetworkReply in c ++.

    My XML that gets donwloaded is as

    
     http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://tempuri.org/">
      
        tu7652
        F
        Marry
        Wijaya
      
      
        23
        F
        Marry
        Wijaya
      
    
    

    In My QML, it comes to the ListView can say SearchResult.qml

    ListView {
              objectName: "resultlist"
              dataModel: feedsdatamodel
              listItemComponents: [
                ListItemComponent {
                            type: "item"
                            PeopleListItem {
                                name: ListItemData.givenName + ", " + ListItemData.sn
                                role: ListItemData.ExtFunction
                                leftPaddingText: 40
                            }
                        }
               ]
            }
     attachedObjects: [
           // The data model that contains the content of a XML file
            GroupDataModel {
                id: feedsDataModel
                sortingKeys: [
                    "givenName"
                ]
                grouping: ItemGrouping.None
            }
        ]
    

    PeopleListItem.qml

    import bb.cascades 1.0
    
    Container {
        property alias name: titleLabel.text
        property alias role: functionLabel.text
        property alias leftPaddingText: textcontainer.leftPadding
    
        layout: StackLayout {
            orientation: LayoutOrientation.TopToBottom
        }
        preferredWidth: 768
        preferredHeight: 135
        Container {
    
            id: textcontainer
            topPadding: 10
    
            layout: StackLayout {
                orientation: LayoutOrientation.TopToBottom
            }
            Label {
    
                id: titleLabel
                textStyle.base: SystemDefaults.TextStyles.TitleText
                textStyle.color: Color.Black
            }
            Label {
                id: functionLabel
                textStyle.base: SystemDefaults.TextStyles.BodyText
                textStyle.color: Color.Gray
            }
        }
        Divider {
            verticalAlignment: VerticalAlignment.Bottom
        }
    }
    

    This is the function I'm using to display the QML it is called from main.qml and works correctly.

    void PeopleFinder::onSearchClicked() {
        qDebug() << "PeopleFinder::PeopleFinder::onSearchClicked::\t" << "begin";
        qDebug() << "PeopleFinder::PeopleFinder::onSearchClicked::\tfname:"
                << m_fname << "\tlname:" << m_lname;
    
        // Create a network access manager and connect a custom slot to its
        // finished signal
        mNetworkAccessManager = new QNetworkAccessManager(this);
    
        // create a data model with sorting keys for lastname and firstname
        Q_ASSERT(
                connect(mNetworkAccessManager, SIGNAL(finished(QNetworkReply*)), this, SLOT(requestFinished(QNetworkReply*))));
    
        //Load the bew QML file of Search from here
        QmlDocument *qml = QmlDocument::create("asset:///SearchResults.qml").parent(
                this);
        qml->setContextProperty("peoplefinder", this);
    
        Page *mypage = qml->createRootObject();
        qml->setParent(mypage);
        qDebug() << "PeopleFinder::PeopleFinder::onSearchClicked::\t s444444";
    
        // Retrieve the activity indicator from QML so that we can start
        // and stop it from C++
    //  mActivityIndicator = mypage->findChild("myIndicator");
    
        // Retrieve the list so we can set the data model on it once
        // we retrieve it
        mListView = mypage->findChild("resultlist");
    
        mNavigator->push(mypage);
    }
    

    Once the page loads in the QML it call the launch request providing c ++ file and once the
    query is completed under function is called with the data. I checked that data are downloaded properly

    void PeopleFinder::requestFinished(QNetworkReply* reply) {
        qDebug() << "PeopleFinder::PeopleFinder::requestFinished::\t"
                << "response received";
        // Check the network reply for errors
        if (reply->error() == QNetworkReply::NoError) {
    
            // Open the file and print an error if the file cannot be opened
            qDebug() << "PeopleFinder::PeopleFinder::requestFinished::\t"
                    << "No error";
    
            // Write to the file using the reply data and close the file
            QByteArray xml = reply->readAll();
            qDebug() << "Data: \n" << xml;
    
            // load the xml data
            XmlDataAccess xda;
            QVariant list = xda.load(xml, "ArrayOfPeople");
    
            qDebug() << "List:::\n" << list;
    
            GroupDataModel *datamodel = (GroupDataModel*)mListView->dataModel();
            // add the data to the model
            datamodel->clear();
            datamodel->insertList(list.value());
            datamodel->setSortingKeys(QStringList() << "givenName" << "sn");
            qDebug() << "PeopleFinder::PeopleFinder::requestFinished::\t"
                    << "Datamodel set size:: " << datamodel->size();
    
            // Set the new data model on the list and stop the activity indicator
    
        } else {
            qDebug() << "\n Problem with the network";
            qDebug() << "\n" << reply->errorString();
        }
    }
    

    But now, the real problem begins as in how to convert QByteArray data type of QVariantList which can be loaded into the datamodel
    I don't want to write the data to the XML file and then pass that as a list his will is very slow, once I move test environment to the production environment.

    Please help me solve this problem

    I got it to work using xml parsing with QXmlStreamReader

  • Operation of the sample XML data.

    Hello

    I use BI 11g Publisher.

    I'm creating a large data (50000 lines) report.

    I'm done with data sets, they work, and I could also get the example of xml data (I chose 'all' in the menu drop-down lines) for them.
    But when I try to create the new report, after checking the boxes for all data sets, loading... message appears and does not disappear.

    The reason for the problem may be the enormous amount of data?
    Because when I tried with the example of XML for only 100 lines, it has successfully loaded.

    I want that when reports are displayed, they are shown for all rows of the table...

    I have some more questions.

    1. the report displays data only for lines that are generated in the sample xml?

    2. If more data are added after reports are generated, new data will be included in the reports?

    3. what needs to be done, it is filed, I want the same reports of data from different sources (in my case this is the JNDI) but the same table definitions?

    Help, please

    Thanks in advance,

    ShuklaG

    When running the engine TONE pulls all matching records and renders on model and generate the report.

    with regard to other issues:

    1. the report indicates the complete data.

    2.Yes, the report shows with addition of data as well. It depends entirely on the SQL of data overall.

    3. change the data source (as long as datasource is already configured) at the level of datamodel regenerate the XML. If different data sources must be defined for the different sets of data, change the data source in data defination game save the datamodel, generate the xml data and save.

    Hope that it answers the questions.

  • Creation of buttons in movieclip in the script with the xml data?

    The code following, showing the errors when I create buttons multi based on xml data. Please help me

    package {}
    import flash libraries
    import flash.display.Sprite;
    import flash.events. *;
    flash.xml import. *;

    import flash.display.MovieClip;

    multibuttons public class extends Sprite {}

    private var xml_loader:URLLoader;
    private var xml_data:XML;

    public void multibuttons() {}

    xml_loader = new URLLoader();
    donnees_xml = new XML();

    xml_loader. Load (new URLRequest ("buttons.xml"));
    xml_loader.addEventListener (Event.Complete, load_xml);
    }


    public void load_xml(evt:Event):void {}
    try {}
    donnees_xml = new XML (evt.target.data);
    trace ("XML data loaded successfully");
    button_xml_list (xml_DATA);
    } catch {(evt:message)}
    trace ("data XML has not loaded");
    trace (evt. Error);
    }

    }

    public void button_xml_list(butn_list:XML):void {}
    var button_list:XMLList = butn_list.totalbutton.button;
    for each {(var button_element:XML in button_list)
    trace (button_element);
    box_button is linkgae of film clip
    var create_button:box_button = new box_button();
    create_button.x = 50;
    create_button.y = 50;
    addChild (create_button);
    create_button.x += 30;
    }

    }

    }


    }

    If multibuttons is the class of your documents, your buttons will be added to the scene.  but they will all be added to the same x, y so

    you will see only one.

  • Extract XML data to a text box

    How could I get the XML data a box?

    Course code: (it will not display anything!)

    var dyoXML:XML = new XML();
    dyoXML.ignoreWhite = true;

    dyoXML.onLoad = {function (success)}
    {if (Success)}
    disemail. Text = This;
    }
    }

    dyoXML.load ("http://www.myweb.com/mails.php");

    you not set $fin in your php file.  use:

    $fin = $_POST ['end'];

    to define it.  and you should be specifying the POST method to send data to your php file.  (unless you send end via the query string that you aren't.)

  • Manipulate xml data

    From an XML file, I can retrieve the content and display it in a single column. This part works perfectly!

    But when it comes to separate my xml data in 2 columns... no luck.
    Can someone guide me and split my articles in a new line when 10 items are met?


    Hi blow
    It's here: GET HERE
    I changed a part of each function at the bottom. Then change tehm all. Just the ones from downstairs. I also change the function of "makeSubMenu" at the top of your code. In this function, the parameters is now "node" and no more "node.childNodes. Long to explain, but it works perfectly now. When I change the code before that I didn't think that wiil you need for the type of menu. This is the reson why I need to keep the knot all not only the node.childNodes. Well well down, here's what I did:
    1 - in the 'attachSubMenuItem' is a button for each clip id. Use of subment which now have been clicked
    2 - I always use the same if the "setSubmenuEvents" function is the only event in. It's a good way to work in the case that you want to add other celebrations.
    3 - I had to change a bit of your code in the "levelTwoEmpty ["item"+ i] .onRelease" now called as "clickEventSub". Not only an event, but a function. Code inside has been change to work with the new code. Also, I use the case of the switch instead of the otherwise if if else etc. In this case, it

    Hope that can help.

  • Construction of a game based on XML data screen

    I just put a list of clips on the screen using the data of positioning of an xml document.

    I created 2 movieClips in my library with the link of the box01 class and box02.

    I have an xml document that describes the x and there contact information I want to use:


    <? XML version = "1.0" encoding = "iso-8859-1? >
    < data >
    < name of art = "box01" x = "50" y = "50" / >
    < name of art = "box02" x = "100" y = "100" / >
    < / data >

    I am able to analyze this xml document in flash and see the data:
    trace(XMLDATA.art[0].@Name) displays "box01.

    Now I want to loop through the length of my elements of 'art' xml and generate my screen (by calling the movieClips box01 and box02 located in the library).

    But I don't know how to use the name box01, box02 etc of the doc xml to create my case.

    It works, but more or less like this:

    var i: uint;
    for (i = 0; i < xmldata.art.length (); i ++) {}
    trace (XMLDATA.art, , .@name);
    var myMovieClip: [xmldata.art
    .@name] = new [xmldata.art .@name] ();
    myMovieClip.x = xmldata.art
    .@x.
    myMovieClip.y = xmldata.art .@y.
    addChild (myMovieClip);
    }


    Sound this line that I need the help of the syntax on:

    var myMovieClip: [xmldata.art
    .@name] = new [xmldata.art .@name] ();


    I want the name of my case to be the 'name' of my xml doc attribute.

    I'm close - could someone please help me understand this?

    Thanks - I'll put my complete code below.








    -COMPLETE ACTION SCRIPT-

    package {}
    import flash.display. *;
    import flash.events. *;
    import flash.net.URLLoader;
    import flash.net.URLRequest;

    public class myXMLDoc extends MovieClip {}
    private var xmldata:XML;

    public void myXMLDoc() {}
    XMLDATA = new XML();
    var xmlURL:URLRequest = new URLRequest ("myXMLDoc.xml");
    var xmlLoader:URLLoader = new URLLoader (xmlURL);
    xmlLoader.addEventListener (Event.COMPLETE, xmlLoaded);
    xmlLoader.addEventListener (IOErrorEvent.IO_ERROR, xmlLoadError);
    }

    function xmlLoaded(event:Event) {}
    XMLDATA = XML (event.target.data);
    trace(XMLDATA.art[0].@Name);
    trace ("data loaded successfully.");
    buildScreen();
    }

    function xmlLoadError(event:IOErrorEvent) {}
    trace (Event.Text);
    }

    function buildScreen() {}
    trace ("display building");
    var i: uint;
    for (i = 0; i < xmldata.art.length (); i ++) {}
    trace(XMLDATA.art
    .@Name);

    This next line is where I want to add my movieClips box01 and box02 on-screen *.
    and the use of x and y, the xml data placement *.

    var myMovieClip: [xmldata.art .@name] = new [xmldata.art.@name] ();
    myMovieClip.x = xmldata.art .@x.
    myMovieClip.y = xmldata.art
    .@y.
    addChild (myMovieClip);
    }
    }
    }
    }

    It's beautiful. Thank you!

Maybe you are looking for

  • Satellite Pro M30 PSM35E - after the sound of the HARD drive, I can't reinstall Windows

    After the hard drive noise I couldn't reinstall Windows. It stops after a few seconds. Buy a new hard drive and what the specifications?

  • Bluetooth Driver Hp Pavilion 15 laptop

    The President complied, I'm Mr hammad, I have a problem on the pavilion 15 notebook. the problem is that my bluetooth on windows 8.1 64-bit does not work and I don't know what is the model number of my cell phone... and that's why I can't download th

  • 8 GB card rocket w / 16 gb

    the update of the firmware repeat failure to download... y at - it another way to update my firmware... I have version 2.01.09 also I have on the chapters of the internal memory 3935 (songs)... when I try to add one for the 16 GB card it shows only a

  • IPSEC VPN DMZ HOST NAT

    Hello world First of all thanks for the invaluable information this community offers technicians everywhere... I'm newish to IPSEC VPN and I have a question. I have a DMZ PATed host to a public IP address. I've set up an IPSEC tunnel (with an externa

  • Permission to connect ACS 4.1

    Hello We installed the new ACS 4.1 device. Its fine for all newspapers but newspapers for work permit do not come. I made the necessary configuration in the AAA clients. If anyone can help with that. I need to upgrade the application? Pls suggest...!