Can anyone tell me why this happens?? If i run a page in the root of a site, the CFGRID works. If i run the precise same file in the same relative location of a subdomain of that site, it doesnt. Can anyone see what i've got wrong here?
Here is the relevant code: <!---- First collect the data from the database ---> <cfquery name="qtestquery" datasource="#application.dsn#"> select EmployeeID, GivenName, Surname, Bundyno from dbo.tblEmployee </cfquery> <!---- Do a dump of the data to prove the query object exists and there are records to display ----> <cfdump var="#qtestquery#" label="TestQuery"> <!--- Open the CFFORM tag, using the ScriptSrc attribute, using an absolute path, not a relative one ----> <cfform name="Form1" action="submit.cfm" scriptsrc="/cfide/scripts" > <cfinput type="text" name="Testfield" value="#application.applicationname#" label="Test of the cfforms" validate="email" message="Checking the validation"/> <cfgrid name="employee_grid" query="qtestquery" selectmode="single"> <cfgridcolumn name="EmployeeID"> <cfgridcolumn name="GivenName"> <cfgridcolumn name="Surname"> </cfgrid> <br> <cfinput name="submitit" type="Submit" value="Submit"> </cfform> If you go to the working link: http://adcalpos.net/trygrid.cfm you'll see it works, therefore the CFGRID applet has been installed ok, then if you go to the subdomain version of the exact same file at http://shard.adcalpos.net/trygrid.cfm you'll see now it cant find the CFGRID applet. Any one see what i need to change in the subdomains to make CFGRID work? Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion 9 Enterprise, PHP, ASP, ASP.NET hosting from AUD$15/month On Thu, Apr 22, 2010 at 2:18 AM, Dave Watts <dwa...@figleaf.com> wrote: > > > So here's my question: > > > > [A] do you think the cause of this problem is that the location of the > > CFGRID code is non-standard and therefore i need to use the scriptsrc= > > attibute of the CFFORM tag? > > Yes, I think that's the cause, although honestly I don't know whether > changing SCRIPTSRC works with the Java grid. > > > [B] If yes, where is it to be found? what am i looking for? > > /CFIDE/classes/* > > Dave Watts, CTO, Fig Leaf Software > http://www.figleaf.com/ > http://training.figleaf.com/ > > Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on > GSA Schedule, and provides the highest caliber vendor-authorized > instruction at our training centers, online, or ons > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333060 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm