Highlighted

Error retrieving markup for element cf_div...........

Explorer ,
Aug 09, 2016

Copy link to clipboard

Copied

Hi,

I have a page contains that contains three tabs.

The following error message like the one below will appear randomly when the page appears:

"Error retrieving markup for element cf_div...........  :OK

[Enable debugging by adding 'cfdebug' to your URL parameters to see more information]"

I would like to know how to suppress the error message.

Below is the code for the first tab:

<cflayoutarea bindonload="true" closable="false" disabled="false" inithide="false" name="LTCServiceNameEdit"  overflow = "auto"
selected="true" tabTip="text" title="Service Selection" align="left" >
<H6>Service</H6>

  <cfoutput>
  <cfinclude template="spltcserviceseditform.cfm">
  </cfoutput>
</cflayoutarea>

Per my research, one of the solutions is below. How would the ColdFusion.setGlobalErrorHandler(handleGError); be placed in the above cflayoutarea?

function handleGError(s) {    console.log(‘global error called ‘+s); }

ColdFusion.setGlobalErrorHandler(handleGError);

Using Cold Fusion 11, update 3 patch installed.

Thanks,

Mike

Views

735

Likes

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

Error retrieving markup for element cf_div...........

Explorer ,
Aug 09, 2016

Copy link to clipboard

Copied

Hi,

I have a page contains that contains three tabs.

The following error message like the one below will appear randomly when the page appears:

"Error retrieving markup for element cf_div...........  :OK

[Enable debugging by adding 'cfdebug' to your URL parameters to see more information]"

I would like to know how to suppress the error message.

Below is the code for the first tab:

<cflayoutarea bindonload="true" closable="false" disabled="false" inithide="false" name="LTCServiceNameEdit"  overflow = "auto"
selected="true" tabTip="text" title="Service Selection" align="left" >
<H6>Service</H6>

  <cfoutput>
  <cfinclude template="spltcserviceseditform.cfm">
  </cfoutput>
</cflayoutarea>

Per my research, one of the solutions is below. How would the ColdFusion.setGlobalErrorHandler(handleGError); be placed in the above cflayoutarea?

function handleGError(s) {    console.log(‘global error called ‘+s); }

ColdFusion.setGlobalErrorHandler(handleGError);

Using Cold Fusion 11, update 3 patch installed.

Thanks,

Mike

Views

736

Likes

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
Aug 09, 2016 0
LEGEND ,
Aug 09, 2016

Copy link to clipboard

Copied

In scenarios like this, CFTRY/CFCATCH/CFDUMP is your friend.  Just place the opening CFTRY before your cflayout, and the CFCATCH/CFDUMP after it.  The CFDUMP should display the reason for the error, ideally giving you a starting point from which to troubleshoot the issue.

HTH,

^_^

Likes

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
Reply
Loading...
Aug 09, 2016 0
BKBK LATEST
Adobe Community Professional ,
Aug 11, 2016

Copy link to clipboard

Copied

It may or may not be the solution, but you should delete the cfoutput tag. It does not belong there. If you need it in the file spltcserviceseditform.cfm, then use it there.

Likes

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
Reply
Loading...
Aug 11, 2016 0