tracker issue : CF-3041886

select a category, or use search below
(searches all categories and all time range)

Bug 83820:Here's thee code, should be placed in a file called "test-cfform-ajax

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/

Reporter/Name(from Bugbase): John Pansewicz / John Pansewicz (John Pansewicz)

Created: 08/13/2010

Components: AJAX, UI Components

Versions: 9.0.1

Failure Type: Unspecified

Found In Build/Fixed In Build: 9,0,1,274733 /

Priority/Frequency: Trivial / Unknown

Locale/System: English / Platforms All

Vote Count: 0

Duplicate ID:	CF-3041804


Here's thee code, should be placed in a file called "test-cfform-ajax.cfm"<cfoutput><html xmlns=""><head></head><body><cflayout type="vbox" name="layout1">    <cflayoutarea>        <h3>This area is not refreshed when the form is submitted.</h3>        <br />    </cflayoutarea>    <cflayoutarea name="cf_layoutarea"><cfif StructKeyExists (Form, "submit")><p>Your form was submitted</p></cfif>        <h3>This form is replaced by the action page</h3>        <cfform name="myform" format="html" action="test-cfform-ajax.cfm">            <cfinput type = "Text" name = "name">              <cfinput type = "submit" name = "submit" value = "Enter name">        </cfform>     </cflayoutarea></cflayout></body></html></cfoutput>

Open the file with the code (above) and try submitting the form. You'll get an error. If you look at the ColdFusion.Ajax.checkForm function,  you'll see that the name of the cflayoutarea is incorrectly output by ColdFusion.

Error replacing HTML, element not found: cf_layoutareacf_layoutareaWhen submitting a cfform into a cflayoutarea, ajax is broken. The name of the cflayoutarea is incorrectly output into ColdFusion.Ajax.checkForm, causing the submission to fail.

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3041886

External Customer Info:
External Company:  
External Customer Name: John Pansewicz
External Customer Email: 355512794BA16BB60A04B82D
External Test Config: 08/13/2010