Can I create a form with several HTML5 multi-file uploads and send to unique destinations?
I have a page where people need to be able to upload multiple files that go to different places. I can use: input type=file multiple=multiple name=fileSet1 / input type=file multiple=multiple name=fileSet2 / input type=file multiple=multiple name=fileSet3 / To get the files but once I get to the back end I'm stuck. Using CFFILE with action=upload only uploads the first file but at least I can send it to the right place. Using action=uploadall sends all the files to all the locations because I can specify a filefield value. Obviously I could have one form for each file set but that gets tedious for the end user. Any suggestions? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353257 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Clear out webservices?
Is there any way to automatically clear out the webservices listed in the CF Admin every time the instance restarts? [circle]http://www.suny.edu/ Alex DeMarco Manager of Technical Services The State University of New York State University Plaza - Albany, New York 12246 Tel: 518.320.1398Fax: 518.320.1550 Be a part of Generation SUNY: Facebookhttp://www.facebook.com/generationsuny - Twitterhttp://www.twitter.com/generationsuny - YouTubehttp://www.youtube.com/generationsuny ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353258 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Clear out webservices?
Post is rather old but i think it still works : http://www.bpurcell.org/blog/index.cfm?entry=965mode=entry Is there any way to automatically clear out the webservices listed in the CF Admin every time the instance restarts? [circle]http://www.suny.edu/ Alex DeMarco Manager of Technical Services The State University of New York State University Plaza - Albany, New York 12246 Tel: 518.320.1398Fax: 518.320.1550 Be a part of Generation SUNY: Facebookhttp://www.facebook. com/generationsuny - Twitterhttp://www.twitter.com/generationsuny - YouTubehttp://www.youtube.com/generationsuny ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353259 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Can I create a form with several HTML5 multi-file uploads and send to unique destinations?
I have a page where people need to be able to upload multiple files that go to different places. I can use: input type=file multiple=multiple name=fileSet1 / input type=file multiple=multiple name=fileSet2 / input type=file multiple=multiple name=fileSet3 / To get the files but once I get to the back end I'm stuck. Using CFFILE with action=upload only uploads the first file but at least I can send it to the right place. Using action=uploadall sends all the files to all the locations because I can specify a filefield value. Obviously I could have one form for each file set but that gets tedious for the end user. Any suggestions? To answer the question you asked in the subject: no, you can't create a form with several multi-file uploads and send them to unique destinations. One form has ... one destination. But what you can do is move files around after they've been uploaded. You shouldn't allow uploads to directories within your web root as a general rule anyway until you can verify the safety of uploaded files. So create a file uploader action page that uploads files to a safe (non-web-accessible) location, verifies the safety of those files, then moves the files where you want them to be. 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 onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353260 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Can I create a form with several HTML5 multi-file uploads and send to unique destinations?
You can send the file to different definitions if you loop over your file sets rather than handle them all with one command. Then you can change destination on each loop. Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_williams -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: Tuesday, November 20, 2012 9:13 AM To: cf-talk Subject: Re: Can I create a form with several HTML5 multi-file uploads and send to unique destinations? I have a page where people need to be able to upload multiple files that go to different places. I can use: input type=file multiple=multiple name=fileSet1 / input type=file multiple=multiple name=fileSet2 / input type=file multiple=multiple name=fileSet3 / To get the files but once I get to the back end I'm stuck. Using CFFILE with action=upload only uploads the first file but at least I can send it to the right place. Using action=uploadall sends all the files to all the locations because I can specify a filefield value. Obviously I could have one form for each file set but that gets tedious for the end user. Any suggestions? To answer the question you asked in the subject: no, you can't create a form with several multi-file uploads and send them to unique destinations. One form has ... one destination. But what you can do is move files around after they've been uploaded. You shouldn't allow uploads to directories within your web root as a general rule anyway until you can verify the safety of uploaded files. So create a file uploader action page that uploads files to a safe (non-web-accessible) location, verifies the safety of those files, then moves the files where you want them to be. 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 onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353261 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Can I create a form with several HTML5 multi-file uploads and send to unique destinations?
I want to add two kinda OT points here. CF9 (and earlier) has a bug with input type=file multiple where it will only process the first file. As far as I know there is no workaround for this. CF10 handles it ok though. Dave said you can't have one form with multiple destinations. That isn't technically true. The HTML5 spec supports a formaction attribute for the input tag that allows multiple destinations for different fields in the same form. For the life of me I can't imagine using this often in the real world. Maybe in a combo login/register form, but there ya go. You can see the MDN spec here: https://developer.mozilla.org/en-US/docs/HTML/Element/button#attr-formaction On Tue, Nov 20, 2012 at 8:25 AM, Robert Harrison rob...@austin-williams.com wrote: You can send the file to different definitions if you loop over your file sets rather than handle them all with one command. Then you can change destination on each loop. Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_williams -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: Tuesday, November 20, 2012 9:13 AM To: cf-talk Subject: Re: Can I create a form with several HTML5 multi-file uploads and send to unique destinations? I have a page where people need to be able to upload multiple files that go to different places. I can use: input type=file multiple=multiple name=fileSet1 / input type=file multiple=multiple name=fileSet2 / input type=file multiple=multiple name=fileSet3 / To get the files but once I get to the back end I'm stuck. Using CFFILE with action=upload only uploads the first file but at least I can send it to the right place. Using action=uploadall sends all the files to all the locations because I can specify a filefield value. Obviously I could have one form for each file set but that gets tedious for the end user. Any suggestions? To answer the question you asked in the subject: no, you can't create a form with several multi-file uploads and send them to unique destinations. One form has ... one destination. But what you can do is move files around after they've been uploaded. You shouldn't allow uploads to directories within your web root as a general rule anyway until you can verify the safety of uploaded files. So create a file uploader action page that uploads files to a safe (non-web-accessible) location, verifies the safety of those files, then moves the files where you want them to be. 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 onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353262 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Can I create a form with several HTML5 multi-file uploads and send to unique destinations?
I have definitely gotten around that by using loops, but I also have not been using file sets. I've been using single file fields named in such a way that I have a key to tell me which files belongs to a set. Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_williams -Original Message- From: Raymond Camden [mailto:raymondcam...@gmail.com] Sent: Tuesday, November 20, 2012 10:06 AM To: cf-talk Subject: Re: Can I create a form with several HTML5 multi-file uploads and send to unique destinations? I want to add two kinda OT points here. CF9 (and earlier) has a bug with input type=file multiple where it will only process the first file. As far as I know there is no workaround for this. CF10 handles it ok though. Dave said you can't have one form with multiple destinations. That isn't technically true. The HTML5 spec supports a formaction attribute for the input tag that allows multiple destinations for different fields in the same form. For the life of me I can't imagine using this often in the real world. Maybe in a combo login/register form, but there ya go. You can see the MDN spec here: https://developer.mozilla.org/en-US/docs/HTML/Element/button#attr-formaction On Tue, Nov 20, 2012 at 8:25 AM, Robert Harrison rob...@austin-williams.com wrote: You can send the file to different definitions if you loop over your file sets rather than handle them all with one command. Then you can change destination on each loop. Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_williams -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: Tuesday, November 20, 2012 9:13 AM To: cf-talk Subject: Re: Can I create a form with several HTML5 multi-file uploads and send to unique destinations? I have a page where people need to be able to upload multiple files that go to different places. I can use: input type=file multiple=multiple name=fileSet1 / input type=file multiple=multiple name=fileSet2 / input type=file multiple=multiple name=fileSet3 / To get the files but once I get to the back end I'm stuck. Using CFFILE with action=upload only uploads the first file but at least I can send it to the right place. Using action=uploadall sends all the files to all the locations because I can specify a filefield value. Obviously I could have one form for each file set but that gets tedious for the end user. Any suggestions? To answer the question you asked in the subject: no, you can't create a form with several multi-file uploads and send them to unique destinations. One form has ... one destination. But what you can do is move files around after they've been uploaded. You shouldn't allow uploads to directories within your web root as a general rule anyway until you can verify the safety of uploaded files. So create a file uploader action page that uploads files to a safe (non-web-accessible) location, verifies the safety of those files, then moves the files where you want them to be. 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 onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353263 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Can I create a form with several HTML5 multi-file uploads and send to unique destinations?
I've been using single file fields ... That's not always true. I do also use a multi-file uploader utility but I consider each multi-file upload to be one set when that is used. Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_williams -Original Message- From: Robert Harrison [mailto:rob...@austin-williams.com] Sent: Tuesday, November 20, 2012 10:25 AM To: cf-talk Subject: RE: Can I create a form with several HTML5 multi-file uploads and send to unique destinations? I have definitely gotten around that by using loops, but I also have not been using file sets. I've been using single file fields named in such a way that I have a key to tell me which files belongs to a set. Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_williams -Original Message- From: Raymond Camden [mailto:raymondcam...@gmail.com] Sent: Tuesday, November 20, 2012 10:06 AM To: cf-talk Subject: Re: Can I create a form with several HTML5 multi-file uploads and send to unique destinations? I want to add two kinda OT points here. CF9 (and earlier) has a bug with input type=file multiple where it will only process the first file. As far as I know there is no workaround for this. CF10 handles it ok though. Dave said you can't have one form with multiple destinations. That isn't technically true. The HTML5 spec supports a formaction attribute for the input tag that allows multiple destinations for different fields in the same form. For the life of me I can't imagine using this often in the real world. Maybe in a combo login/register form, but there ya go. You can see the MDN spec here: https://developer.mozilla.org/en-US/docs/HTML/Element/button#attr-formaction On Tue, Nov 20, 2012 at 8:25 AM, Robert Harrison rob...@austin-williams.com wrote: You can send the file to different definitions if you loop over your file sets rather than handle them all with one command. Then you can change destination on each loop. Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_williams -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: Tuesday, November 20, 2012 9:13 AM To: cf-talk Subject: Re: Can I create a form with several HTML5 multi-file uploads and send to unique destinations? I have a page where people need to be able to upload multiple files that go to different places. I can use: input type=file multiple=multiple name=fileSet1 / input type=file multiple=multiple name=fileSet2 / input type=file multiple=multiple name=fileSet3 / To get the files but once I get to the back end I'm stuck. Using CFFILE with action=upload only uploads the first file but at least I can send it to the right place. Using action=uploadall sends all the files to all the locations because I can specify a filefield value. Obviously I could have one form for each file set but that gets tedious for the end user. Any suggestions? To answer the question you asked in the subject: no, you can't create a form with several multi-file uploads and send them to unique destinations. One form has ... one destination. But what you can do is move files around after they've been uploaded. You shouldn't allow uploads to directories within your web root as a general rule anyway until you can verify the safety of uploaded files. So create a file uploader action page that uploads files to a safe (non-web-accessible) location, verifies the safety of those files, then moves the files where you want them to be. 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 onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353264 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Re: Multiple application in webroot with different sessions
Did you assign different names to the two applications? On Mon, Nov 19, 2012 at 9:48 PM, Uday Patel udayjpatel2...@gmail.comwrote: yes the application names are different for all sites ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353265 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Security Question(s)
On Mon, Nov 19, 2012 at 1:48 PM, Jamie Bowers jamiembow...@netscape.netwrote: Somewhat related, how do I determine that any hot-fix or security patch I may download and install is indeed installed? Jamie, one thing I'd like to point out is that if your are using CF7 then you have unpatched vulnerabilities on the server, CF7 has been End of Life for a while and has not received any security updates in a couple years - so even if your code is secured your server platform is likely not. You will also need to make sure your JVM is patched, which again might be a challenge since CF7 doesn't run on Java 1.6 (without appropriate JVM patches an attacker can simply send a magic number to your server and cause it to hang, among other possibilities). To answer your question here about how do you know what patches are installed: plugI created a service http://hackmycf.com specifically for that reason - you can scan your domain for free but we also offer paid services that can find more details./plug You can also try using the ColdFusion administrator to see what the update level is but that is not a great solution, see http://www.carehart.org/blog/client/index.cfm/2012/6/18/what_hotfixes_have_been_applied for more info. Finally I also wanted to point out that XmlFormat is not a stopgap for XSS either, for example if you have this: cfoutput script var id = #XmlFormat(url.id)#; /script /cfoutput You are not at all protected from XSS - so XSS protection really depends on where the variable is output, it could be in a tag, javascript, css, a url, a tag attribute, all have their own encoding rules that must be applied to properly prevent the attack. Hope that helps. -- Pete Freitag - Adobe Community Professional http://foundeo.com/ - ColdFusion Consulting Products http://hackmycf.com - Is your ColdFusion Server Secure? http://www.youtube.com/watch?v=ubESB87vl5U - FuseGuard your CFML in 10 minutes ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353266 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Multiple application in webroot with different sessions
You will need to make sure each of the session cookies specify a path attribute otherwise the user will loose sessions when going from app to app (if you have the session fixation patch enabled). This will also allow you to have unique session ids for each app. You can do this by writing the CFID/CFTOKEN cookies yourself in onSessionStart (example: http://www.petefreitag.com/item/764.cfm) or if you are on CF10 you could try this.sessioncookie.path (but that may not work, looks like they may not allow you to set the path this way). The session timeout is internal to CF so even if the session cookies are not expired it doesn't mean that the session is still valid. So even without all of the path attribute set you can still have unique timeouts, but the session can only be valid for one app at a time. -- Pete Freitag - Adobe Community Professional http://foundeo.com/ - ColdFusion Consulting Products http://hackmycf.com - Is your ColdFusion Server Secure? http://www.youtube.com/watch?v=ubESB87vl5U - FuseGuard your CFML in 10 minutes On Tue, Nov 20, 2012 at 12:25 PM, Uday Patel udayjpatel2...@gmail.comwrote: Did you assign different names to the two applications? On Mon, Nov 19, 2012 at 9:48 PM, Uday Patel udayjpatel2...@gmail.com wrote: yes the application names are different for all sites ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353267 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Anyone using Twitter Bootstrap with CF?
OK, new (but related) problem. I'm using a modal window to edit records. When I click to edit the first record, it loads the edit window with that records data. Cool. Close the window, click on the second record, and the data for the first record is still in the form and remains there until I refresh the page. I am using this method to call the edit window: a href=#CGI.script_name#?a=editassetid=#getassets.assetid# data-toggle=modal data-target=##editmodal role=button class=btn btn-small pull-rightEdit/a I tried some of the no-cache tricks, thinking it might be a caching issue, but that caused no content to be loaded in the body of the modal window. Is there a solution to this? Thanks Pete On Wed, Nov 14, 2012 at 1:33 PM, Cameron Childress camer...@gmail.comwrote: On Wed, Nov 14, 2012 at 1:13 PM, Pete Ruckelshaus pruckelsh...@gmail.com wrote: Yeah, that's what I get for just glancing at the docs. This a data-toggle=modal href=remote.html data-target=#modalclick me/a worked like a charm. Great! Next up, is there a way to submit a form within the same modal window? Sorry for the questions, I've been doing almost entirely server-side stuff for the past few years. You can actually have someone submit the form in the modal just like any other page. Then it will make a round trip tot he server and refresh the underlying page (the one that opened the modal). Alternately, you can have a button in the modal make a javascript call and do a jQuery AJAX call to submit the data, without causing the underlying page to refresh. You can then close the modal using some of the code you should be able to find in the documentation. There are a bunch of ways you can solve the problem, but I'd read up on the whole she-bang a bit before trying to cut/paste anything from Stack Overflow (or this list) to solve your problem. I'd put down the IDE for a bit, get a coffee and take a long read in the jQuery docs around the AJAX methods. http://api.jquery.com/category/ajax/ You should be able to chain those calls along with the Bootstrap modal stuff to get where you want to be. -Cameron -- Cameron Childress -- p: 678.637.5072 im: cameroncf facebook http://www.facebook.com/cameroncf | twitterhttp://twitter.com/cameronc | google+ https://profiles.google.com/u/0/117829379451708140985 ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353268 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Can I create a form with several HTML5 multi-file uploads and send to unique destinations?
Dave said you can't have one form with multiple destinations. That isn't technically true. The HTML5 spec supports a formaction attribute for the input tag that allows multiple destinations for different fields in the same form. For the life of me I can't imagine using this often in the real world. Maybe in a combo login/register form, but there ya go. You can see the MDN spec here: https://developer.mozilla.org/en-US/docs/HTML/Element/button#attr-formaction That is good to know! Thanks for the correction! 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 onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353269 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Anyone using Twitter Bootstrap with CF?
You will really need to confirm if you do actually have a caching issue. If you're using Firefox, use Firebug to watch your ajax traffic in the console view. If you're using Chrome, F12 will pull up the developer tools. I hear there are other browsers, but you wouldn't be using them, I'm sure. Otherwise, view the HTML your CF is generating and make sure the links are all unique, and that you're not calling id=1 on every link to the modal. Disclaimer: I haven't used the modal yet except in playing around, and I've never experienced your issue. nathan strutz [www.dopefly.com] [hi.im/nathanstrutz] [about.me/nathanstrutz] ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353270 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
check validity of zip file with cfzip
Is there any to check the validity of a zip file with cfzip. I can't see anything in the docs. The only way I could see was to do a cftry, but that seemed cumbersome. My problem is that I receive a zipped file from an external source, so need to be able to verify that it is a valid zip file Many thanks Seamus ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353271 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm