D'oh, yes CFFORMITEM tags. 

---nimer


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 18, 2005 3:44 PM
To: CF-Talk
Subject: RE: Flash cfform and recompilation

Awesome... Thanks for the response...

Just to be clear... These are cfformitem tags, not cfforminput as quoted
below.

Thanks,
Jonathan 

-----Original Message-----
From: Mike Nimer [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 18, 2005 3:38 PM
To: CF-Talk
Subject: RE: Flash cfform and recompilation

That would be ok. The data between the <cfforminput></cfforminput> tags
is considered the value of the field so it does not force a recompile.

Hth,
---nimer


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, July 18, 2005 10:13 AM
To: CF-Talk
Subject: Flash cfform and recompilation

In the ColdFusion documentation under "Best practices for Flash forms"
it says:

"Only data should be dynamic. Whenever a variable name changes, or a
form characteristic, such as an element width or a label changes, the
Flash output must be recompiled. If a data value changes, the output
does not need to be recompiled."

Does anyone know if the content between a <cfformitem type="text"> tag
is considered data or a form characteristic?

Basically I'm trying to figure out if a custom error message from the
server can be inside the flash form, or if I should output it in the
html outside the form.

My actual code is this:
<cfformitem type="text" style="font-family:Verdana, Arial, Helvetica,
sans-serif; font-size:10px;
color:##FF0000;">#variables.errormessage#</cfformitem>

Normally variables.errormessage is empty, but would be populated if the
user's login credentials were incorrect or the account was inactive.

Thanks,
Jonathan
------------------------------
 Jonathan Mauney
 Web Application Developer

 1110 WBT AM
 107.9 the LINK [WLNK]
 PersonalityAC(r) Radio Network
 Jefferson-Pilot Communications Co.
------------------------------









~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212152
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to