<?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: Converting multiple GET/POST variables of same name to arrays</title>
	<atom:link href="http://www.ghidinelli.com/2008/12/01/converting-multiple-getpost-variables-of-same-name-to-arrays/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ghidinelli.com/2008/12/01/converting-multiple-getpost-variables-of-same-name-to-arrays</link>
	<description></description>
	<lastBuildDate>Thu, 01 Jun 2017 18:51:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: brian</title>
		<link>http://www.ghidinelli.com/2008/12/01/converting-multiple-getpost-variables-of-same-name-to-arrays/comment-page-1#comment-52814</link>
		<dc:creator>brian</dc:creator>
		<pubDate>Fri, 12 Dec 2008 16:50:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.ghidinelli.com/?p=378#comment-52814</guid>
		<description>@Brian - cheers for that, formutils is more than I wanted to accomplish in this short exercise but it could be quite valuable otherwise.  This might have saved my javascript guy from having to encode arrays and objects as JSON to send over to the server.  

I&#039;m starting to feel like there is enough open source or shared coldfusion projects and software out there that it&#039;s hard to conclusively search for something before reinventing the wheel.  Rinaldi&#039;s list, RIAForge and others are helping but the growth of the CF community also creates X many more places to look before you leap.</description>
		<content:encoded><![CDATA[<p>@Brian &#8211; cheers for that, formutils is more than I wanted to accomplish in this short exercise but it could be quite valuable otherwise.  This might have saved my javascript guy from having to encode arrays and objects as JSON to send over to the server.  </p>
<p>I&#8217;m starting to feel like there is enough open source or shared coldfusion projects and software out there that it&#8217;s hard to conclusively search for something before reinventing the wheel.  Rinaldi&#8217;s list, RIAForge and others are helping but the growth of the CF community also creates X many more places to look before you leap.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Kotek</title>
		<link>http://www.ghidinelli.com/2008/12/01/converting-multiple-getpost-variables-of-same-name-to-arrays/comment-page-1#comment-52793</link>
		<dc:creator>Brian Kotek</dc:creator>
		<pubDate>Fri, 12 Dec 2008 01:08:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.ghidinelli.com/?p=378#comment-52793</guid>
		<description>I wrote a CFC a while back that converts any arbitrarily nested form fields that use structure or array syntax into actual structures and arrays on the CF side. It goes a lot deeper than just turning the fields into a 1D array, you might have a look at it: http://formutils.riaforge.org/</description>
		<content:encoded><![CDATA[<p>I wrote a CFC a while back that converts any arbitrarily nested form fields that use structure or array syntax into actual structures and arrays on the CF side. It goes a lot deeper than just turning the fields into a 1D array, you might have a look at it: <a href="http://formutils.riaforge.org/" rel="nofollow">http://formutils.riaforge.org/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brian</title>
		<link>http://www.ghidinelli.com/2008/12/01/converting-multiple-getpost-variables-of-same-name-to-arrays/comment-page-1#comment-52606</link>
		<dc:creator>brian</dc:creator>
		<pubDate>Wed, 03 Dec 2008 19:32:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.ghidinelli.com/?p=378#comment-52606</guid>
		<description>@Barney: I knew there must be a way to get to the request object but I didn&#039;t have the patience to track it down and I&#039;m not very familiar with the page context object.  You are the man, that is the best way possible!</description>
		<content:encoded><![CDATA[<p>@Barney: I knew there must be a way to get to the request object but I didn&#8217;t have the patience to track it down and I&#8217;m not very familiar with the page context object.  You are the man, that is the best way possible!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Barney</title>
		<link>http://www.ghidinelli.com/2008/12/01/converting-multiple-getpost-variables-of-same-name-to-arrays/comment-page-1#comment-52605</link>
		<dc:creator>Barney</dc:creator>
		<pubDate>Wed, 03 Dec 2008 17:24:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.ghidinelli.com/?p=378#comment-52605</guid>
		<description>How about just using getPageContext().getRequest().getParameterValues(&quot;id&quot;).  Save you a bunch of manual string parsing.</description>
		<content:encoded><![CDATA[<p>How about just using getPageContext().getRequest().getParameterValues(&#8220;id&#8221;).  Save you a bunch of manual string parsing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brian</title>
		<link>http://www.ghidinelli.com/2008/12/01/converting-multiple-getpost-variables-of-same-name-to-arrays/comment-page-1#comment-52582</link>
		<dc:creator>brian</dc:creator>
		<pubDate>Tue, 02 Dec 2008 17:20:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.ghidinelli.com/?p=378#comment-52582</guid>
		<description>@Stephen - that will work if every variable has a non-empty value AND there are no commas in the values.  ColdFusion will remove blank values when processing lists and I believe (although I haven&#039;t tested) that if one of your values has a comma in it, you would wind up with more array entries than actual variables.

That isn&#039;t a problem if you&#039;re passing discrete integers for example but is an issue if you&#039;re passing free-form text entry which could legitimately contain commas.

I should have pointed this out in my posting - thanks for the comment!</description>
		<content:encoded><![CDATA[<p>@Stephen &#8211; that will work if every variable has a non-empty value AND there are no commas in the values.  ColdFusion will remove blank values when processing lists and I believe (although I haven&#8217;t tested) that if one of your values has a comma in it, you would wind up with more array entries than actual variables.</p>
<p>That isn&#8217;t a problem if you&#8217;re passing discrete integers for example but is an issue if you&#8217;re passing free-form text entry which could legitimately contain commas.</p>
<p>I should have pointed this out in my posting &#8211; thanks for the comment!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen Judd</title>
		<link>http://www.ghidinelli.com/2008/12/01/converting-multiple-getpost-variables-of-same-name-to-arrays/comment-page-1#comment-52579</link>
		<dc:creator>Stephen Judd</dc:creator>
		<pubDate>Tue, 02 Dec 2008 10:45:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.ghidinelli.com/?p=378#comment-52579</guid>
		<description>In my experience, url.id or form.id will end up being a list of the values sent with the request.  Why not just use ListToArray(url.id) or ListToArray(form.id)?  Or am I missing something obvious?</description>
		<content:encoded><![CDATA[<p>In my experience, url.id or form.id will end up being a list of the values sent with the request.  Why not just use ListToArray(url.id) or ListToArray(form.id)?  Or am I missing something obvious?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
