<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Getting meaningful data from dynamically generated fields in ColdFusion Flash Forms</title>
	<atom:link href="http://probertson.com/articles/2005/08/10/getting_data_back/feed/" rel="self" type="application/rss+xml" />
	<link>http://probertson.com/articles/2005/08/10/getting_data_back/</link>
	<description>Thoughts on web development, user-centered design, code, etc. by Paul Robertson</description>
	<lastBuildDate>Thu, 02 Sep 2010 11:54:47 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Kristin</title>
		<link>http://probertson.com/articles/2005/08/10/getting_data_back/comment-page-1/#comment-2079</link>
		<dc:creator>Kristin</dc:creator>
		<pubDate>Tue, 15 Aug 2006 17:20:14 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/articles/2005/08/10/getting_data_back/#comment-2079</guid>
		<description>When using a repeater for checkboxes, it wasn&#039;t too difficult to do a cfloop in the submission page to only insert the ones that have been checked.  But what about doing my own validation in my own actionscript function before the form is submitted?  Is there a way to see if at least one of the checkboxes has been checked, before the form has been submitted?  I&#039;ve tried looping through, but I&#039;m not sure if all the checkboxes are created yet for the function to see. (btw, it was awesome of you to figure out this repeater in the first place, and post it for people like me to learn from :)</description>
		<content:encoded><![CDATA[<p>When using a repeater for checkboxes, it wasn&#8217;t too difficult to do a cfloop in the submission page to only insert the ones that have been checked.  But what about doing my own validation in my own actionscript function before the form is submitted?  Is there a way to see if at least one of the checkboxes has been checked, before the form has been submitted?  I&#8217;ve tried looping through, but I&#8217;m not sure if all the checkboxes are created yet for the function to see. (btw, it was awesome of you to figure out this repeater in the first place, and post it for people like me to learn from :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh</title>
		<link>http://probertson.com/articles/2005/08/10/getting_data_back/comment-page-1/#comment-381</link>
		<dc:creator>Josh</dc:creator>
		<pubDate>Thu, 23 Mar 2006 01:32:41 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/articles/2005/08/10/getting_data_back/#comment-381</guid>
		<description>Grant:

Most likely you are passing a complex object type such as an array or a structure.... then your trying to pass it into some simple type like a string or a number....  make sure you convert your array to a string if thats what you are doing.  I would look at your CF code.  Sounds like thats the issue.</description>
		<content:encoded><![CDATA[<p>Grant:</p>
<p>Most likely you are passing a complex object type such as an array or a structure&#8230;. then your trying to pass it into some simple type like a string or a number&#8230;.  make sure you convert your array to a string if thats what you are doing.  I would look at your CF code.  Sounds like thats the issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Grant</title>
		<link>http://probertson.com/articles/2005/08/10/getting_data_back/comment-page-1/#comment-357</link>
		<dc:creator>Grant</dc:creator>
		<pubDate>Sat, 04 Feb 2006 13:39:05 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/articles/2005/08/10/getting_data_back/#comment-357</guid>
		<description>
Thank you for the very helpful articles.  I have one problem though:
When I do a cfdump the data looks fine, but when I try to insert it into a database with this code: 


  INSERT INTO testcheck (value)
  VALUES (&#039;#form#&#039;)
 
I get this error message: “Complex object types cannot be converted to simple values.”

What can I do to fix this?</description>
		<content:encoded><![CDATA[<p>Thank you for the very helpful articles.  I have one problem though:<br />
When I do a cfdump the data looks fine, but when I try to insert it into a database with this code: </p>
<p>  INSERT INTO testcheck (value)<br />
  VALUES (&#8216;#form#&#8217;)</p>
<p>I get this error message: “Complex object types cannot be converted to simple values.”</p>
<p>What can I do to fix this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: OneFineNight</title>
		<link>http://probertson.com/articles/2005/08/10/getting_data_back/comment-page-1/#comment-341</link>
		<dc:creator>OneFineNight</dc:creator>
		<pubDate>Thu, 12 Jan 2006 17:10:50 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/articles/2005/08/10/getting_data_back/#comment-341</guid>
		<description>How can I dynamically change the data results of the repeater?

i.e. the page load with today data as the default, but the users select yesterday view of the data.</description>
		<content:encoded><![CDATA[<p>How can I dynamically change the data results of the repeater?</p>
<p>i.e. the page load with today data as the default, but the users select yesterday view of the data.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Sewell</title>
		<link>http://probertson.com/articles/2005/08/10/getting_data_back/comment-page-1/#comment-99</link>
		<dc:creator>Michael Sewell</dc:creator>
		<pubDate>Fri, 12 Aug 2005 16:03:30 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/articles/2005/08/10/getting_data_back/#comment-99</guid>
		<description>I sent the question to Nimer, this is the response:

&lt;em&gt;As long as the generated mxml doesn&#039;t change, by even one character, the form is the same - regardless of how it&#039;s generated.&lt;/em&gt;</description>
		<content:encoded><![CDATA[<p>I sent the question to Nimer, this is the response:</p>
<p><em>As long as the generated mxml doesn&#8217;t change, by even one character, the form is the same - regardless of how it&#8217;s generated.</em></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Robertson</title>
		<link>http://probertson.com/articles/2005/08/10/getting_data_back/comment-page-1/#comment-98</link>
		<dc:creator>Paul Robertson</dc:creator>
		<pubDate>Thu, 11 Aug 2005 21:56:29 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/articles/2005/08/10/getting_data_back/#comment-98</guid>
		<description>Felipe-
You are absolutely right that ColdFusion is compiling MXML code, because ColdFusion MX 7 has Flex built into it.

I don&#039;t know all the details, of course, but both are written in Java, so I imagine that the Flex compiler is simply included as part of ColdFusion (maybe as a standalone file like with Flex, or maybe compiled into one of the ColdFusion files).

So theoretically, assuming the flex compiler actually ships with CF as a separate file, you could use it to build Flex SWFs. Definitely goes against the license, I would imagine...

More info on command-line Flex from:
- &lt;a href=&quot;http://www.powersdk.com/ted/2005/01/flex-on-command-line.php&quot; rel=&quot;nofollow&quot;&gt;Ted Patrick&lt;/a&gt;
- &lt;a href=&quot;http://livedocs.macromedia.com/flex/15/flex_docs_en/00000860.htm&quot; rel=&quot;nofollow&quot;&gt;Macromedia LiveDocs&lt;/a&gt;
- &lt;a href=&quot;http://www.darronschall.com/weblog/archives/000165.cfm&quot; rel=&quot;nofollow&quot;&gt;Darron Schall&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Felipe-<br />
You are absolutely right that ColdFusion is compiling MXML code, because ColdFusion MX 7 has Flex built into it.</p>
<p>I don&#8217;t know all the details, of course, but both are written in Java, so I imagine that the Flex compiler is simply included as part of ColdFusion (maybe as a standalone file like with Flex, or maybe compiled into one of the ColdFusion files).</p>
<p>So theoretically, assuming the flex compiler actually ships with CF as a separate file, you could use it to build Flex SWFs. Definitely goes against the license, I would imagine&#8230;</p>
<p>More info on command-line Flex from:<br />
- <a href="http://www.powersdk.com/ted/2005/01/flex-on-command-line.php" rel="nofollow">Ted Patrick</a><br />
- <a href="http://livedocs.macromedia.com/flex/15/flex_docs_en/00000860.htm" rel="nofollow">Macromedia LiveDocs</a><br />
- <a href="http://www.darronschall.com/weblog/archives/000165.cfm" rel="nofollow">Darron Schall</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: felipe</title>
		<link>http://probertson.com/articles/2005/08/10/getting_data_back/comment-page-1/#comment-97</link>
		<dc:creator>felipe</dc:creator>
		<pubDate>Thu, 11 Aug 2005 20:02:45 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/articles/2005/08/10/getting_data_back/#comment-97</guid>
		<description>I may be saying bull____, but if coldfusion is able to compile a mxml code there may be some way to use it to create flex applications, without the flex server. Am I too far from reality?

&lt;small&gt;Edited slightly for language - PR&lt;/small&gt;</description>
		<content:encoded><![CDATA[<p>I may be saying bull____, but if coldfusion is able to compile a mxml code there may be some way to use it to create flex applications, without the flex server. Am I too far from reality?</p>
<p><small>Edited slightly for language - PR</small></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Robertson</title>
		<link>http://probertson.com/articles/2005/08/10/getting_data_back/comment-page-1/#comment-96</link>
		<dc:creator>Paul Robertson</dc:creator>
		<pubDate>Thu, 11 Aug 2005 15:50:45 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/articles/2005/08/10/getting_data_back/#comment-96</guid>
		<description>I honestly don&#039;t know for sure about that. I am certain that when the data returned by the query changes, CF will rebuild the form. If one person requests the page and it builds the form, then another person requests the page (and the data hasn&#039;t changed in the mean time) does it rebuild the form/recompile the SWF again?  I really don&#039;t know.

I guess it depends on whether/how CF is managing the caching. I suppose it&#039;s possible that it compares the post-cfloop output (i.e. the stuff that gets turned into MXML, or else the actual MXML) and only recompiles if one of those has changed. Now that I think about it, it is probably likely that it only recompiles if the generated MXML has changed, since that&#039;s how Flex works. But again, I can&#039;t say for certain. If you know for sure then I would be interested to hear it.</description>
		<content:encoded><![CDATA[<p>I honestly don&#8217;t know for sure about that. I am certain that when the data returned by the query changes, CF will rebuild the form. If one person requests the page and it builds the form, then another person requests the page (and the data hasn&#8217;t changed in the mean time) does it rebuild the form/recompile the SWF again?  I really don&#8217;t know.</p>
<p>I guess it depends on whether/how CF is managing the caching. I suppose it&#8217;s possible that it compares the post-cfloop output (i.e. the stuff that gets turned into MXML, or else the actual MXML) and only recompiles if one of those has changed. Now that I think about it, it is probably likely that it only recompiles if the generated MXML has changed, since that&#8217;s how Flex works. But again, I can&#8217;t say for certain. If you know for sure then I would be interested to hear it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Sewell</title>
		<link>http://probertson.com/articles/2005/08/10/getting_data_back/comment-page-1/#comment-95</link>
		<dc:creator>Michael Sewell</dc:creator>
		<pubDate>Thu, 11 Aug 2005 15:33:58 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/articles/2005/08/10/getting_data_back/#comment-95</guid>
		<description>Great article(s), since I ran into this &lt;em&gt;exact&lt;/em&gt; issue last night. I want to be sure I am clear on one thing.  As long as the underlying query data does not change, building a form using cfloop would &lt;b&gt;NOT&lt;/b&gt; require the form to be rebuilt on the server.  So the server can send the cached version without rebuilding.</description>
		<content:encoded><![CDATA[<p>Great article(s), since I ran into this <em>exact</em> issue last night. I want to be sure I am clear on one thing.  As long as the underlying query data does not change, building a form using cfloop would <b>NOT</b> require the form to be rebuilt on the server.  So the server can send the cached version without rebuilding.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
