Spry:repeat works in Mozilla and not IE 6

I made this little test in Spry.
It happens to work in Mozilla but not in Internet Explorer 6
which is quite weird since I almost copy/pasted from one of the
included examples (the example worked fine everywhere).
Can anyone point me in the right direction please?
Thanks...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml"
xmlns:spry="
http://ns.adobe.com/spry">
<head>
<title>Club voleibol bargas</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<script language="JavaScript" type="text/javascript"
src="scripts/spry/xpath.js"></script>
<script language="JavaScript" type="text/javascript"
src="scripts/spry/SpryData.js"></script>
<script language="JavaScript" type="text/javascript">
var dsNews = new
Spry.Data.XMLDataSet("scripts/xml_noticias.php", "/allnews/news");
</script>
</head>
<body>
<div spry:region="dsNews">
<div spry:repeat="dsNews">{header}</div>
</div>
</body>
</html>
The XML needed for this looks like this:
<allnews>
<news>
<id>26</id>
<header>Morbi mauris.</header>
</news>
<news>
<id>23</id>
<header>Lorem ipsum dolor sit amet</header>
</news>
<news>
<id>8</id>
<header>Proin convallis. Duis sed est ut ligula
ullamcorper bibendum.</header>
</news>
</allnews>

I spent days trying to figure it out and the minute I post it
here the solution comes to me!
The problem was that the XML file was being generated by a
PHP script which was not outputting the appropriate headers.
You can use:
header('Content-Type: text/xml');
Or use this other one if your charset is NOT US-ASCII:
header('Content-Type: application/xml');

Similar Messages

  • It stopped me manifest smilies on facebook (chat, status updates, comments) on Mozilla and not helped or delete cookies and everything else, or reinstall. I use

    It stopped me manifest smilies on facebook (chat, status updates, comments) on Mozilla and not helped or delete cookies and everything else, or reinstall. I use Win 8.1 and I'm forced to install Opera, and if this does not work, the brand will move to Opera. I'm sorry, all is right with the browser but this made me very hampers and can not be used like this. I hope a rapid response to [email protected]
    http://i.imgur.com/IWrR0Ke.png?2
    I NEED HELP URGENT!!!

    Sorry for bad english ;-)

  • Custom F4 help in a BSP application working in Mozilla but not in IE

    Hi,
    I have created a custom F4 help in a BSP application.
    It is working in Mozilla but not in IE. I tried enabling javascript as well but still it is not working.
    Can someone please suggest a possible solution for this?

    Hi,
    See simmilar discussion in thread /thread/1883519 [original link is broken]
    I think this may be helpful for you.
    Thanks,
    Chandra

  • Why does my php export feature work in IE and not firefox?

    Why does my php export feature work in IE and not Firefox? I've written a web application which contains a SigmaGrid. The grid controls reload, add update delete, print and export to csv all work in IE8. The export feature does not work in Firefox.

    I'm not sure what's going on for you. I've had 4 other developers - two on Comcast and two on Fios review my work and they get the control and export action in the IE8 version but not the FF10 version.
    Thanks for looking into this for me, though. I appreciate the effort. '' The operation was a success doctor, but the patient died.''

  • Quicktime plugin works in IE and not in safari

    Hello,
    I'm using Safari 2.0.1 for browsing the web. I'm on Tiger 10.4.2 and have QT7 pro.
    Firewall is set to let Quicktime streaming pass through.
    the following URL is extract from the allocine web site witch is the french movie portal.
    http://www.allocine.fr/video/generation.mov?u=rtsp://a1622.v09806.c980.e.vq.akamaistream.net/7/1622/980 /41891159/quicktime.allocine.fr/nmedia/18/35/52/34/18397590_fa1_vosth.mov
    under safari I've got the big blue Q and that's it. On IE it works fine.
    Moreover on safari the end of the URL (beginning at RTSP) open quicktime player.
    Sound to me like a bug but can't be sure.
    You can check at www.allocine.com click on a movie and try to watch a trailer ("bande annonce" in french).
    Moreover High definition trailer works fine on this site with quicktime....
    really strange
    maxime
    just an add on : Trailers on apple web site works fine

    Sorry but already done that. Quicktime is set to RTSP and SDP in the mime settings...
    A person in the french forum got the salme problem than I and install IE. With IE he can got at allocine web site..
    I'm convinced it's something to do with the HTML interpreter but can't point out.
    On Safari the plugin seems not starting so I assume it's not the connexion and can't see why it would works under IE and not safari in this case...
    Please, I don't want to why IE, get my Safari back to work on allocine web site with quicktime
    maxime

  • Why is my airportxpr only working with Itunes and not with another music program

    why is my airportxpr only working with Itunes and not with another music program??
    I can not select/see other outputs in my sound selector.

    You have not indicated which OS or which music program you have so I have listed a program called Airfoil to try for both Windows and Mac - it may work for you
    for Windows - http://rogueamoeba.com/airfoil/windows/
    for Mac - http://rogueamoeba.com/airfoil/mac/

  • I have CS6 and CC installed on my mac when I'm using CS6 and use bridge CC activates how can I set this to only work on one and not the other

    I have CS6 and CC installed on my mac when I'm using CS6 and use bridge CC activates how can I set this to only work on one and not the other

    If you want Bridge CS6 to open when using Photoshop CS6, you must quit Bridge CC.
    Then File menu > Browse in Bridge will bring up Bridge CS6.
    If Bridge CC is already open, The File > Browse in Bridge for Photoshop CS6 will use Bridge CC and Bridge CS6 will not open.
    I hope that's the answer you were looking for.
    Gene

  • HT3412 impossible to download my book ! I-photo 11 worked last month and not anymore.Download stops in the middle.

    I-photo 11 worked last month and not anymore.Download stops in the middle.I have to shut MAc down and restart to debug.
    What's wrong ?

    Here's a fix that worked for some users:
    Make sure this checkbox is checked in the System/Sharing preference pane:
    If it is, uncheck it and then recheck and try ordering again.

  • Ipad screen went white with gray/black line through it. Worked one minute and not the next. It has not been jailbroken.

    The ipad screen has went white and has a gray line running through the middle of it. It worked one minute and not the next. It has not been jail broken.

    Have you tried restarting or resetting your iPad?
    Restart: Press On/Off button until the Slide to Power Off slider appears, select Slide to Power Off and, after It shuts down, press the On/Off button until the Apple logo appears.
    Reset: Press the Home and On/Off buttons at the same time and hold them until the Apple logo appears (about 10-15 seconds). No data will be lost.

  • JSP compenent not working in mozilla and firefox

    Hi Experts,
    We have made a portal component with JSPs. And assigned it to anonymous page on our portal.
    Same is working fine with IE. However, with Mozilla and Firefox it gets distorted.
    Anyone knows whether mozilla supports JSP pages or not?
    Is there problem with Support pack?
    I am using EP 7.1 and SP 10 for the Mozilla Browser version (3.6.25 and 8.0.1).
    Your helps will be appriciated.
    Regards,
    Chitra

    Dear Chitra
    Please check Product Availability Matrix in service market place to verify the compatibility for accessing JSP in mozilla,
    I think it should work in 3.6.25 but not sure about 8.0.1, please check and verify in SMP
    Best Regards
    Arun Jaiswal

  • Spry:selected highlights last row and not default

    I've seen people post this error, but I'm not finding any simple fixes for this. I'm in Dreamweaver CS4 and I have inserted a spry dataset: Here is my code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xmlns:spry="http://ns.adobe.com/spry">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <script src="../SpryAssets/SpryData.js" type="text/javascript"></script>
    <script src="../SpryAssets/SpryHTMLDataSet.js" type="text/javascript"></script>
    <link href="../SpryAssets/SpryMasterDetail.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
    <!--
    var thur = new Spry.Data.HTMLDataSet("thursday.html", "sprydata");
    var fri = new Spry.Data.HTMLDataSet("friday.html", "sprydata");
    var sat = new Spry.Data.HTMLDataSet("saturday.html", "sprydata");
    //-->
    </script>
    </head>
    <body>
    <div class="MasterDetail">
      <div spry:region="thur" class="MasterContainer">
        <div class="MasterColumn" spry:repeat="thur" spry:setrow="thur" spry:hover="MasterColumnHover" spry:select="MasterColumnSelected" spry:selected="MasterColumnSelected" spry:selectgroup="l"  spry:selectedgroup="1">{Activity}</div>
      </div>
      <div spry:detailregion="thur" class="DetailContainer">
        <div class="DetailColumn">{Time}</div>
        <div class="DetailColumn">{Activity}</div>
        <div class="DetailColumn">{Leaders}</div>
        <div class="DetailColumn">{Location}</div>
        <div class="DetailColumn">{Fee}</div>
        <div class="DetailColumn">{Description}</div>
        <div class="DetailColumn">{Flag}</div>
      </div>
      <br style="clear:both" />
    </div>
    <div class="MasterDetail">
      <div spry:region="fri" class="MasterContainer">
        <div class="MasterColumn" spry:repeat="fri" spry:setrow="fri" spry:hover="MasterColumnHover" spry:select="MasterColumnSelected" spry:selected="MasterColumnSelected" spry:selectgroup="2"  spry:selectedgroup="2">{Activity}</div>
      </div>
      <div spry:detailregion="fri" class="DetailContainer">
        <div class="DetailColumn">{Time}</div>
        <div class="DetailColumn">{Activity}</div>
        <div class="DetailColumn">{Leaders}</div>
        <div class="DetailColumn">{Location}</div>
        <div class="DetailColumn">{Fee}</div>
        <div class="DetailColumn">{Description}</div>
        <div class="DetailColumn">{Flag}</div>
      </div>
      <br style="clear:both" />
    </div>
    <div class="MasterDetail">
      <div spry:region="sat" class="MasterContainer">
        <div class="MasterColumn" spry:repeat="sat" spry:setrow="sat" spry:hover="MasterColumnHover" spry:select="MasterColumnSelected" spry:selected="MasterColumnSelected" spry:selectgroup="3"  spry:selectedgroup="3">{Activity}</div>
      </div>
      <div spry:detailregion="sat" class="DetailContainer">
        <div class="DetailColumn">{Time}</div>
        <div class="DetailColumn">{Activity}</div>
        <div class="DetailColumn">{Leaders}</div>
        <div class="DetailColumn">{Location}</div>
        <div class="DetailColumn">{Fee}</div>
        <div class="DetailColumn">{Description}</div>
        <div class="DetailColumn">{Flag}</div>
      </div>
      <br style="clear:both" />
    </div>
    </body>
    </html>
    When I added the spry:selected function it highlighted the last row in the master column, versus the first row, for which it's displaying details in the details region. Am I missing a small bit of simple code?

    Alright, I got it working...
    This is for multi spry datasets (3 on one page: thur, fri and sat), highlighting the default (first) selected row/record on the left master list (which is the Dreamweaver CS4 default for master/detail, but it doesn't automatically highlight it as "selected") of EACH dataset (using spry:selectgroup and spry:selectedgroup).
    The only variables that you would change are the following:
    - all the thur, fri, and sat (as in spry:region="thur")
    - all the group numbers (as in spry:selectgroup="1")
    - all the items in {} (as in {Activity})
    - of course all the file names (as in "thursday.html")
    All the class names (as in "MasterColumnHover") are all the Dreamweaver CS4 defaults.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xmlns:spry="http://ns.adobe.com/spry">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <script src="../SpryAssets/SpryData.js" type="text/javascript"></script>
    <script src="../SpryAssets/SpryHTMLDataSet.js" type="text/javascript"></script>
    <link href="../SpryAssets/SpryMasterDetail.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
    <!--
    var thur = new Spry.Data.HTMLDataSet("thursday.html", "sprydata");
    var fri = new Spry.Data.HTMLDataSet("friday.html", "sprydata");
    var sat = new Spry.Data.HTMLDataSet("saturday.html", "sprydata");
    //-->
    </script>
    </head>
    <body>
    <div class="MasterDetail">
    <div spry:region="thur" class="MasterContainer">
            <div spry:repeat="thur" spry:choose="choose">
              <div spry:when="{ds_RowID} == {ds_CurrentRowID}" class="MasterColumn" spry:setrow="thur" spry:hover="MasterColumnHover" spry:selected="selected" spry:selectedgroup="1" spry:select="MasterColumnSelected" spry:selectgroup="1">{Activity}</div>
                <div spry:default="default" class="MasterColumn"  spry:setrow="thur" spry:hover="MasterColumnHover" spry:select="MasterColumnSelected" spry:selectgroup="1">{Activity}</div>          
    </div></div>
       <div spry:detailregion="thur" class="DetailContainer">
        <div class="DetailColumn">{Time}</div>
        <div class="DetailColumn">{Activity}</div>
        <div class="DetailColumn">{Leaders}</div>
        <div class="DetailColumn">{Location}</div>
        <div class="DetailColumn">{Fee}</div>
        <div class="DetailColumn">{Description}</div>
        <div class="DetailColumn">{Flag}</div>
      </div>
      <br style="clear:both" />
    </div>
    <div class="MasterDetail">
    <div spry:region="fri" class="MasterContainer">
            <div spry:repeat="fri" spry:choose="choose">
              <div spry:when="{ds_RowID} == {ds_CurrentRowID}" class="MasterColumn" spry:setrow="fri" spry:hover="MasterColumnHover" spry:selected="selected" spry:selectedgroup="2" spry:select="MasterColumnSelected" spry:selectgroup="2">{Activity}</div>
                <div spry:default="default" class="MasterColumn"  spry:setrow="fri" spry:hover="MasterColumnHover" spry:select="MasterColumnSelected" spry:selectgroup="2">{Activity}</div>          
    </div></div>
      <div spry:detailregion="fri" class="DetailContainer">
        <div class="DetailColumn">{Time}</div>
        <div class="DetailColumn">{Activity}</div>
        <div class="DetailColumn">{Leaders}</div>
        <div class="DetailColumn">{Location}</div>
        <div class="DetailColumn">{Fee}</div>
        <div class="DetailColumn">{Description}</div>
        <div class="DetailColumn">{Flag}</div>
      </div>
      <br style="clear:both" />
    </div>
    <div class="MasterDetail">
    <div spry:region="sat" class="MasterContainer">
            <div spry:repeat="sat" spry:choose="choose">
              <div spry:when="{ds_RowID} == {ds_CurrentRowID}" class="MasterColumn" spry:setrow="sat" spry:hover="MasterColumnHover" spry:selected="selected" spry:selectedgroup="3" spry:select="MasterColumnSelected" spry:selectgroup="3">{Activity}</div>
                <div spry:default="default" class="MasterColumn"  spry:setrow="sat" spry:hover="MasterColumnHover" spry:select="MasterColumnSelected" spry:selectgroup="3">{Activity}</div>          
    </div></div>
      <div spry:detailregion="sat" class="DetailContainer">
        <div class="DetailColumn">{Time}</div>
        <div class="DetailColumn">{Activity}</div>
        <div class="DetailColumn">{Leaders}</div>
        <div class="DetailColumn">{Location}</div>
        <div class="DetailColumn">{Fee}</div>
        <div class="DetailColumn">{Description}</div>
        <div class="DetailColumn">{Flag}</div>
      </div>
      <br style="clear:both" />
    </div>
    </body>
    </html>

  • Spry menubar works in IE, but not Firefox

    I added a very simple Spry horizontal menubar to the top of all pages in my web (I'm using DWCS4 and Spry 1.6). When I preview it in Firefox locally, it seems to work, but when it is uploaded to the web server it works in IE, but not in Firefox. Instead of a menubar, I see a stack of bulleted hyperlinks. In IE, it displays properly.
    Website is http://www.stevegoldman.com.
    How can I fix this problem so that it works with all browsers properly?
    -- Martin

    I just tested your site with firefox (latest version) and it works just fine. I also tested it in IE: 7.0 and it worked fine for that too. Looks like you have either fixed the problem or you have a different version of firefox than me or something.
    Favorite qoute: "do unto other as you would do unto yourself"
    Favorite hobby: airsoft / electric aeg airsoft guns
    Airsoft Sniper Rifles

  • Spry Table works in Firefox but not IE

    I have a Spry table working just fine in Firefox in a site
    I'm developing:
    http://www.abenaki.com/newsite/schedule.html,
    but in IE 6 and 7 it first shows the table, unpopulated, and then
    disappears altogether. I'm new to Spry and XML... have I done
    something wrong? Any light anyone could shed would be hugely
    appreciated! Thank you!!
    The XML looks like this:
    <?xml version="1.0" encoding="utf-8"?>
    <courses>
    <course id="1">
    <name>New! Introduction to Social Assistance and Case
    Management</name>
    <location>Winnipeg</location>
    <startdate>10 21 2008</startdate>
    <duration>4 days</duration>
    <price>$1695</price>
    <desc>This course covers the setup, daily and periodic
    procedures for Abenaki’s Social Assistance and Case
    Management Module.Topics to be covered include: organization
    profile setup, rate maintenance, security, vendor and client
    maintenance, cheque production in Sage Accpac, cheque production in
    the Social Assistance module, reports, case planning, month and
    year end processing.</desc>
    </course>
    <course id="2">
    <name>Introduction to Safe Water Infrastructure
    Management System</name>
    <location>Moncton</location>
    <startdate>10 28 2008</startdate>
    <duration>2 days</duration>
    <price>$1295</price>
    <desc>No description available at this
    time.</desc>
    </course>
    <course id="3">
    <name>Introduction to Housing Inspection and Management
    System</name>
    <location>Moncton</location>
    <startdate>10 30 2008</startdate>
    <duration>1 day</duration>
    <price>$495</price>
    <desc>This introductory level course covers all of the
    steps involved in the data entry and report generation for housing
    units in the community. Topics to be covered include: rating the
    condition and estimated cost to repair of the interior, exterior,
    amenities, fire and health hazard items. Students will learn how to
    generate reports to identify housing units in need of minor or
    major repairs and those units that are potential fire and/or health
    hazard.</desc>
    </course>
    <course id="4">
    <name>New! Post Secondary Education and Student
    Tracking</name>
    <location>Winnipeg</location>
    <startdate>11 12 2008</startdate>
    <duration>3 days</duration>
    <price>$1595</price>
    <desc>No description available at this
    time.</desc>
    </course>
    <course id="5">
    <name>New! Introduction to Social Assistance and Case
    Management</name>
    <location>Edmonton</location>
    <startdate>11 18 2008</startdate>
    <duration>4 days</duration>
    <price>$1695</price>
    <desc>This course covers the setup, daily and periodic
    procedures for Abenaki’s Social Assistance and Case
    Management Module.Topics to be covered include: organization
    profile setup, rate maintenance, security, vendor and client
    maintenance, cheque production in Sage Accpac, cheque production in
    the Social Assistance module, reports, case planning, month and
    year end processing.</desc>
    </course>
    <course id="6">
    <name>Introduction to Safe Water Infrastructure
    Management System</name>
    <location>Edmonton</location>
    <startdate>11 18 2008</startdate>
    <duration>2 days</duration>
    <price>$1295</price>
    <desc>No description available at this
    time.</desc>
    </course>
    <course id="7">
    <name>Introduction to Housing Inspection and Management
    System</name>
    <location>Edmonton</location>
    <startdate>11 20 2008</startdate>
    <duration>1 day</duration>
    <price>$495</price>
    <desc>This introductory level course covers all of the
    steps involved in the data entry and report generation for housing
    units in the community. Topics to be covered include: rating the
    condition and estimated cost to repair of the interior, exterior,
    amenities, fire and health hazard items. Students will learn how to
    generate reports to identify housing units in need of minor or
    major repairs and those units that are potential fire and/or health
    hazard.</desc>
    </course>
    <course id="8">
    <name>Sage Accpac ERP 5.5 Refresher</name>
    <location>Moncton</location>
    <startdate>01 20 2009</startdate>
    <duration>4 days</duration>
    <price>$1695</price>
    <desc>No description available at this
    time.</desc>
    </course>
    <course id="9">
    <name>Sage Accpac ERP 5.5 General Ledger and Accounts
    Payable</name>
    <location>Winnipeg</location>
    <startdate>01 20 2009</startdate>
    <duration>4 days</duration>
    <price>$1695</price>
    <desc>No description available at this
    time.</desc>
    </course>
    </courses>
    Abenaki Course
    Schedule

    The reason its not working its because its "crashing" at the
    sort function in IE, I have no clue why.
    To be more specific,, this part of the SpryData.js
    if (this.unfilteredData)
    this.unfilteredData.sort(sortfunc);
    if (this.filterFunc)
    this.filter(this.filterFunc, true);
    else
    /*this->*/ this.data.sort(sortfunc);
    Maby try to delete the setColumnType for your startdate, to
    see if that helps. Because your startdate is not a "valid" date
    string. (i think)

  • Spry tooltip works in IE but not Firefox

    Hi,
    I don't understand or  can't figure out what I have done wrong. I have created a tooltip for  the last product  (4 inch diameter Vortex Water Revitalizer  in  copper (special order)) on the page: http://www.alivewater.net/order.htm
    It  works in IE but not Firefox... I can't figure out why... can you help  me and see what I have done wrong?
    Eternally grateful,
    Starry

    I think I fixed the problem.. maybe you had looked at it after it was fixed. I do appreciate your help though!

  • My facetime and imessage are not working! They were literally were working one minute and not the next!  I have reset (NOT RESTORED) my ipod, however these 2 apple apps are not working now, anyone have any idea why???

    My ipod touch seems to have a few issues, however my pre-installed and updated imessage and facetime were literally working last night, and after a breif break to charge battery (the back of the ipod was SUPER HOT) wasn't able to do facetime or imessage, and am STILL NOT today, what gives?? Any suggestions and advice?.

    Found the answer, at least for now!  Thanks to roryjt, and having to search through tons of post on imessage and facetime issues!  Changed the DNS on my ipod for my wireless network to 8.8.8.8   Not sure if it will work outside of my wireless network, but since its an ipod, not an iphone, I usually only use it in my place/on my network.  Below is a link to the thread by roryjt.
    https://discussions.apple.com/message/16674964#16674964

Maybe you are looking for

  • Auto-scoll (middle mouse button) gone/not working in Firefox 20/Windows 7 64-bit?

    duplicate of [/questions/956896] I recently upgraded both my work PC and my home PC to Firefox 20.0.1. My work PC (Win XP 32-bit) works fine, but my home PC (Win 7 64-bit) no longer allows me to auto-scroll when I click the middle mouse button (it do

  • How to know which hard drive contains the OS in Hp Pavilion dv7-4069wm? Upgrading.

    I'm thinking about upgrading one of my hard drives (320GB ea) in my HP Pavilion dv7-4069wm laptop for more storage.  I would like to keep the drive that contains the OS to avoid the hassle of making a copy, but I'm not sure which one that is. I haven

  • How to avoid Standard text

    Hi All, I want to getrid of the Description for one of the column, i am trying to unselect the checkbox Standard Text even it is default taking the standard text. In my report i want t display blank(with out description) under thatb we will get to se

  • T code for Total incoming payment

    Dear friends I want to know the the Tcodes / menupath for the following reports. 1. The total incoming payment received from a particular e PAYER/Customer. 2. The total outstanding payment of a particular payer/ customer.( goods have been despatched

  • SharerPoint V3.0, Project Management Template - Dashboard View

    In the Overall Project Status, the last category to the right is the "Overdue Tasks" icon. How does sharepoint determine if a Task is Overdue for this specific Icon.  Here is what is happenning to me: Current Date = 11/5/2008 Any Task with an End Dat