• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
1

how to convert CF to work on all browsers

Community Beginner ,
Feb 05, 2021 Feb 05, 2021

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]

Views

553

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Feb 08, 2021 Feb 08, 2021

Copy link to clipboard

Copied

Moved from Flash Player community to ColdFusion community

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 08, 2021 Feb 08, 2021

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

Dave Watts, Eidolon LLC

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 08, 2021 Feb 08, 2021

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 ...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 08, 2021 Feb 08, 2021

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

Dave Watts, Eidolon LLC

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 08, 2021 Feb 08, 2021

Copy link to clipboard

Copied

Thanks Dave.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 10, 2021 Feb 10, 2021

Copy link to clipboard

Copied

LATEST

@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. 🙂

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation