tag:blogger.com,1999:blog-6186498.post5778304467629206295..comments2023-09-18T07:09:45.694-06:00Comments on Things I've Learned: Create Spry Data Sets Using Inline DataN Mhttp://www.blogger.com/profile/15652512573072388273noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-6186498.post-13191539658099190482009-09-09T16:25:38.126-06:002009-09-09T16:25:38.126-06:00I am getting an error:
"Invalid CFML constru...I am getting an error:<br /><br />"Invalid CFML construct found on line 11 at column 185.<br />ColdFusion was looking at the following text:<br /><br />The CFML compiler was processing:<br />a cfif tag beginning on line 11, column 170."<br /><br />It appears to be tied to Paul Alkema post: cfif currentrow="" neq recordcount=""<br /><br />Please help!Unknownhttps://www.blogger.com/profile/09799328288075815320noreply@blogger.comtag:blogger.com,1999:blog-6186498.post-41991928361613718372009-04-06T03:10:00.000-06:002009-04-06T03:10:00.000-06:00Once we had problem with "table" tag. I asked my f...Once we had problem with "table" tag. I asked my friend and he advised me to change<BR/><BR/>table id="DirData"<BR/><BR/>table width="20%" border="1"<BR/><BR/>TO<BR/><BR/>table id="DirData" width="20%" border="1"Damonhttp://www.asiarooms.comnoreply@blogger.comtag:blogger.com,1999:blog-6186498.post-90558577905081152062009-02-11T15:08:00.000-07:002009-02-11T15:08:00.000-07:00I also have noticed that the line in your array is...I also have noticed that the line in your array isn't valid as well.<BR/><BR/><cfif currentrow="" neq recordcount="">Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6186498.post-9957219744438534382009-01-20T04:40:00.000-07:002009-01-20T04:40:00.000-07:00This comment has been removed by a blog administrator.Saiful Alamhttps://www.blogger.com/profile/07617738081836521137noreply@blogger.comtag:blogger.com,1999:blog-6186498.post-34805748662152653572008-09-30T08:21:00.000-06:002008-09-30T08:21:00.000-06:00I agree this is a technique that deserve more visi...I agree this is a technique that deserve more visibility. As a plus using this solution you have no need to load the xpath.js file.<BR/>For what worth, my Spry CFC has a toDataSet() method that turn a CF query into an inline Spry dataset. You can grab it from here:<BR/>http://www.massimocorner.com/coldfusion/cfc/tmt_spry.zipAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6186498.post-1353319053551066012008-09-24T11:28:00.000-06:002008-09-24T11:28:00.000-06:00Kin: I had a look at the link that you posted. Th...Kin: I had a look at the link that you posted. Thanks for the comment. I think that the Spry team should make the sample you mentioned more prominent. Unless you really search, they make it look like you can only use external XML/JSON files.Neilhttps://www.blogger.com/profile/12928763985799363545noreply@blogger.comtag:blogger.com,1999:blog-6186498.post-32101859906497400652008-09-24T11:25:00.000-06:002008-09-24T11:25:00.000-06:00Thanks, Matthew. A transposition error. Instead ...Thanks, Matthew. A transposition error. Instead of copying my code from Eclipse, I typed it manually into my blog so that I could escape less-than signs. I will fix the code in the blog post. Good catch.Neilhttps://www.blogger.com/profile/12928763985799363545noreply@blogger.comtag:blogger.com,1999:blog-6186498.post-24495217613052019342008-09-24T10:44:00.000-06:002008-09-24T10:44:00.000-06:00I believe you've got a minor error. The setDataFro...I believe you've got a minor error. The setDataFromArray needs a reference to the spry dataset space it needs to operate on. Instead of<BR/><BR/>user_dataset = setDataFromArray(user_array);<BR/><BR/>It should be<BR/><BR/> user_dataset.setDataFromArray(user_array);Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6186498.post-4366772096758886882008-09-23T19:23:00.000-06:002008-09-23T19:23:00.000-06:00FYI, there is a sample on the Spry samples page th...FYI, there is a sample on the Spry samples page that shows you how to do this. You can find it here:<BR/><BR/>http://labs.adobe.com/technologies/spry/samples/data_region/DataSetSample.html<BR/><BR/>The main sample page can be found here:<BR/><BR/>http://labs.adobe.com/technologies/spry/samples/<BR/><BR/>--== Kin ==--Anonymousnoreply@blogger.com