Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.
-
crushfor #1
spry filter
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 ?
eg for dataset dscomments, i want to filter by imageID from dsimages
this works fine...
var ffcomments = function(dataSet, row, rowNumber)
{
if (row["ImageID"] == 90)
return row;
return null;
}
dscomments.filter(ffcomments)
this fails
var ffcomments = function(dataSet, row, rowNumber)
{
if (row["ImageID"] == {dsimages::imageID})
return row;
return null;
}
dscomments.filter(ffcomments)
crushfor Guest
-
Spry Bar Help
Alright guys I am kind of a newbie when it comes to dreamweaver (I was always a fan of golive because of its simplicity). Anyways I am running... -
Combine Spry Tabbed Panel and Spry HTML Panel
I would like to maintain the presentation of the tabbed panel and utilize its ability to load content from a Spry Dataset, but I would also like to... -
Can spry do this?
I want to have submenus display a block before I mouse over them... looky here at the menu on this page and you will see the problem ... -
#40499 [NEW]: filter sapi does not register any highlightning filter
From: php at henke37 dot cjb dot net Operating system: any PHP version: 6CVS-2007-02-15 (CVS) PHP Bug Type: Apache2 related... -
Data Grid Header Filter Renderer or how do I get aheader to filter the data in a datagrid.
Okay so on the same theme as why isn't the datagrid like Excel, I have created a (very cool) Filter header. 1) The filter looks like any other... -
danilocelic AdobeCommunityExpert #2
Re: spry filter
crushfor wrote:
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:> if (row["ImageID"] == {dsimages::imageID})
[url]http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid=72&catid=602[/url]
--
Danilo Celic
| [url]http://blog.extensioneering.com/[/url]
| WebAssist Extensioneer
| Adobe Community Expert
danilocelic AdobeCommunityExpert Guest



Reply With Quote

