Spry Framework Ajax IE7 Bug

Hi,
I used Dreamweaver CS3 to load the photo/albums node of an
XML file called photolist.xml - the end result after creating Spry
Master and Detail areas is a page which lets you click on the text
to change the image. Trouble is it works in all browsers except
IE7. I get a massive red error message saying "Exception caught
while loading photolist.xml: [object Error]." Help! How do I get
working in IE7 too?
Script below - Widget
<html xmlns:spry="
http://ns.adobe.com/spry">
<title>My Spry Widgets Tutorial</title>
<!-- -->
<script src="SpryAssets/xpath.js"
type="text/javascript"></script>
<script src="SpryAssets/SpryData.js"
type="text/javascript"></script>
<script src="SpryAssets/SpryMenuBar.js"
type="text/javascript"></script>
<script type="text/javascript">
<!--
var photoalbum = new Spry.Data.XMLDataSet("photolist.xml",
"album/photo");
//-->
</script>
<link href="SpryAssets/SpryMenuBarHorizontal.css"
rel="stylesheet" type="text/css">
<head>
<meta name="Description" content="">
<meta name="keywords" content="">
<meta name="DC.Creator" content="Petra Jones">
<link rel="stylesheet" href="style.css"
type="text/css">
</head>
<body>
<div id="container">
<div id="banner">
Doctor Spry's
</div>
<div id="subhead">
Nature Photography
</div>
<div id="subspacer">
<ul id="MenuBar1" class="MenuBarHorizontal">
<li><a class="MenuBarItemSubmenu"
href="#">Wildlife</a>
<ul>
<li><a href="#">Forest
Animals</a></li>
<li><a href="#">Domestic
Pets</a></li>
<li><a href="#">Item 1.3</a></li>
</ul>
</li>
<li><a href="#">Landscape</a></li>
<li><a class="MenuBarItemSubmenu"
href="#">Pets</a>
<ul>
<li><a class="MenuBarItemSubmenu" href="#">Item
3.1</a>
<ul>
<li><a href="#">Item 3.1.1</a></li>
<li><a href="#">Item 3.1.2</a></li>
</ul>
</li>
<li><a href="#">Item 3.2</a></li>
<li><a href="#">Item 3.3</a></li>
</ul>
</li>
<li><a href="#">Portraits</a></li>
<li><a href="#">Action</a></li>
</ul>
</div>
<!-- Left Column Borders -->
<div id="leftborder1"></div>
<div id="leftborder2"></div>
<div id="leftborder3"></div>
<div id="leftborder4"></div>
<div id="leftborder5"></div>
<!-- Left Column Borders End -->
<!-- Left Panels start -->
<div id="left">
</div>
<div id="nav">
<a href="gallery.html" class="nav">Gallery
Shop</a><p/>
<a href="comm.html"
class="nav">Commissions</a><p/>
<a href="buying.html" class="nav">Buying
Art</a><p/>
<a href="contct.html" class="nav">Contact
Me</a><p/>
<a href="about.html" class="nav">About
Me</a><p/>
<a href="index.html" class="nav"
target="_top">Home</a><p/>
</div>
<!-- Left Panels end -->
<!-- Center Panels start -->
<div id="centre">
</div>
<div id="centrehead">
</div>
<div spry:region="photoalbum">
<div id="centrecontent">
<table>
<tr>
<th>Subject</th>
<th>Album</th>
<th>Date</th>
<th>Type</th>
</tr>
<tr spry:repeat="photoalbum" spry:setrow="photoalbum">
<td>{subject}</td>
<td>{album}</td>
<td>{date}</td>
<td>{type}</td>
</tr>
</table>
</div>
</div>
<div id="centremiddle">
</div>
<div id="centrelower">
<div spry:detailregion="photoalbum">
<div id="lowertext">
<p><img src="{imageurl}" border="0" alt="image
placeholder"> </p>
<p> </p>
</div>
</div>
</div>
<div id="centrefoot">
</div>
<!-- Centre Panels end -->
<div id="right">
<div id="righttext">
</div>
</div>
<!-- Right Column Borders -->
<div id="rightborder1"></div>
<div id="rightborder2"></div>
<div id="rightborder3"></div>
<div id="rightborder4"></div>
<div id="rightborder5"></div>
<!-- Right Column Borders End -->
<!-- Footers start -->
<div id="footspace">
</div>
<div id="footer">
(c) Petra Jones (2007) Please note this is an entirely
fictional photography business.<br>
Any
resemblence between me and a real talented photographer is
very unlikely.
</div>
</div>
<script type="text/javascript">
<!--
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1",
{imgDown:"SpryAssets/SpryMenuBarDownHover.gif",
imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
//-->
</script>
</body>
</html>

Hi John,
That error is thrown in 2 specific cases:
1. A spry:region/spry:detailregion attribute has no data set
specified.
or
2. A spry:region/spry:detailregion attribute lists the name
of a data set, but that object does not exist.
Are you delaying the creation of your data sets until some
event has occured? It's hard to tell exactly what is going on
without seeing the context.
--== Kin ==--

Similar Messages

  • Trying to learn Spry Framework Ajax

    So I am trying to learn how to use Spry Framwork for Ajax;
    which I downloaded from
    http://labs.adobe.com/technologies/spry/
    Does anyone know if this some how plugs into Dreamweaver 8 or
    if I wish to use it, "the Photo Gallery to be specific", that I
    have to manually manipulate the code to use my photos and then
    implement their html into my template?

    With DW8, you will have to use the Spry Framework manually.
    It's built into
    the new Dreamweaver CS3.
    Nancy Gill
    Adobe Community Expert
    Author: Dreamweaver 8 e-book for the DMX Zone
    Co-Author: Dreamweaver MX: Instant Troubleshooter (August,
    2003)
    Technical Editor: DMX 2004: The Complete Reference, DMX 2004:
    A Beginner''s
    Guide, Mastering Macromedia Contribute
    Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP
    Web Development

  • Introduction to the Spry framework for Ajax

    Hi All
    I attended the breeze eSeminar:
    Introduction to the Spry framework for Ajax
    07/27/2006
    3:00 PM US/Eastern
    Anyone know the location for the recorded version?

    Well, that wasn't easy to find....
    http://www.adobe.com/cfusion/event/index.cfm?event=list&type=ondemand_seminar&loc=en_us
    Search for "spry". Lots of good stuff on this page.
    Thanks,
    Don

  • Welcome to the Spry framework for Ajax Forum

    Welcome to the Spry framework for Ajax forum! Please use this
    forum to discuss the Spry framework for Ajax and supporting content
    on Adobe Labs.

    Hi,
    Techy_one: the download page should be working:
    http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_spry
    anuj: SpryEffects is in 'demo/includes'. We will be including
    effects in our next Spry drop.
    Severe: We are working on more widgets. They will be released
    over time as we finish them. We are still looking into how we can
    make Spry support for DW available.
    Thanks,
    Don

  • Spry framework interoperability with ATLAS

    Hi.
    I’m trying to use the spry framework with MS ASP.NET
    and the ATLAST AJAX framework. I’m trying to port the photo
    album demo pages. However when ever I add
    <atlas:ScriptManager ID="ScriptManager1" runat="server"
    /> tag into the code all the spry:region / spry:repeat tags
    doesn’t seem to work. Has anyone observed this behavior
    before. Any suggestions are much appreciated. Code sample is shown
    below
    Thanks
    Bhathiya
    <!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">
    <head runat="server">
    <title>Untitled Page</title>
    <script type="text/javascript"
    src="js/xpath.js"></script>
    <script type="text/javascript"
    src="js/SpryData.js"></script>
    <script type="text/javascript">
    var dsPhotos = new Spry.Data.XMLDataSet("….",
    </script>
    </head>
    <body>
    <form id="form1" runat="server">
    <atlas:ScriptManager ID="ScriptManager1" runat="server"
    />
    <asp:Panel ID="Panel4" runat="server">
    <div spry:region="dsPhotos">
    <table>
    <tr spry:repeat="dsPhotos">
    <td>{sitename}</td>
    </tr>
    </table>
    </div>
    </asp:Panel>
    </form>
    </body>
    </html>

    Hi Bhathiya,
    We haven't yet done the slightest testing with Spry and
    Atlas together.
    Seeing runat="server" on a client side library makes me
    wonder what the final output of the page is.
    I will log a bug on this and we can check it out.
    Thanks for the info.
    Donald Booth
    Adobe Spry Team

  • Spry Horizontal Menu IE7 Problems

    Hey, I'm have a lot of trouble with IE7 and my drop down
    menu. When I mouse over the menu and the submenu appear way above
    the nav bar, I want it to be just below the nav bar. Things are all
    good in Firefox. I have tried changing everything in the css file
    but nothing works. I have also tried upgrading the css 1.61.
    Please Help
    Thanks
    Scott

    I am not the world's best coder and I have spent forever
    trying to
    learn and figure out some problems on a menu bar i have
    created using
    the base dreamweaver spry framework. It looks exactly like
    what i want
    it to look like on Firefox, Safari, and Google Chrome,
    but--of
    course--- Internet Explorer is creating massive dificiulties.
    Namely,
    the drop down menu is completely non-existent. I tried
    changing the IE
    hack to float right, rather than float left and then the menu
    appeared
    but with all the subsequent boxes lined up in a row. Here are
    my
    links, can anyone help me?
    http://www.agellsworth.org/index2.html
    http://www.agellsworth.org/SpryAssets/SpryMenuBarHorizontal.css
    Thanks alot,
    bob

  • Spry Tabbed Panels IE7 on load problem

    Im having a problem with my new site. I used the spry
    framework tabbed panels to make interactive navigation that loads
    all my sites content in the panel similar to how old iframes used
    to work. obviously the plus to this is i get to keep all my content
    searchable on one page.
    the problem im having is on my version of IE7 the very first
    time i go the the site it loads every div section at once. so you
    have every image and all the text in one window. then i get the
    allow blocked content notice up at the top. after about 2 clicks it
    goes back to normal and never appears again until i restart.
    i checked on my partners comp and it didnt do this. im pretty
    sure its an issue with my specific computer but i was hoping
    somebody else knew what was going on so i can be sure its not a
    problem with my code. i wouldnt be very pleased if half my audience
    was having to click these options to fix the problem. let me know.
    thank you!
    EDIT: Nov 2 2007
    i have decided to go with a new look for this site so i have
    removed the url bc google indexed it and the offical product will
    launch soon.
    thanks for reading.
    www.xancap.com

    Hi Ben,
    Ah, now that has helped, its a little bit better, but the performance in IE8 is very poor. Its not worth having the fade in IE8, its way too slow and jerky. I am tempted to go back to the old tabbed panels, see if its any better.
    Thanks for your help, you seem to be the new resident expert!
    Steve

  • Discontinue the Spry Framework

    In response to http://blogs.adobe.com/dreamweaver/2012/08/update-on-adobe-spry-framework-availability.htm l#comment-1826
    I must express my DEEPEST DISAPPOINTMENT with Adobe for such a dis heartening move to discontiue this framework.
    I have been using Adobe Spry Framework from inception and found the capabilities of at least the DataSet Object frameworks to be the most easiet, fast, effective implementation of frameworks when it comes to dealing with data/ external data display and manipulation EVER. It has been the goto framework for almost ALL of my data driven web applications and has proven to me to be BY FAR a superior advantage over using any MVC or another Ajax based framework that I have encountered.
    To learn of its discontinuation after years of hope and promise of futher development of the framework with such a huge potential is really heart wrenching. I do hope that someone else will take up the regins to which Adobe has so cowardly let go of and continue to progress this framework into a new aged design specimen that it should be.
    I personally though lacking in the extensive knowledge of the frameworks inner workings and expreience in javascript or framework development for that matter...will be one to TRY to develop it as much as I can. But will lend ANY SUPPORT that I can as limited only by my knowledge and experience to futher the success of this framework to any lengths to make it as great as it has always been and could be.
    Sincerest Ice.
    LONG LIVE SPRY FRAMEWORK

    Thank you, Ben. This was the information that I needed.
    Alas, I don't follow this forum specifically, although, I do lurk now and then to get answers to specific questions.
    Re the shake issue. Gosh, I guess I fixed it and never came back (my apologies) or the whole thing went a different direction. It's been so long.
    Thanks, again.
    J.

  • Is Spry Framework discontinued or not?

    Last Adobe's message is 30 April 2010, after… nothing to nothing
    I have understand ajax/html5 are enemies of the Flash technology but please send us a clear message… Spry is discontinued or not?

    Adobe always been a closed company when it comes to releases of products.
    The same practise is applied to the Adobe Spry Framework. They did release
    Spry 1.7 a while ago, but the developer adoption of this is rather slow. I have been
    using Spry 1.7 in production for a few months now. And created a few widgets for it
    . It works great, but Spry 1.6.1 is still the shipping version of Dreamweaver.
    The Spry team actually consists of Dreamweaver core developers, so there focus
    is not only Spry, but also Dreamweaver and the intergration of other libraries in to
    Dreamweaver.
    Idealy Spry should have been open sourced so developers can submit patches and
    speed up the development of framework. But because Spry is also a product of
    Dreamweaver this would mean that they are actually "selling" the code. I still have
    hopes of this happening in terms of CLA for contributors.
    Anyways, I doubt Spry is dead.. They are just having a radio silence

  • Integrating Spry Framework with SWFObject

    I'm trying to incorporate a SWFObject into my Spry
    Framework-HTML page. I want to update the
    flashvars when the user clicks on a given
    ds_RowNumber for the Product Catalog. However, I'm having
    trouble passing the
    flashvars:
    window.document.setVariable("flashVars","data/mp3/frw/2006/playlist.xml"
    so.write("flashcontent");
    Since this isn't having any effect on flashVars, I'm guessing
    I'm not implementing it correctly?
    Thanks,
    stephenwightman

    stephenwightman, are you testing this in IE? There is a
    bug/issue with Spry, FlashVars and IE, where FlashVars do not get
    passed when a SWF is inside a spry:region. This occurs whether
    using SWFObject or the default embeds for your SWF. I have not
    heard any thoughts from the Adobe Spry Team on how to get around
    this. See some of my previous posts on this:
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72&catid=602&threadid =1182433
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72&catid=602&threadid =1171740

  • Help with Spry Framework positioning not appearing correctly on pc's

    I just created a gallery using the spry framework and finally got it working for me on all the browsers I have on my Mac.  The problem is that on my clien'ts pc the gallery div tags end up moving up to the upper left corner and I'm not sure why.  They are ap div tags that are supposed to be contained in my main content div and I'm at a lost as to why this is happening. I'm not the best at working directly with code or understanding it fully, usually do most everything with dreamweaver.  I appreciate any help that you can give me and thanks for your time.
    the site page is here: http://www.montanacraneservice.com/ppcanopylift/ppcanopylift.htm

    Do you know what browsers are failing?
    Seems to work on FF, IE6 and 8...

  • Do I need to download the Spry Framework?

    I do have Dreamweaver CS4 and it includes the latest Spry ( Spry v1.6).  Do I need to download the Spry Framework?  Or is everything I need pre installed with DW CS4  ?  I watched a Lynda.com video where the instructor downloaded Spry.  Will the Spry functions work through DW even if I do not download the actual Spry Framework?  Or does the download just give me expanded features?
    Thanks Jim K

    pziecina wrote:
    Hi
    The spry framework is built into cs4, and you do not need to download it.
    PZ
    Some parts of Spry are build in to CS4. Not all functionality is included in DW. For example, the Spry Rating, autoSuggest, slidingpanels are not in DW and can only be found in the full Spry download.
    Also other data formats like JSON, nested JSON, nested XML, tsv and csv support is not build in. And last but not least there are allot of Spry utitlies not build in to Dreamweaver. Its save to say that 50% of Spry has been integrated in to DW. The rest of the more advanced functionality can only be found the complete download.
    Greets,
    Arnout, Adobe Spry Community Expert

  • Compress the Spry Framework

    Hallo,
    is that possible to compress the adobe spry framework.
    SpryData.js and xpath.js is very large.
    can i use a javascript compressor
    sample:
    http://javascriptcompressor.com/
    Thanks for help !

    Thank you, Ben. This was the information that I needed.
    Alas, I don't follow this forum specifically, although, I do lurk now and then to get answers to specific questions.
    Re the shake issue. Gosh, I guess I fixed it and never came back (my apologies) or the whole thing went a different direction. It's been so long.
    Thanks, again.
    J.

  • Spry Framework for Ajax does not work on google chrome

    I downloaded this beautiful gallery to use it on my site    http://adobe.github.com/Spry/demos/gallery/index.html
    Everything ok on InternetExplorer and Firefox but it does not work on Google Chrome.
    Can you help me to solve this problem? 

    sorry but this forum is for questions about JavaScript inside Acrobat and not general language frameworks. We don't have a discussion topic for Spry.

  • Spry framework for ajax  - video example Aquo

    I have a problem displaying the xml code which has H1, H2
    hard coded. How do i display this without the H1, H2.
    If i swap this code for
    <script src="../SpryAssets/SpryData.js"
    type="text/javascript"></script>
    for
    <script src="../js/SpryData.js"
    type="text/javascript"></script> it works but the repeat
    region then stops working???
    Any ideas

    Don know a LOT better than me... but I think that when you
    insert a spry table in a master region, it has a checkbox option
    that asks if you want it to update a detail region when clicked. If
    you check that, whatever data you put in that table will update the
    detail region using the same dataset.
    If you do that, you can probably look at the code for the
    data in the table and see what he is talking about. The spry table
    creates it automatically, but you can also hand code links that
    update data regions too, which is what he is saying.
    Did I get that right Don? ;)

Maybe you are looking for