Glad to be of help :) -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Kear Sent: Monday, November 13, 2006 12:32 AM To: [email protected] Subject: RE: [CFCDEV] Does anyone here use CFFORMS format= XML forms?
Thanks for your help Roland. What surprises me most about this is that so few people have tried the XML forms. They run FAR faster than the flash versions and are MUCH more flexible as to look and feel. However flash is the buzz-word of the moment and so few people know anything about CSS. Anyway .... So I'm suddenly getting this problem ... I think its to do with the location of the default scripts, css and xsl files. I have a solution - kind-of. I created a folder called CFFORMS under the root of my site and moved a clean new copy of the CSS folder and XSL folder in there. Then I changed the CFFORM tag to access the skin file directly, rather than by name. e.g. Instead of : <cfform name="forminput" method="post" action="#cgi.SCRIPT_NAME#" format="xml" skin="silver" preservedata="yes" scriptsrc="/CFIDE/scripts"> I now use <cfform name="forminput" method="post" action="#cgi.SCRIPT_NAME#" format="xml" skin="/cfforms/scripts/xsl/silver.xsl" preservedata="yes" scriptsrc="/cfforms/scripts"> And that seems to have done the trick. I was trying to change the scriptsrc attribute to fix the problem, but instead it was the location of the skin xsl file that was the problem. Thanks for your help, Roland. Again sorry for this being off-topic but I was having problems finding anyone who knows anything about XML forms. If you haven't played with the XML forms, I strongly suggest you give them a try - all the validation stuff works as advertised (unlike the clunky version in CF5). Rather than waiting for a full minute for a flash form to render, it renders instantly like html, you can build them automatically from a table definition too as I do every day. They are the great unsung hero of CF7. Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks Pty Ltd http://afpwebworks.com Full Scale ColdFusion hosting from A$15/month -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Roland Collins Sent: Monday, 13 November 2006 3:25 PM To: [email protected] Subject: RE: [CFCDEV] Does anyone here use CFFORMS format= XML forms? I have! Is your CFIDE/scripts directory accessible on your dev machine? If it isn't, forms won't work, and you can get errors just like that one. You can either expose that directory, or provide an absolute path to the XSL files. See here for more info on how the path lookups work. You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/[email protected] You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
