Trying To Get ChatGPT 4 To Solve My Hotwire Form Submission Problem
Ben Nadel tries to get ChatGPT to solve a problem that he is having with Hotwire form submissions....
From: Ben Nadel
Ben Nadel tries to get ChatGPT to solve a problem that he is having with Hotwire form submissions....
From: Ben Nadel
Ben Nadel demonstrates how to disable Hotwire Turbo Drive on all links that point to a given subdirectory within a ColdFusion application....
From: Ben Nadel
Ben Nadel demonstrates how to use Russian Doll content nesting with the CFSaveContent tag to compose data in ColdFusion....
From: Ben Nadel
Ben Nadel and the crew talk about a variety of topics from independent consulting to technical debt to common sense to Bloom filters....
From: Ben Nadel
Conference season is here again! And I'll be kicking it off by speaking at Adobe ColdFusion Summit East 2023 in Washington DC!
From: South of Shasta: Software Development, Web Design, Training
If you've not heard, a new update has been released (March 14, 2023) for ColdFusion 2021 and 2018. Despite what you may hear, this is an URGENT (rated "Priority 1" by Adobe) update that everyone should apply ASAP, for reasons I will explain in this post. In fact, Hackernews reported yesterday (Mar 16) that the U.S. Cybersecurity and Infrastructure Security Agency (CISA) had issued an urgent warning about this, giving federal agencies a deadline to apply the update. TLDR; For some folks, the above may be all you need to hear: you may be dropping your coffee and donuts now to get the update applied. Still others will see this "huge post" and think, "crap, I don't have time for this". For you, skip to the bottom and its "concluding key points". You can then decide what you think you do or don't "need to know" and pick and choose from the sections as you like. Finally, for those who prefer because of the importance of all this to be led more carefully through understanding things (in a way that's worked for the many people I have helped so far this week, and is far more than either Adobe or Hackernews has shared), please do read on. [More]
Fortuna MySQL problem The post ProjectFortuna Beta & MySQL – No Go appeared first on ColdFusion.
From: Adobe Coldfusion Blogs
Ben Nadel describes a plan for incrementally applying Hotwire (Turbo, Stimulus) to an existing ColdFusion application....
From: Ben Nadel
Ben Nadel explores a way to package common view-rendering methods in a ColdFusion component....
From: Ben Nadel
Ben Nadel and the crew talk about all the things they should be doing; but, which they can't quite motivate to get done....
From: Ben Nadel
How to use external CSS while generating a .pdf using cfdocument. The post External CSS in cfdocument appeared first on ColdFusion.
From: Adobe Coldfusion Blogs
Ben Nadel looks at several ways to communicate between nested Stimulus controllers in a Hotwire and ColdFusion application....
From: Ben Nadel
We are pleased to announce that we have released the updates for the following ColdFusion versions: ColdFusion (2021 release) Update 6 ColdFusion (2018 release) Update 16 In this release, we’ve addressed some security vulnerabilities and added the following jvm flags to that effect. -Dcoldfusion.cfclient.enable=true/false -Dcoldfusion.cfclient.allowNonCfc=true/false For more information, see the tech notes below: ColdFusion (2021 release) Update 6 ColdFusion (2018 release) Update 16 These updates fix security vulnerabilities that are mentioned in the security bulletin, APSB23-25. The Docker images will be […] The post RELEASED- ColdFusion 2021 and 2018 March 2023 Security Updates appeared first on ColdFusion.
From: Adobe Coldfusion Blogs
Ben Nadel demonstrates that the CFReturn tag can be used to short-circuit the execution of a CFML template. This works in both Adobe ColdFusion and Lucee CFML....
From: Ben Nadel
Ben Nadel demonstrates how to transclude a form into a fly-out panel using Hotwire and ColdFusion....
From: Ben Nadel
Today I needed to get the time that a file was created from within some CFML code. I had first thought that cfdirectory or directoryList would return this, but it only returns the date the a file was modified, not the date that it was created. My next thought was that getFileInfo must return this, but again it only returns the date that the file was last modified. Even java.io.File only returns the last modified date, not the date the file was created. The Solution The solution is to use Java's NIO (Native IO) file API, and more specifically the java.nio.file.attribute.BasicFileAttributes implementation. Here's a function that will return the date a file was created, modified, and the date the file was last accessed. function getFileAttributes(path) { var filePath = createObject("java", "java.nio.file.Paths").get(arguments.path, []); var basicAttribs = createObject("java", "java.nio.file.attribute.BasicFileAttributes"); var fileAttribs = createObject("java", "java.nio.file.Files").readAttributes(filePath, basicAttribs.getClass(), []); return { "creationTime": fileAttribs.creationTime().toString(), "lastModifiedTime": fileAttribs.lastModifiedTime().toString(), "lastAccessTime": fileAttribs.lastAccessTime().toString() }; } Note that some linux file system implementations don't actually keep track of the last access time (or atime as they call it), so you might get the last modified date there instead.
From: Pete Freitag's Homepage
The time is here, the time is now! CANCEL ALL YOUR WEEKEND PLANS! We are pleased to announce the opening of the CF Fortuna Open #Beta, now available on the Adobe Prerelease site! Features available in this release include: * GraphQL Client (native GQL support for consuming GraphQL endpoints) * Google Cloud Platform ( FireStore ) * Google Cloud Platform ( GCP Storage ) * Google Cloud Platform ( Pub/Sub ) * Central Configuration Service * HTML to PDF engine […] The post Adobe ColdFusion Fortuna Open Beta appeared first on ColdFusion.
From: Adobe Coldfusion Blogs
ColdFusion provides a built-in logging system to help you track and troubleshoot application issues. The logging system generates various log files, including the coldfusion-out.log file, which logs standard output and errors. However, if left unmanaged, the coldfusion-out.log file can grow very large and consume a lot of disk space. In addition, it can become difficult to find relevant log entries in a large log file. Therefore, it is important to manage the coldfusion-out.log file and implement log rotation to keep […] The post Managing coldfusion-out.log and log rotation in ColdFusion appeared first on ColdFusion.
From: Adobe Coldfusion Blogs
If you’re using ColdFusion 2021, you’ll be happy to know that the ColdFusion 2021 offers built-in support for multiSubnetFailover. This means you can configure your Microsoft SQL database connections to failover quickly and efficiently, with minimal impact on your applications and users. Below are the simple steps: Step 1: Log in to ColdFusion Administrator and navigate to Data & Services > Data Sources page. Choose “Other” as the driver type and Enter a name for your data source Step 2: […] The post Configuring MultiSubnetFailover for Microsoft SQL Connection String in ColdFusion 2021 appeared first on ColdFusion.
From: Adobe Coldfusion Blogs
Ben Nadel and the crew recap their Two Truths and a Lie choices and crown a single champion of truth from our listeners....
From: Ben Nadel
Ben Nadel demonstrates how to alter a submit button's appearance and text content using the "data-turbo-submits-with" in Hotwire and ColdFusion....
From: Ben Nadel
A change of behavior in the Oracle JDK 11 installer deletes previously installed JDKs and overwrites the most recent version. The post Installing JDK 11.0.18 on server removes all other JDK 11 installations appeared first on ColdFusion.
From: Adobe Coldfusion Blogs
Ben Nadel demonstrates how to create a persistent dismissible site-wide banner in a Hotwire enhanced ColdFusion application....
From: Ben Nadel
Ben Nadel demonstrates that Stimulus controllers can be dynamically applied to static content served up by a ColdFusion server....
From: Ben Nadel
Ben Nadel discusses the user experience (UX) of disabled form buttons; and why it's a violation of the Robustness Principle....
From: Ben Nadel