Copy link to clipboard
Copied
Any better ways to convert ColdFusion to work in all browsers ?
Is ther any easy way to convert CFML forms to HTML instaed of complete rewrite.
[moderator: edited title for clarity and accuracy]
Copy link to clipboard
Copied
Moved from Flash Player community to ColdFusion community
Copy link to clipboard
Copied
No, not really. You'll have to convert any CF forms that use Flash to use HTML instead. Fortunately, most CFFORM elements don't use Flash by default, so this shouldn't be a huge effort.
Dave Watts, Eidolon LLC
Copy link to clipboard
Copied
Thank you.
That helps. So, we can invoke CFC files from HTML (with Javascript included) directly and render the content on HTML forms. Is my understanding is correct that CFM (with Flash) files can be replaced by HTML5 components and these HTML files can invoke CFC service files and render the data as like CFM files ...
Copy link to clipboard
Copied
By default, CFM files generate HTML, and CFC files can generate HTML or JSON or SOAP depending on how they're used. You can probably minimize the amount of work you need to do by just changing your CFFORM tags to use HTML instead of Flash - it's an attribute change - and make sure you're not using any Flash-only CFFORM tags like the multi-file-uploader. I think CFFORM provides HTML alternatives for most of those. Ideally, if you want to modernize your application, you could avoid using any server-side HTML generation and just use HTML pages with JavaScript front-ends that call CFC services. But that's probably not what you're currently doing, so it'll probably be more work.
Dave Watts, Eidolon LLC
Copy link to clipboard
Copied
Thanks Dave.
Copy link to clipboard
Copied
@kumar5F9C : Is my understanding is correct that CFM (with Flash) files can be replaced by HTML5 components and these HTML files can invoke CFC service files and render the data as like CFM files
Yes. 🙂