Spry and prototype in jetspeed

Hi!
I have the same problem as some others with spry and
prototype. I want to use spry in a portlet in liferay. Liferay use
prototype.js. I have tried to put the spry before and after the
prototype and I have tried it with prototype.js versions 1.4
1.5_rc1 and 1.5. The spry version I use is 1.4.
If have both at one page I get always:
Spry.Data.updateRegion(toJSONString) caught an exception:
TypeError: Spry.Data.regionsArray[regionName].updateContent is not
a function
If you have fixed this in your current version of spry - when
will this be available?
Thank you! marc.

Hi again!
If prototype.js is in the page the sorting does not work. So
again my question.. is there a newer version of spry, which works
with prototype.js and this jason.js?
Its critical for us, that spry works with the liferay portal!
best regards, marc.

Similar Messages

  • Problem Spry with prototype

    Hi,
    In the same site I use SpryData and prototype. Now I get this
    Error:
    Spry.Data.updateRegion(extend) caught an exception: [object
    Error]
    Can somebody help me, what I have to do?
    Best greetings from Switzerland
    Christian

    Hi Christian,
    Can we see your page?
    Do you have prototype or sprydata.js list first? Try having
    sprydata.js first if you don't already.
    Also, which version of prototype? We will be testing with the
    new prototype 1.5.
    Thanks,
    Don

  • Flash not rendering correctly in IE using Spry and SWFObject.

    Hi,
    Tools that I'm using (Flash, Spry and SWFObject)
    I just finished converting portions of the image gallery to a
    video gallery using FLV Files.
    It works great in FireFox and Opera, I guess all mozilla
    based browsers.
    Now my problem is that I pass the Path variable to Flash for
    it to load the FLV file using SWFObject.
    Code:
    <div spry:detailregion="dsVideos"
    class="AccordionPanelContent">
    <div id="flashcontent"> You need to upgrade your Flash
    Player. </div>
    <script type="text/javascript">
    // <![CDATA[
    var so = new SWFObject("VideoPlayer.swf", "videoplayer",
    "427", "288", "8", "#161616");
    so.addVariable("video", "{@path}");
    so.write("flashcontent");
    // ]]>
    </script>
    </div>
    The FLV files won't load at all in IE meaning the variable is
    not going thru when Flash is rendered for a second time.
    So I added another variable just to see Flash reaction once
    the page loaded for the first time.
    Code:
    so.addVariable("Variable1", "I Love This Bug!");
    I added Variable1 to the Flash Movie as a textbox and It
    loads in a split second for the first render but when Spry loads it
    datasets and renders the region where Flash resides the variable
    doesnt go thru and Flash gets a undefined variable.
    When Spry renders that region the video variable is not going
    thru and no video is shown. :(
    Any suggestion?

    Don -
    Have you had any success here? I've been trying to get any
    kind of Flash
    to load properly in IE in a spry:region (or :detailregion),
    and have
    failed entirely.
    I added spry:state="ready" to the div with the Flash movie,
    but no fix.
    I've tested with both IE 6 and IE 7 beta, and with FP 8 and
    FP 9.
    I have a few test pages (everything works great in FireFox):
    - www.imagicdigital.com/portfolios/video_state7.html
    (uses SWFObject to write the movie, with spry info as
    FlashVars)
    IE: Flash movie is hidden. No FlashVars are passed.
    - www.imagicdigital.com/portfolios/video_state7_noso.html
    (same page as above, but with the standard Object/Embed tags,
    no SWFObject)
    IE: Flash movie is hidden. No FlashVars are passed.
    - www.imagicdigital.com/portfolios/video_state7a_noso.html
    (same page as above but with hardcoded FlashVars)
    IE: Flash movie is hidden. No FlashVars are passed.
    - www.imagicdigital.com/portfolios/video_state7b_noso.html
    (a Flash movie with no FlashVars at all)
    IE: Flash movie is hidden.
    - www.imagicdigital.com/portfolios/video_state7c_noso.html
    (same as 7a but with spry:region removed from the flash div)
    IE: Works perfectly. Flash movie shows up, FlashVars are
    passed.
    I noticed a few things:
    - In IE, the spry:debug generated markup shows FlashVars="",
    empty.
    - I don't see an innerHTML fix call for the FlashVideo div,
    even if I
    make it into a spry:region instead of detailregion. Can this
    help omehow?
    - In IE 7, if I right-click where my flash movie is supposed
    to show up,
    it does become visible (with no FlashVars). However, IE often
    crashes
    after that, either right away or on window close. The error
    shown in
    the alert is "Out of Memory at Line 56". This is both with
    and without
    passing FlashVars.
    NOTE: This error was just recently discussed on the SWFObject
    mailing
    list. Geoff Stearns found a sort of bug in FP 9 that was also
    causing
    this same error when 2 Flash movies were embedded with
    SWFObject and
    each making different ExternalInterface calls. He fixed it by
    removing
    the function written by Flash when it loads called
    "__flash_unloadHandler()". Link to the relevant discussion
    thread:
    http://lists.deconcept.com/htdig.cgi/swfobject-deconcept.com/2006-July/000795.html
    It would be great (crucial, I think) to get Spry to work with
    SWFs. Any
    ideas or progress? Thanks in advance.

  • Spry and Iframe event handlers

    Hi,
    I am trying to implement an ajax simulated file upload using
    spry and iframes. With Spry's power to attach event handlers and
    $$() notation for accessiblities is there a way that you can detect
    when an iframe is loaded using any of spry's utilities.?

    there is nothing other than the basic delay in web overlay.
    I suppose the only thing to do would be to create the whole article as HTML, but I'm sure that would be over the top, it would put me off!
    Alistair

  • Spry and Lightbox II

    I just finished a photo Gallery using Spry and Lightbox, any
    feedback would be greatly appreciated.
    http://www.daishocreative.com/ourWork/index.html
    Thank you and happy Holidays

    This is what you get with script disabled:
    http://www.projectseven.com/cs4public/spgalusable.gif
    You also need a loading image to indicate something is
    happening when you
    click a thumbnail and your VCR controls are not apparent
    enough.
    Al Sparber - PVII
    http://www.projectseven.com
    The Finest Dreamweaver Menus | Galleries | Widgets
    http://www.projectseven.com/go/pop
    The Ultimate DW Menu System
    "extrem94" <[email protected]> wrote in
    message
    news:gjavpb$7uf$[email protected]..
    >I just finished a photo Gallery using Spry and Lightbox,
    any feedback would
    >be greatly appreciated.
    >
    http://www.daishocreative.com/ourWork/index.html
    >
    > Thank you and happy Holidays

  • Spry and Dereamweaver 8

    Can I use Spry 1.6 with Dreamweaver 8? If so, how do I do
    it?

    I believe you can, but DW8 won't doesn't display any Spry
    menu bars for dropping in Spry widgets into your code
    automatically. You have to hand code everything. I would recommend
    downloading the latest version of Spry and working through the
    samples. As long as you are including the javascript and css files
    in the head of your html it should work.
    Simon

  • Spry and Search Engines

    I like the framework and the ease of use. Does anyone know to
    what
    degree the search engines will evaluate the spry tags, if at
    all? My
    guess is that a hybrid will be needed as discussed at the
    bottom of this
    page:
    http://labs.adobe.com/technologies/spry/articles/data_set_overview/,
    and
    here:
    http://domscripting.com/blog/display/41.
    Any other ideas? All of my customers are extremely
    search-engine sensitive.
    Rod

    Hey Rod,
    As far as I know, search engines read source code. In that
    regard, Spry Data in general will fail since, the content is not
    kept in the source code.
    Check out the data set overview about the spry:content
    attribute. That is used so that pages are more accessible and it
    helps search engine stuff as well.
    It allows you to have static content on the page, but
    spry:content will replace that content on the screen with its data.
    So this allows for content for search engines to read, plus
    the dynamic aspect of spry data.
    But in general, Spry and Ajax, doesn't yet play well with
    these other technologies.
    Hope this helps.
    Donald Booth
    Adobe Spry Team

  • Spry and Sitemaps?

    Hi, I used an external company to generate my XML Sitemap. It did not pick up the URL for the pages containing the data tables used in my Spry Regions. On the company's Forum they blame the use of Spry/Java. To be a little clearer. I have a table with data in sportsdata.html Sports.html use the data in sportsdata.html to generate the dataset for the Spry Regions. In the sitemap.xml the sportsdata.html page is not listed. I am concerned since most of the data needed for keyword (SEO) is with-in the data page. Do Spry and SEO really get along? Thanks for your help.

    Thanks Arnout. I did mean Javascript. If I move the tabel to the sports.html then the table will be visable? The reason I have it set up this way is there is a ton of information in the table, but, by using Spry regions on a seperate page it makes it all available in very little space. Would this work? I put a hidden link to the sportsdata.html on sports.html. I would then think it would get picked up by the spiders. Is it possible to then redirect anyone trying to go to sportdata.html to sports.html? Sorry for the ignorance.

  • Spry and FileMaker

    I'm using Spry in CS3 along with FileMaker as the databse where I want to store data that is built in a Spry framework.  Does anyone know if it is possible to stuff data into FileMaker from Spry?  And if so, how ??
    dm225

    Yes Spry and FileMaker Play very well together, both of my websites are driven by FileMaker 10 and Adobe Spry.
    There is a complete FileMaker API for PHP.  You do need to have the FileMaker files hosted by FileMaker Server.
    Get the file from my 2008 Presentation on FileMaker and Adobe Spry off my site http://apphiasolutions.com/downloads.php
    It contains a complete sample cms solution with the powerpoint.
    If you need more info contact me directly.
    Joe
    Apphia Solutions, LLC
    [email protected]
    http://apphiasolutions.com

  • Spry and Google  Open Social

    ciao all ,
    I'm too curiuos to start a new project using spry and the
    Google " toy" OPENSOCIAL , just to know before starting , do the
    Spry team knows if there's any incompatibility between your great
    ajax framework and their APIS
    for example :
    http://code.google.com/apis/opensocial/articles/readwrite.html
    excuse me if this post is out of topic
    thanks in advance
    Paolo

    5h4k42u1u wrote:
    > if i'd use the spry tables with an RSS feed, it'll work
    with IE but not with
    > FF, but then when i try it with a local XML file, it'll
    work with FF but not
    > IE? In fact, why does it have trouble at all with the
    local file, there should
    > be no cross domains to worry about, right?
    You're right that there should be no problem with a local
    file, but
    without seeing the XML file and your code, it's impossible to
    say what's
    causing the problem. I think your best bet is to post a more
    detailed
    question in the Spry forum.
    http://www.adobe.com/go/labs_spry_pr1_forum
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Spry and JSON

    pleases Help!
    I am trying to get a basic example working using spry and
    JSON and i keep getting the following errors:
    Spry.Data.HTTPSourceDataSet has no properties
    Spry.Data.HTTPSourceDataSet has no properties
    I am trying to get my json data from a cfc like this
    var dsEmployees = new
    Spry.Data.JSONDataSet("./model/CS3/Employee.cfc?method=getAllEmployees",{path:"employeeLi st"});
    What am i doing wrong?
    Thank you

    Actually it is the first java file include...
    Below is my code
    dsp_MasterDetail.cfm
    <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 language="JavaScript"
    src="./SpryAssets/SpryData.js"
    type="text/javascript"></script>
    <script language="JavaScript"
    src="./SpryAssets/SpryEffects.js"
    type="text/javascript"></script>
    <script language="JavaScript"
    src="./SpryAssets/SpryJSONDataSet.js"
    type="text/javascript"></script>
    <script language="JavaScript" type="text/javascript">
    <!--
    var dsEmployees = new
    Spry.Data.JSONDataSet("./model/CS3/Employee.cfc?method=getAllEmployees",{path:"employeeLi st"});
    //-->
    </script>
    <style type="text/css">
    <!--
    .selected {
    background-color: #0099FF;
    .hover {
    background-color: #FFFFCC;
    .even {
    background-color: #CCCCCC;
    .style1 {
    font-size: large;
    font-weight: bold;
    -->
    </style>
    </head>
    <body>
    <table border="1">
    <tr>
    <td>
    <div spry:region="dsEmployees">
    <div spry:state="loading">Loading employee data <br
    /><img src="ajax-loader.gif" /></div>
    <div spry:state="error">An error occured loading your
    dataset.</div>
    <div spry:state="ready" style="height:200px;
    width:200px;overflow:auto;">
    <table border="1" >
    <tr>
    <th spry:sort="FullName">Employee</th>
    </tr>
    <tr spry:repeat="dsEmployees" spry:setrow="dsEmployees"
    spry:hover="hover" spry:select="selected"
    onClick="MM_effectAppearFade('Detail_DIV', 1000, 0, 100,
    false)">
    <td>{FULLNAME}</td>
    </tr>
    </table>
    </div>
    </div>
    </td>
    <td valign="top">
    <div align="left" spry:region="dsEmployees"
    spry:state="ready"
    id="details"><strong>Details</strong><br
    /><hr align="left" width="75"/></div>
    <div id="Detail_DIV" spry:detailregion="dsEmployees">
    <table id="Detail_Table" border="0" width="50%">
    <tr>
    <th>NT_ID</th><td>{NT_ID}</td>
    </tr>
    <tr>
    <th>EMPLID</th><td>{EMPLID}</td>
    </tr>
    <tr>
    <th>EMAIL</th><td>{EMAIL}</td>
    </tr>
    <tr>
    <th>PHONE</th><td>{PHONE}</td>
    </tr>
    <tr>
    <th>DEPTID</th><td>{DEPTID}</td>
    </tr>
    </table>
    </div>
    </td>
    </tr>
    </table>
    </body>
    </html>
    Employee.cfc
    <cfcomponent displayName="employees" output="yes">
    <cffunction name="getAllEmployees" access="remote"
    output="yes">
    <cfset var allPersons = queryNew("FullName, NT_ID,
    EMPLID,EMAIL,PHONE,DEPTID") />
    <cfset var toXML = "" />
    <cfset var toJSON = "" />
    <cfset var xmlQuery = "" />
    <cfset var JSONQuery = "" />
    <cfquery name="allPersons" datasource="cams_dev"
    blockfactor="100">
    SET CONCAT_NULL_YIELDS_NULL Off;
    SELECT TOP 25 LAST_NAME + ', ' + FIRST_NAME AS FullName,
    NT_ID, EMPLID, EMAIL, PHONE, DEPTID
    FROM dbo.vwKscUsaPerson
    ORDER BY LAST_NAME, FIRST_NAME
    SET CONCAT_NULL_YIELDS_NULL On;
    </cfquery>
    <cfset JSONQuery =
    application.toJSON.queryToJSON(allPersons, "employees")>
    <cfsetting showdebugoutput="no">
    <cfoutput><cfcontent type="text/html"
    reset="true">#htmlcodeformat(JSONquery)#</cfoutput>
    </cffunction>
    </cfcomponent>
    this cfc returns this json code
    {"employees":[{"DEPTID":"014A420","EMAIL":"[email protected]","EMPLID":"025044","FULLNAME":"Aa dsen,
    Ronald","NT_ID":"USATX\AadsenRP","PHONE":"123
    456-7891"},{"DEPTID":"IDI-8011","EMAIL":"[email protected]","EMPLID":"KS997E7R","FULLNAME":"A aron,
    Earnestine","NT_ID":"KSCBOC\AARONED","PHONE":"123
    456-7891"},{"DEPTID":"IDI-KICS","EMAIL":"[email protected]","EMPLID":"KSANC4CD","FULLNAME":"A arts,
    Bryan","NT_ID":"ICDNET\AartsBR","PHONE":"123
    456-7891"},{"DEPTID":"0162230","EMAIL":"[email protected]","EMPLID":"011000","FULLNAME":"Abad ejos,
    Ernesto","NT_ID":"USATX\abadejea","PHONE":"123
    456-7891"},{"DEPTID":"0351480","EMAIL":"[email protected]","EMPLID":"004479","FULLNAME":"Abbe y,
    David","NT_ID":"USAFL\ABBEYDA","PHONE":"123 456-7891"}]}

  • Spry and ColdFusion :: Improve Performance By Cutting Out ColdFusion

    Another in my series of Spry and ColdFusion Articles:
    http://www.infoaccelerator.net/client/index.cfm/2006/10/17/Spry-and-ColdFusion--Improve-Pe rformance-By-Cutting-Out-ColdFusion

    Andy,
    Good subject.... I don't use CF, but I understand your
    motivation to write the article - which to me underlines the sub
    structure issues involved with using a front end xml technology
    such as spry. I personally don't have much to say about spry
    because I think the core of it works brilliantly, any improvements
    are a bonus to me - don't flame me for this but I am not interested
    in widgets and effects - the core data manipulation is what floats
    my boat.
    It would be even more brilliant if adobe could contribute to
    the ‘spry package’ useful information about managing
    XML data on the backend – I realise this would be broad - I
    don’t really know how it would be approached. This would give
    us 'designers' some confidence in building the applications we
    choose - don't ask me specifically what that entails (if I knew I
    would do it myself) – to my mind there is a lot more to the
    power to spry than front end effects to display data if coupled up
    with good backend coordination – although the effects
    solutions are good - I am not knocking the effects etc… I am
    simply supporting the above fore-mentioned article as a cause for
    interest when developing with spry.
    Andy

  • Spry and Flash

    Still working on a website using Spry and Flash. I have this
    page (select portfolio) that works in Safari, FF on the Mac and FF
    on the PC but not IE7. It was coded using swfobject to load the
    Flash.
    http://208.106.214.149/eryxtest/index.html
    I changed the code to Dreamweaver's Flash loading script. I
    now have two problem. One, how to pass a parameter that is being
    set - xmlDataPath1 = '{@name}'; to the script. I have this
    hardcoded at the moment. Second, for some reason the script now
    runs when the page loads and not when selected from the menu like
    the the above link.
    http://208.106.214.149/eryxtest/indexIESolution2.html
    Please, any help would be appreciated. My original goal was
    to replace a totally Flash based site with Spry + Flash, eventually
    replacing the Flash gallery with a javascript gallery.

    Charlie,
    Did you figure this out? I've got a similar thing, where I'm
    calling a simple flash URL, using Spry and an XML file, but it
    won't work in IE7.
    My document is at:
    Golf Gallery
    Karey Nickel

  • Learning spry and what it can do

    good evening,
    wanting to learn everything i can about spry, and see exactly what spry  can do,  but I guess I need to know javascript first, am I correct in this, Thx

    Demos:
    labs.adobe.com/technologies/spry/demos/
    Showcase:
    labs.adobe.com/showcase/spry/
    Documentation:
    http://forums.adobe.com/community/labs/spry , see sidebar "Documentation"  I listed there the most useful resources.
    Thinks to consider,
    Joining the Spry Usergroup: groups.adobe.com/groups/f1621de53b
    Lynda.com video training: lynda.com/home/DisplayCourseN.aspx?lpk2=706

  • Spry and onTabMouseOver / onTabMouseOut functions

    I added to my page a Collapsible Spry Panel and i was looking for a solution to fix the javascript code using the commands onTabMouseOver and onTabMouseOut instead of onTabClick
    Just to explain better, i want to add an automatic opening when you put the mouse over the CollapsiblePanelTab ; then an automatic closing when you put the mouse out from the CollapsiblePanelContent
    The problem i found is that i was able to add a rule for the automatic opening, but there are some problems in the auto-closing.
    The original code is this (line 148):
    Spry.Widget.CollapsiblePanel.prototype.onTabClick = function(e)
    if (this.isOpen())
    this.close();
    else
    this.open();
    this.focus();
    return this.stopPropagation(e);
    and i susbstituted it with this code:
    Spry.Widget.CollapsiblePanel.prototype.onTabMouseOver = function(e)
    if (this.isOpen())
    this.close();
    else
    this.open();
    this.focus();
    return this.stopPropagation(e);
    Now the CollapsiblePanelContent can be opened when i put the mouse over the CollapsiblePanelTab.
    So i tried to add this code also:
    Spry.Widget.CollapsiblePanel.prototype.onTabMouseOut = function(e)
    if (this.isOpen())
    this.close();
    else
    this.open();
    this.focus();
    return this.stopPropagation(e);
    With this when i move the mouse outside the CollapsiblePanelTab, i can auto-close the CollapsiblePanelContent .. but it's not really what i was looking for; infact i need to put a Menù in the CollapsiblePanelContent and with that rule if i move the mouse on the CollapsiblePanelContent, the script consider the CollapsiblePanelContent oustside the CollapsiblePanelTab so the CollapsiblePanelContent disappears when i try to move the mouse on it.
    Is there a solution to apply the auto-closing function to the CollapsiblePanelContent and not to the CollapsiblePanelTab using onTabMouseOut?
    Sorry, completely a newbie with the javascript.. thanks in advance

    thanks Ben, i did it!
    this is the correct code (leaving the original SpryCollapsiblePanel.js unmodified)
    <!DOCTYPE HTML>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Untitled Document</title>
    <script src="SpryAssets/SpryCollapsiblePanel.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryCollapsiblePanel.css" rel="stylesheet" type="text/css">
    </head>
    <body>
    <div id="CollapsiblePanel1" class="CollapsiblePanel">
    <div class="CollapsiblePanelTab" tabindex="0" onMouseOver="CollapsiblePanel1.open();" >Tab</div>
    <div class="CollapsiblePanelContent" onMouseOut="CollapsiblePanel1.close();">Content</div>
    </div>
    <script type="text/javascript">
    var CollapsiblePanel1 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel1", { contentIsOpen: false });
    </script>
    </body>
    </html>
    Now putting the mouse on the PanelTab, the PanelContent opens by itself ;
    and moving the mouse outside the PanelContent, the PanelContent closes by itself !
    Exactly what i was looking for
    Thanks Again

Maybe you are looking for

  • Error - Excise modvat accounts not defined for DLFC transaction and 01 exci

    Dear All, Getting below error while  doing J1IIN - Posting Excise invoice for Sale. "Excise modvat accounts not defined for DLFC transaction and 01 excise group" I checked with the settings GL are assigned to for DLFC and 01 excise group. Is anywhere

  • Single step workflow with multiple approvers (without using a group)

    Hi, is it possible to have a single step workflow with multiple approvers without using a group? This is for a contract document. i want to add a number of users based on particular logic. The approvers are random and do not belong to any particular

  • Calendar does not sync with iCloud

    I have an iPhone 4S with the latest iOS. A month ago I started a brand new iCloud calendar (every other were deleted). It was working fine, when I launched the app, it synced in 2-3 seconds. But a few days ago it does not sync with iCloud, there is t

  • Can I upgrade from MAC OS 10.4.11 to 10.5?

    I just bought a new printer that only has drivers for MAC OS 10.5 and above.  My MacBook Pro is currently using MAC OS X 10.4.11.  Can I upgrade to 10.5 or 10.6 from 10.4.11 and if so, how?

  • Software Issues

    Hello there, I am not sure what is the contact email address for apple tv support!! I have an issue with mu itv ON UPDATING MY ITV GETS STUCK, BLACK SCREEN WITH APPLE LOGO AND MY ITUNES IS NOT RECOGNIZING THE DEVICE!! My itv is still under warrant bu