-
1. Re: Can't Display Repeat Region Using CSV
Arnout Kazemier Aug 2, 2009 10:35 AM (in response to andrewmcgibbon)Maybe switch the script tags, SpryCSV and SpryData.. So SpryData comes first, and SpryDataCSV depends on Spry Data.
Or post a online url.
-
2. Re: Can't Display Repeat Region Using CSV
andrewmcgibbon Aug 2, 2009 5:11 PM (in response to Arnout Kazemier)Hmmm, that did not work. I am hosting this locally and don't have access to an external windows server. Any suggestions?
Thanks so much for the help.
Andy
-
3. Re: Can't Display Repeat Region Using CSV
Arnout Kazemier Aug 2, 2009 11:40 PM (in response to andrewmcgibbon)could you e-mail me the files? info@3rd-Eden.com
-
4. Re: Can't Display Repeat Region Using CSV
Arnout Kazemier Aug 3, 2009 4:50 AM (in response to andrewmcgibbon)Thanks for the email.
Your constructor is wrong;
var dsPressAgents = new Spry.Data.CSVDataset("press_agents.csv",{firstRowAsHeaders: true, columnNames:["SHOW","PRESS_AGENCY","CONTACT","EMAIL","PHONE","OPENING","THEATRE"]});Should be "Spry.Data.CSVDataSet" not "Spry.Data.CSVDataset" :
var dsPressAgents = new Spry.Data.CSVDataSet("press_agents.csv",{firstRowAsHeaders: true, columnNames:["SHOW","PRESS_AGENCY","CONTACT","EMAIL","PHONE","OPENING","THEATRE"]});The constructor you posted is actually fine..
-
5. Re: Can't Display Repeat Region Using CSV
andrewmcgibbon Aug 3, 2009 7:34 AM (in response to Arnout Kazemier).V1 wrote:
Thanks for the email.
Your constructor is wrong;
var dsPressAgents = new Spry.Data.CSVDataset("press_agents.csv",{firstRowAsHeaders: true, columnNames:["SHOW","PRESS_AGENCY","CONTACT","EMAIL","PHONE","OPENING","THEATRE"]});Should be "Spry.Data.CSVDataSet" not "Spry.Data.CSVDataset" :
var dsPressAgents = new Spry.Data.CSVDataSet("press_agents.csv",{firstRowAsHeaders: true, columnNames:["SHOW","PRESS_AGENCY","CONTACT","EMAIL","PHONE","OPENING","THEATRE"]});The constructor you posted is actually fine..
Thank you so much for your help. Above you write:
Should be "Spry.Data.CSVDataSet" not "Spry.Data.CSVDataset" :
That appears to be the same exact string. I put the second constructor you recommended. Now I don't get the error message, I see the table flash briefly on the screen but there is no error message and I end up with a blank page.
Any other ideas? Thank you again for your help and patience.
Andy
-
6. Re: Can't Display Repeat Region Using CSV
Arnout Kazemier Aug 3, 2009 7:38 AM (in response to andrewmcgibbon)What browser are you using?
-
7. Re: Can't Display Repeat Region Using CSV
andrewmcgibbon Aug 3, 2009 9:13 AM (in response to Arnout Kazemier)IE8 and FF 3.0.12
-
8. Re: Can't Display Repeat Region Using CSV
Arnout Kazemier Aug 4, 2009 2:26 AM (in response to andrewmcgibbon)IE and FF 3.0 don't allow you to execute JavaScript locally. They have security restrictions.
Read this to fix FF : http://forums.adobe.com/thread/50748
-
9. Re: Can't Display Repeat Region Using CSV
andrewmcgibbon Aug 4, 2009 8:59 AM (in response to Arnout Kazemier)Thank you so much for your time. This did answer my question about running it locally. The link you provided did say you could run it using http://localhost. I had the files in the inetpub/wwwroot folder. Is that not the same thing?
Again, thanks for your generosity.
Andy
-
10. Re: Can't Display Repeat Region Using CSV
Arnout Kazemier Aug 5, 2009 5:30 AM (in response to andrewmcgibbon)Nope, because localhost is using your server, and /dir/dir/dir/ is just accessing your hard drive with out using your server

