Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

spry filter

New Here ,
Dec 03, 2008 Dec 03, 2008

Copy link to clipboard

Copied

i am attempting to display a list of comments beneath an image, using 2 xml datasets. what i would like to do is filter the comments dataset depending upon the current image.
i have been using the spry filter() function and can successfully filter my dataset if i use a number or a string as an argument. what i want to do is pass in a dataset variable.

Alternetively, is there another method i should consider ?
TOPICS
Extensions

Views

445
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 04, 2008 Dec 04, 2008

Copy link to clipboard

Copied

LATEST
crushfor wrote:

> if (row["ImageID"] == {dsimages::imageID})

The Spry tokens are not replaced, and as such, the token you're using has no direct value. You'd need to access the dsimages JavaScript object to access the imageID value. Sorry I've not worked much with the datasets so I don't know specific syntax to get that value out, but you should ask Spry questions in the Spry forum:
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid=72&catid=602



--
Danilo Celic
| http://blog.extensioneering.com/
| WebAssist Extensioneer
| Adobe Community Expert

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines