CF mappings are server side. The SCRIPTSRC value you are using acts client side, as far as I know. If you add a virtual directory that maps to the same place your CF mapping does, you should be fine.
Secondly, the SCRIPTSRC attribute is meant to be used to include the stuff Flash Forms use. Typically you don't use this for your OWN work. You can very easily put files in a folder that use CFFORM, and then call those files via cfmodule using mappings. I think you are confusing two different issues here. >From the docs for scriptSRC: Specifies the URL, relative to the web root, of the directory that contains the cfform.js file with the client-side JavaScript used by this tag and its child tags. For XML format forms, this directory is also the default directory for XSLT skins. This attribute is useful if the file is not in the default location. This attribute may be required in some hosting environments and configurations that block access to the /CFIDE directory. On 9/12/05, Mike Kear <[EMAIL PROTECTED]> wrote: > I have found I can't get a CFFORM (flash version) to work on the production > server, even though it works fine in the dev environment. There's some > script source issue, so to get around it for now, I've uploaded the scripts > from the CFIDE folder into the site, and used the SCRIPTSRC="" attribute in > the CFFORM tag to reference them. > However, the only way I can get them to work is to type in the relative > path to the new scripts folder - If I use a ColdFusion mapping the form > doesn't work. This means it's useless to have a set of the forms used on the > site in a "forms" folder to be included in any page that needs them, because > there is no guarantee the relative path to the scripts will be right. > Am I understanding this correctly or is there something else that I'm > getting wrong and not seeing it? Can the CFFORM tag really never have an > absolute path like a CFC and a CFINCLUDE can??? How else could I handle this > so that the SCRIPTSRC can be a dynamic variable, thereby allowing me to > re-use forms around the site in various locations? > This begs the main question though - does anyone have any idea why our > standard almost-default installation on a shared host wouldn't let the > CFFORM tag find the scripts it needs for flash forms?? (or more pertinent, I > suppose is the question .. what should we do about it?) > > -- > Cheers > Mike Kear > Windsor, NSW, Australia > Certified Advanced ColdFusion Developer > AFP Webworks > http://afpwebworks.com > ColdFusion, PHP, ASP, ASP.NET <http://ASP.NET> hosting from AUD$15/month > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217965 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

