Work around for spry:repeat="ds1 ds2" limitation

I need to have both data sets repeat when using a Spry repeating region:
<div id="apDiv4" spry:region="ds1 ds2">
    <table class="sprytable" border="1">
      <tr>
        <th spry:sort="Q#">Q#</th>
        <th spry:sort="Category">Category</th>
        <th spry:sort="Question">Question</th>
        <th spry:sort="You">You</th>
      </tr>
      <tr spry:repeat="ds1 ds2">
        <td>{ds1::Q#}</td>
        <td>{ds1::Category}</td>
        <td>{ds1::Question}</td>
        <td>{ds2::You}</td>
      </tr>
    </table>
</div>
If I use ds1 in the spry:repeat, ds1 data will repeat (but ds2 will use the first value); or if I specify ds2, ds1 will use the first value.
I need them both to repeat.
I have spent so much time in forums, etc. and can't seem to find a workaround.
My only work around is to combine ds1 and ds2 and reload them together from the server - yuk!
ds1 is fixed and large. ds2 is small and dynamic so reloading really sucks.
Following are the ds Vars - probably irrelevent:
var ds1 = new Spry.Data.HTMLDataSet(null, "rsfamily", {sortOnLoad: "Q#", sortOrderOnLoad: "ascending" }); ds1.setColumnType("Q#", "number"); var ds2 = new Spry.Data.HTMLDataSet("youranswersIRtab.php", "youranswerstab", {}); I will worship the person who gives me an idea.
Thanks

Thanks V1, timkho and coolsanwa for your thoughts.  Since you've been so patient (and understanding) let me briefly tell you what I'm trying to do.
I'm considered good at multi-dimensional databases and have recently fallen in love with DreamWeaver to build a pretty complex site so I don't have to be a real expert at PHP, Spry, Ajax, JavaScript, DOM, HTML, CSS etc (I suck, but most everything is working).
I wish I could point you to a site but I need to keep it secret for a bit - its strictly on my PC for now.
Let me explain the snippit, which I still don't have working .
ds1 has three columns and ds2 has one.
ds1          ds1               ds1                         ds2               ds3
Q#          Category         Question                 You               Compare1
1          Boats               How big?                    24               36
2          Boats               What color?               Blue               Red
3          House               Number rooms?          3                    6
4          House               Sq feet?                    1000               3000
5          House               Have garage?               No               Yes
etc to 200+
ds1 doesn't change and I don't want to reload it
ds2 are your saved answers (I will have a form to fill in and a Submit-  different subject)
ds3 is user selected comparisons, retrieved from a MD database (academic because ds2 has me stopped).
Category has table row classes (to whole row), which will drive Tabbed Panels.
ds1, ds2, ds3 data have the class assigned to each row (setRowSelector) classes for columns(setColumnSelector).
I want a Spry Table with its many neat features (eg. sorting) that combines the 3 ds's (lets worry about 2 for now).
Incredibly simple but I'm stuck.
Timko suggestion results in syntax error- removing single quotes.
Collsanwa suggestion creates new columns so repeat is done for each row after You column:
24,Blue,3,1000,No
24,Blue,3,1000,No
24,Blue,3,1000,No
24,Blue,3,1000,No
24,Blue,3,1000,No
24,Blue,3,1000,No
200+ times
(I'll repeat the snippit) . Could you point me to an explanation for the spry:if  id/mmid
Thanks so much.
<div id="apDiv4" spry:region="ds1 ds2">
    <table class="sprytable" border="1">
      <tr>
        <th spry:sort="Q#">Q#</th>
        <th spry:sort="Category">Category</th>
        <th spry:sort="Question">Question</th>
        <th spry:sort="You">You</th>
      </tr>
      <tr spry:repeat="ds1">
        <td>{ds1::Q#}</td>
        <td>{ds1::Category}</td>
        <td>{ds1::Question}</td>
        <td spry:repeat="ds2" spry:if="'{ds1::id}' == '{ds2::mmid}'">{ds2::You}</td>
<!--    <td spry:repeat="ds2" spry:if="{ds1::id} == {ds2::mmid}">{ds2::You}</td>   Syntax error w/o quote-->
      </tr>
    </table>
</div>

Similar Messages

  • Work around for User ID 32 character limitation in CCX Agent?

    Are there any kind of creative work arounds for getting past the ridiculous 32 character limit when logging into the CCX Agent?
    We are moving toward using the User Principal Name (UPN) in CUCM LDAP which means that the domain is now tacked onto the end of their existing User IDs.  We are doing this so that users from multiple domains can authenticate to various Cisco tools and apps.  It works very well, except when firing up the Agent!
    I've already been playing around with UPN suffixes, and while I can get them to show up in CUCM (and subsequently), I can't seem to get them to authenticate.
    I shouldn't even have to get this creative, just remove the 32 character limit, Cisco!
    We are running CCX 8.5 and CUCM 8.6

    Hi ,
    I am not aware about any such workarounds.
    After referring to the below guide,
    http://www.cisco.com/en/US/docs/voice_ip_comm/cust_contact/contact_center/crs/express_8_5/configuration/guide/uccx851ag.pdf
    On page 78, it is mentioned as,
    Caution : When logging into Cisco Agent Desktop, agents use the Unified CM user ID and password. While the Unified CM limits agent IDs to 128 alphanumeric characters, the Unified CCX limits agent IDs to 31 alphanumeric characters. Be sure to abide by the 31 character-limit when configuring agents in Unified CM.
    I am sure even if it works by some workarounds also, you may see some issues specially from the CAD\CSD\CDA side, which Cisco will not support it quoting the same above reason.
    Hope it helps,
    Anand
    Please Rate helpful posts !!

  • Work around for 60 column limitation

    All,
    Does anyone know of a work around for the 60 column table limitation?
    Will this be changed in a future release?
    Thank you.

    I also need a workaround for this. I have users that want to download data as excel files, and the built in export to csv was working great until the dynamic sql statement pushed itself to more then 60 columns. Is there some other way to provide a link to the data as csv? Can I hook into the csv functionality of HTML DB? Can I create a page template that modifies the Content-Disposition and/or Content-Type so the browser thinks the page is csv/excel so that I could dump out a clob of data I put together? Should I just have a button that provides a link to something outside HTML DB to query and dump data from the database?
    As it is, the users really don't need to see the data on the screen. I just need a way to dump 60+ columns of data to the user as csv.

  • Error "failed to retrieve data set (ds1) for spry:repeat" in IE when using filters

    Everything works fine in Firefox, but in IE7 I get an error
    message saying "Failed to retrieve data set (ds1) for spry:repeat."
    It seems to be my filter set that's causing this. Once I commented
    out the chunk of code that handles filtering, the page finally
    loaded. How can I get it to work in IE?
    Here's the page:
    http://a44.awardspace.com/testing/mbc/portfolio/

    This usually means the dataset (ds4) can not be found / is not created.
    So double check that you have created the dataset.
    If this is the case.. please provide us with a online url.

  • Failed to retrieve data set (dsLibrary) for spry:repeat

    I've tried to make this work with an external xml file,
    external html table, and finally this version with an internal html
    table for the data set source. The source table shows up in the
    browser along with the error message in a box with red header
    "Failed to retrieve data set (dsLibrary) for spry:repeat".
    I used one of the Adobe Samples as a base for my page. I've
    checked and recheck, and I can't find the source of my problem.
    Please help!!!
    My code is below and the url to the page is
    http://www.healthy-horse.info/articles.html
    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>
    <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    <title>hh1</title>
    <link href="matt_layout.css" rel="stylesheet"
    type="text/css" />
    <link href="matt_style.css" rel="stylesheet"
    type="text/css" />
    <link rel="stylesheet" type="text/css"
    href="chromestyle.css" />
    <script type="text/javascript"
    src="SpryAssets/SpryHTMLDataSet.js"></script>
    <script type="text/javascript"
    src="SpryAssets/SpryData.js"></script>
    <script type="text/javascript">
    var dsLibrary = new Spry.Data.HTMLDataSet(null,
    "ArticleLibrary");
    </script>
    <style type="text/css">
    .style1 {color:black}
    .product {
    cursor: pointer;
    .hover {
    background-color: #A6C4E1;
    .selected {
    background-color: #D5C897;
    </style>
    </head>
    <body>
    <div id="masthead"><img class="title"
    src="images/articles_title.gif"/>
    <div class="headerinfo">Great informational articles
    that cover a wide variety of topics relating to
    <strong><em>Horse Health</em></strong> and
    <strong><em>Natural Horse
    Keeping</em></strong>. </div>
    </div>
    <!-- end masthead -->
    <div class="chromestyle" id="chromemenu">
    <ul>
    <li ><a href="default.html"
    >HOME</a></li>
    <li><a
    href="articles.html">ARTICLES</a></li>
    <li><a
    href="faqs.html">FAQ'S</a></li>
    <li><a
    href="links.html">LINKS</a></li>
    <li><a target="_blank" href="
    http://www.healthy-horse.info/forum">FORUM</a></li>
    <li><a href="mailto:[email protected]"
    >EMAIL</a></li>
    </ul>
    </div>
    <div id="wrapper">
    <table width="100%" border="0">
    <tr>
    <td width="30%" valign="top">
    <ul spry:region="dsLibrary"
    spry:repeatchildren="dsLibrary">
    <li class="product" spry:setrow="dsLibrary"
    spry:select="selected" spry:hover="hover">{category}</li>
    </ul>
    </td>
    <td width="70%" valign="top">
    <div spry:detailregion="dsLibrary">
    <div><strong>Articles:</strong>
    {articles}</div>
    </div>
    </td>
    </tr>
    </table>
    <br/>
    <!--SOURCE TABLE-->
    <table id="ArticleLibrary" border="1" cellspacing="0"
    cellpadding="10">
    <tr>
    <th>category</th>
    <th>articles</th>
    </tr>
    <tr>
    <td>Adobe Photoshop CS2</td>
    <td>
    <ul>
    <li>Revolutionary Vanishing Point</li>
    <li>Multiple layer control</li>
    <li>Smart Objects</li>
    <li>Multi-image digital camera raw file
    processing</li>
    <li>Image Warp</li>
    </ul></td>
    </tr>
    <tr>
    <td>Adobe Illustrator CS2</td>
    <td>
    <ul>
    <li>Live Trace</li>
    <li>Live Paint</li>
    <li>Control palette</li>
    <li>Custom workspaces</li>
    <li>Photoshop layer comp support</li>
    </ul></td>
    </tr>
    <tr>
    <td>Adobe InDesign CS2</td>
    <td>
    <ul>
    <li>Object styles</li>
    <li>Adobe Photoshop and Adobe PDF layer
    support</li>
    <li>InDesign snippets</li>
    <li>Adobe InCopy CS2 assignments</li>
    <li>Save backwards to InDesign CS</li>
    </ul></td>
    </tr>
    <tr>
    <td>Adobe GoLive CS2</td>
    <td>
    <ul>
    <li>Enhanced live rendering</li>
    <li>Simple visual tools to build and edit CSS-based
    pages</li>
    <li>Visual CSS authoring for mobile devices</li>
    <li>Visual SVG-t inspection and authoring for
    mobile</li>
    <li>Total site management</li>
    </ul></td>
    </tr>
    <tr>
    <td>Adobe Fireworks 8</td>
    <td>
    <ul>
    <li>Get top-quality design results.</li>
    <li>Produce highly optimized files that still look
    great.</li>
    <li>Slice and export page comps.</li>
    <li>Create sophisticated web navigation.</li>
    </ul></td>
    </tr>
    <tr>
    <td>Adobe Acrobat Professional</td>
    <td>
    <ul>
    <li>Enjoy improved performance</li>
    <li>Extend commenting capabilities</li>
    <li>Easily design Adobe PDF forms</li>
    <li>Enjoy improved attachment capabilities</li>
    </ul></td>
    </tr>
    <tr>
    <td>Adobe Acrobat Standard</td>
    <td>
    <ul>
    <li>Create Adobe PDF documents from Microsoft
    Outlook</li>
    <li>Enjoy improved performance</li>
    <li>Use enhanced headers, footers, and
    watermarks</li>
    <li>Enjoy improved attachment capabilities</li>
    <li>Organize Adobe PDF documents</li>
    </ul></td>
    </tr>
    </table>
    <!--END SOURCE TABLE-->
    </div>
    <!--end wrapper-->
    <div id="footer"><p class="footer">Mathew Baker
       <a
    href="mailto:[email protected]">[email protected]</a>   
    *     Waynesville, OH</p>
    </div>
    <!--end footer-->
    <br/>
    <p class="center" style="font-size:9px"><img
    src="/cgi-sys/Count.cgi?df=matt.dat|display=Counter|ft=6|md=5|frgb=228;224;224|dd=E"/>
    <span class="style1">Web Design by:   Maria Lee
      -  <a
    href="mailto:[email protected]">[email protected]</a> 
    -   (937)554-4116</span></p>
    </body>
    </html>

    Try moving the SpryHTMLDataSet.js script tag below the
    SpryData.js script tag.

  • Work around for iSync and k800i calendars

    Hi all,
    I am using OS X 10.4.9 and iSync 2.4. On my Mac, I have to use Entourage to be able to use the email server here, so I sync my Entourage calendar with iCal by having 1 calendar in iCal called Entourage.
    I have just bought a new SE k800i and when I first tried to sync, the contacts worked fine, however no calendars went across. I made sure the right calendar, in fact the only calendar, was selected in the iSync preferences but no joy.
    I have no events that repeat further than June,so I'm not sure if that's the issue. Does anyone know of any work arounds for this?
    Also, what's the best way to Sync, would it be via bluetooth or can I do it via USB?
    Thanks for any advice.

    I don't think slideshows (or the iPhoto library itself) is backwards compatible with earlier versions of iPhoto, but I'm not sure. If that's a concern, exporting the slideshow as a QuickTime movie might be the best option, but that's getting off the subject of the thread, so if you have further questions about that, you might want to take it up in the iPhoto forum where people more familiar with iPhoto will be able to help.
    Regards.

  • Is there a work around for my Akai Pro EIE Pro interface to work with mountain lion

    Does anyone have a work around for the Akai EIE Pro Audio interface that just stopped working after the mountain lion upgrade. Akai has no response currently.

    Yep,
    They say they're working on it.
    It ***** though
    effo

  • Got error message with web based application that it would only work on MS Explorer 6.0 or newer. Any work around for this?

    When accessing a web based program I got a message that it could only be accessed using MS Explorer 6.0 or newer. Is there a work around for this?

    There is a way to do this.
    But it works or not, I have no idea.
    Enable  "Develop menu".
    Safari > Preference > Advanced
    Checkmark the box for "Show Develop menu in menu bar".
    Develop menu will appear in the Safari menu bar.
    Click the Develop menu and select "User Agent"
    There are choices. Do not forget to make Safari default again afterwards.

  • In OBIEE mobile apps designer there is no option for multi select prompts?The navigation page gives option only for single select?Is there a work around for this?

    In OBIEE mobile apps designer there is no option for multi select prompts?The navigation page gives option only for single select?Is there a work around for this?

    Nic, for me the iTunes window looks like this, when I connect my iPad 3:
    I select the iPad in the "devices" section of the Sidebar (use: "View > Show Sidebar" if the sidebar is hidden).
    Click the "Apps" tab in the "Devices" pane.
    Scroll all the way down in the Devices pane to "File Sharing" "Apps" section.
    Then do I click "GarageBand" to select the documents in the right panel.
    Which part is different for you? Perhaps you could post a screenshot?
    Regards
    Léonie

  • Work around for shared calendars

    Has anyone found a work around for shared calendars yet? This has to be one of the biggest downfalls of the iPhone, along with the fact it can't search in the mail app.
    If anyone ahs found a work around I'd be very keen to here it.

    I have not used this product but it sounds like it may be able to do what you want.
    http://www.busymac.com/index.html

  • Work around for radio tuner service not working

    A work around for the lack of radio tuner service that has appearently hit Itunes versions lower than 11.
    We all hope that Apple will restore Radio Tuner Service for us legacy products users soon, but I've been thrown under the bus more than once by Apple in the last 25 yrs to put much hope in that (I started with an Apple III w/a Z80 card running C/PM, yeah I'm that old)
    Have your iTunes and your favorite browser open.
    In your browser go to http://vtuner.com/setupapp/guide/asp/BrowseStations/startpage.asp
    This will give you a list of Genre's, etc of streaming internet stations.
    When you select a genre you'll get a list of stations that shows station ID, what type of feed codec and data rate.
    Select any of the AAC or MP3 feeds.
    Select play.
    This will send a small download file to your computer containing the selected feeds URL.
    Your computer will ask what app to use to open the file, select iTunes.
    This will automatically open a file called Internet Songs at the end of Playlists in iTunes (if you don't already have one), and will install the URL there. 
    All the stations you selected will now be permanently stored in Internet Songs.
    Viola, your very own custom personal internet radio playlist!
    GT
    Dual Core 2Ghz G5, 9.22/10.4.11/10.5.8

    Apperently iTunes 11 is not affected (Apple stil makes iTunes11 for the 14 yr old Microsoft XP OS, but not for anything PPCs can run. Go figure)
    "Next door" to Steve was metaphoric, he lived in Los Altos, about 15 miles away, but he cast a big shadow!
    On 9.2.1/10.4.11 differences, some time in the past someone selected 'save file' and checked the box 'don't ask again' on your computers dialog box. That's why you're not given a choice wih the file downloads. I would think that selection should be able to be reversed.
    iTunes 9.2.1/OS10.4.11 puts those downloaded URLs into the Music Libary of iTunes, no matter if it's opened directly, or you click on the file on your desktop. You can create a new playlist, highlight the selection in the Music Libary, and drag it to your new playlist to keep alll the steaming URLs together. NOTE, this only creates an alias, the URL copied by iTunes must remain in the Music Libary. You can then delete the the files on the desktop, if you want. I did multiple stations this way in 9.2.1, they all show in either the new playlist created, or in the Music Libary, and remain after the desktop files are deleted and trash emptied.
    You can switch sations by double clicking them. Another note, all the URLs were all from vtune.
    I hope this helps.
    PS, I forgot how clunky Tiger is compared to Leopard...

  • Work Around For Numbers Crashing

    Work Around For Numbers Users:
    For those of us who have numbers and have had problems with it crashing when scrolling across sheets that have checkboxes try this:  Double select a cell, and use the expanding group to navigate the sheet.  It seems to be stable when doing this.
    3 weeks after the os8 release and still no fix for this?  Pathetic.

    If anyone has been having trouble with upgrading the domain file and iWeb crashes, here is the fix that worked for me:
    http://discussions.apple.com/message.jspa?messageID=5100025#5100025
    *MAKE SURE YOU BACKUP YOUR DOMAIN FILES FIRST!*

  • Work around for Excel's array formulae?

    I have an Excel spreadsheet which I have built over many years to manage maintenance tasks of my boat. I would like to convert this to run on Numbers. Unfortunately I can't find a work-around for Excel's "Array Formulas".
    The column headers of my spreadsheet contain maintenance tasks (plus data on how frequently by days or engine hours these jobs need to done). When I complete a maintenance task, I log the date and engine hours in a new row with an "x" to signify that the job is done. Excel then looks up the date/engine hours when each job was last done (ie the lowest "x") and then uses conditional formatting to highlight the column headers of which jobs are overdue. Is there a work around for this in Numbers?
    I attach an image shot of my Excel spreadsheet which may help:

    Hi Rich,
    Some made-up dates.
    If you have multiple x's in a column, change all but the most recent to "Done" or something other than x This approach looks for the date in Column A that matches a single x in a task column.
    This example works on years. I hope you change your oil and filter more often .
    One Header Row and four Footer Rows. Enter Years between services (D9) from the keyboard.
    To find the date of the last service (the only x in Column D)
    D10 contains this formula:
    =INDEX($A,MATCH("x",D,0))
    You can Fill Right to other columns.
    "Years since" (D11) contains this formula:
    =YEAR(TODAY())-YEAR(D10)
    "Alert" (D12) contains this formula:
    =IF(D11>D9,"Hey, You!", "OK")
    Conditional Formatting in D12 sets the text to red if it equals "Hey, You!"
    It would be best to combine these steps into one complex formula. Numbers is slowed down with each Header or Footer in a Table.
    Regards,
    Ian.

  • Work around for Excel "Array Formula" in Numbers?

    I have an Excel spreadsheet which I have built over many years to manage maintenance tasks of my boat. I would like to convert this to run on Numbers. Unfortunately I can't find a work-around for Excel's "Array Formulas".
    The column headers of my spreadsheet contain maintenance tasks (plus data on how frequently by days or engine hours these jobs need to done). When I complete a maintenance task, I log the date and engine hours in a new row with an "x" to signify that the job is done. Excel then looks up the date/engine hours when each job was last done (ie the lowest "x") and then uses conditional formatting to highlight the column headers of which jobs are overdue. Is there a work around for this in Numbers?

    It not clear from your post, but I get the impression you are inquiring about Numbers for OSX. This is the iOS iWork forum. You may want to repost here: https://discussions.apple.com/community/iwork/numbers
    If I'm wrong, and you are asking about Numbers for iOS, these links may help: http://help.apple.com/numbers/ipad/2.2/#/tan5ca02385
    http://help.apple.com/functions/mac/5.0/
    But Numbers for iOS does not fully support conditional text.

  • Work Around for a Panasonic AJ-D750 deck

    I recently upgraded to FCP 5 from 4.5. Since the upgrade I can not digitize from my Panasonic AJ-D750 DVC Pro deck, RS422 connection. Does anyone know a work around for this? Any information would be great!

    Hi, I had the exact problem with a Panasonic AJD950 deck. This is the response I got from Brian Conner
    " I wonder if this is caused by the deck polling problem that FCP5 brought about. FCP5 doubled the amount of deck polling it does during pre-roll and Panasonic decks don't like that.
    A couple of my support clients use a plug-in that Aja tech support passed on to me. The plug returns polling to pre-FCP5 levels. I think the plug was written by Panasonic.
    Try contacting Panasonic tech support to see if that's the case. "
    and thankfully he saved me from another two months of capturing films in 3min segements.
    I managed to find the disable polling file from someone on another forum and I haven't had the problem since. Maybe you could try to google it, or contact Aja, otherwise, if you still can't find it, I can email it to you (as far as I am aware it works with all capture cards, we have Blackmagic).
    Dual 2GHz PowerPC G5   Mac OS X (10.4.5)   XRaid Final Cut Studio

Maybe you are looking for

  • I am receiveing error while creating Z table: Entry in table TAORA missing

    Hi Experts, I am receiving "Entry in table TAORA missing" while creating Z table. Please help Edited by: N_niki on Jun 11, 2011 9:22 AM

  • Free good screen recorders?

    does aneyone know of a good free no watermark screen recorder that does not lower fps on computer? i want to use it to record gaming lets plays.

  • CS5-will it run on Celeron D

    Hi everyone, I currently have  Windows XP SP3, Intel Celeron D - 3.06 ghz, 1.5 gig ram, 46 gig hard disk space remaining, Nvidia Geoforce 6200 graphics card. I can get a good deal on CS5 for under $300. Will CS5 run on this system? I plan on getting

  • What's the best way to replicate the contents of servers?

    Here's the situation. Got a client who wants to take his 5 existing servers - one a general file/app server, one an email (probably Exchange) server, one running MS SQL, and I'm not sure about the roles of servers 4 and 5. Needless to say, he wants t

  • Saproot read access to BPX.DAEMON.HFSCTL

    Dear Colleagues, We faced some issues installing SMD Agent on zos because the user saproot has no read access to BPX.DAEMON.HFSCTL. This is needed based on the Security Guide 2.3.2.2 for SAP on IBM DB2 for zos. For our RACF colleagues setting this re