<?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: AJAX Select box in CakePHP</title>
	<atom:link href="http://www.endyourif.com/ajax-select-box-in-cakephp/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.endyourif.com/ajax-select-box-in-cakephp/</link>
	<description>Helping you solve those tough coding problems!</description>
	<lastBuildDate>Sat, 31 Jul 2010 16:08:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Issam</title>
		<link>http://www.endyourif.com/ajax-select-box-in-cakephp/comment-page-1/#comment-942</link>
		<dc:creator>Issam</dc:creator>
		<pubDate>Fri, 29 Jan 2010 15:47:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.endyourif.com/?p=185#comment-942</guid>
		<description>Hi, 
thank you very much for this tutorial
By the way, it would be better if you can repost it again, but this time, destiny to cakephp&#039;s beginer like me ^_^

i realy need to understand how it works
Thank you
NB : sorry for my english speaking, i&#039;am not a good english writer ^_^</description>
		<content:encoded><![CDATA[<p><code>Hi,<br />thank you very much for this tutorial<br />By the way, it would be better if you can repost it again, but this time, destiny to cakephp&#8217;s beginer like me ^_^</p><p>i realy need to understand how it works<br />Thank you<br />NB : sorry for my english speaking, i&#8217;am not a good english writer ^_^</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Babila Saronni</title>
		<link>http://www.endyourif.com/ajax-select-box-in-cakephp/comment-page-1/#comment-859</link>
		<dc:creator>Babila Saronni</dc:creator>
		<pubDate>Thu, 03 Dec 2009 09:17:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.endyourif.com/?p=185#comment-859</guid>
		<description>Thanks a lot.

I have improve performance of my CakePHP Intranet, instead of loading from MySQL DB all the 8000 cities, my user select only one hundred zones runtime, and then, by the handler request, software loads only the interesting cities.
It was very important because all my system work under a SaaS logic.
A good service.

Babila Saronni</description>
		<content:encoded><![CDATA[<p><code>Thanks a lot.</p><p>I have improve performance of my CakePHP Intranet, instead of loading from MySQL DB all the 8000 cities, my user select only one hundred zones runtime, and then, by the handler request, software loads only the interesting cities.<br />It was very important because all my system work under a SaaS logic.<br />A good service.</p><p>Babila Saronni</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vanganhxinh</title>
		<link>http://www.endyourif.com/ajax-select-box-in-cakephp/comment-page-1/#comment-763</link>
		<dc:creator>vanganhxinh</dc:creator>
		<pubDate>Mon, 05 Oct 2009 10:05:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.endyourif.com/?p=185#comment-763</guid>
		<description>thank you very much for this tutorial. :) You saved my time a lot.

By the way, it would be better when all the variables could be explained in more details.</description>
		<content:encoded><![CDATA[<p><code>thank you very much for this tutorial. <img src='http://www.endyourif.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  You saved my time a lot.</p><p>By the way, it would be better when all the variables could be explained in more details.</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jamie</title>
		<link>http://www.endyourif.com/ajax-select-box-in-cakephp/comment-page-1/#comment-647</link>
		<dc:creator>Jamie</dc:creator>
		<pubDate>Fri, 26 Jun 2009 20:57:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.endyourif.com/?p=185#comment-647</guid>
		<description>It should be in the $this-&gt;data array.  If it&#039;s not it would be in the standard $_POST array.</description>
		<content:encoded><![CDATA[<p><code>It should be in the $this-&gt;data array.  If it&#8217;s not it would be in the standard $_POST array.</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scholtzz</title>
		<link>http://www.endyourif.com/ajax-select-box-in-cakephp/comment-page-1/#comment-645</link>
		<dc:creator>Scholtzz</dc:creator>
		<pubDate>Fri, 26 Jun 2009 13:50:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.endyourif.com/?p=185#comment-645</guid>
		<description>Hi Jamie

How do I retrieve the selected value of the select box in my controller? 

Thnx..!</description>
		<content:encoded><![CDATA[<p><code>Hi Jamie</p><p>How do I retrieve the selected value of the select box in my controller? </p><p>Thnx..!</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jamie</title>
		<link>http://www.endyourif.com/ajax-select-box-in-cakephp/comment-page-1/#comment-608</link>
		<dc:creator>Jamie</dc:creator>
		<pubDate>Wed, 15 Apr 2009 20:20:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.endyourif.com/?p=185#comment-608</guid>
		<description>My update_select function does a find() to retrieve a list of items and then in my view I simply output them as follows:
&lt;?php 
echo &quot;-- Select --\n&quot;;
foreach($items as $k =&gt; $v) {
	echo &quot;$v\n&quot;;
}
?&gt;

I&#039;m not sure if this is the best approach for the view as I wrote this quite a while ago.

I suppose the &quot;better&quot; approach would be to return JSON and have Javascript code that parses the JSON and creates option elements, but my example above seemed to work in the various browsers I tested.</description>
		<content:encoded><![CDATA[<p><code>My update_select function does a find() to retrieve a list of items and then in my view I simply output them as follows:<br />&lt;?php<br />echo &#8220;&#8211; Select &#8211;\n&#8221;;<br />foreach($items as $k =&gt; $v) {<br />	echo &#8220;$v\n&#8221;;<br />}<br />?&gt;</p><p>I&#8217;m not sure if this is the best approach for the view as I wrote this quite a while ago.</p><p>I suppose the &#8220;better&#8221; approach would be to return JSON and have Javascript code that parses the JSON and creates option elements, but my example above seemed to work in the various browsers I tested.</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pat</title>
		<link>http://www.endyourif.com/ajax-select-box-in-cakephp/comment-page-1/#comment-607</link>
		<dc:creator>Pat</dc:creator>
		<pubDate>Wed, 15 Apr 2009 18:03:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.endyourif.com/?p=185#comment-607</guid>
		<description>I&#039;ve got the Ajax call pulling up the &quot;update_select&quot; view content, with some static placeholder data.  However, it&#039;s not showing the iterated array data for the options.  I&#039;ve either messed up the calls in my update_select() function, or the Ajax call isn&#039;t invoking the function at all.  

Would it be possible for you to post an example of your update_select() function; which pulls the constrained list of articles and sends it to the update_select view?  Any help with this would be greatly appreciated.  Thanks in advance!</description>
		<content:encoded><![CDATA[<p><code>I&#8217;ve got the Ajax call pulling up the &#8220;update_select&#8221; view content, with some static placeholder data.  However, it&#8217;s not showing the iterated array data for the options.  I&#8217;ve either messed up the calls in my update_select() function, or the Ajax call isn&#8217;t invoking the function at all.  </p><p>Would it be possible for you to post an example of your update_select() function; which pulls the constrained list of articles and sends it to the update_select view?  Any help with this would be greatly appreciated.  Thanks in advance!</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jamie</title>
		<link>http://www.endyourif.com/ajax-select-box-in-cakephp/comment-page-1/#comment-593</link>
		<dc:creator>Jamie</dc:creator>
		<pubDate>Thu, 09 Apr 2009 19:03:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.endyourif.com/?p=185#comment-593</guid>
		<description>I got it to populate the fields uing the select but how do I get to insert the selected data in the database? Can anyone help?</description>
		<content:encoded><![CDATA[<p><code>I got it to populate the fields uing the select but how do I get to insert the selected data in the database? Can anyone help?</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: XRumerMonstroZ</title>
		<link>http://www.endyourif.com/ajax-select-box-in-cakephp/comment-page-1/#comment-38</link>
		<dc:creator>XRumerMonstroZ</dc:creator>
		<pubDate>Fri, 13 Mar 2009 14:36:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.endyourif.com/?p=185#comment-38</guid>
		<description>Hi!
Gimme any url for downloading  XRumer 5.0 Palladium FREE!
Thank you...
Very-very much.
I&#039;m so need this program for promote my online projects! This software is the best thing for online promo and mass posting, you know... 

And, dont send me XRumer 2.9 and XRumer 3.0 - that versions are too old!

P.S. Google cant help me((((</description>
		<content:encoded><![CDATA[<p><code>Hi!<br />Gimme any url for downloading  XRumer 5.0 Palladium FREE!<br />Thank you&#8230;<br />Very-very much.<br />I&#8217;m so need this program for promote my online projects! This software is the best thing for online promo and mass posting, you know&#8230; </p><p>And, dont send me XRumer 2.9 and XRumer 3.0 &#8211; that versions are too old!</p><p>P.S. Google cant help me((((</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ajmacaro</title>
		<link>http://www.endyourif.com/ajax-select-box-in-cakephp/comment-page-1/#comment-23</link>
		<dc:creator>ajmacaro</dc:creator>
		<pubDate>Mon, 09 Mar 2009 01:43:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.endyourif.com/?p=185#comment-23</guid>
		<description>yes, thank you very much. i hope more post about this ajax stuff in cakephp. :)</description>
		<content:encoded><![CDATA[<p><code>yes, thank you very much. i hope more post about this ajax stuff in cakephp. <img src='http://www.endyourif.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jamie</title>
		<link>http://www.endyourif.com/ajax-select-box-in-cakephp/comment-page-1/#comment-20</link>
		<dc:creator>Jamie</dc:creator>
		<pubDate>Sat, 07 Mar 2009 15:02:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.endyourif.com/?p=185#comment-20</guid>
		<description>Hey ajmacaro, no problem.  It should be setup as follows:

in app/controllers/users_controller.php you should have two functions add() and update_select().

you should then create two views in app/views/users, add.ctp and update_select.ctp.  Add.ctp should contain the first snippet to create the two select boxes and then update_select.ctp should contain the second snippet, that loops through the carriers and writes out the select box options.

hopefully that&#039;s more clear.</description>
		<content:encoded><![CDATA[<p><code>Hey ajmacaro, no problem.  It should be setup as follows:</p><p>in app/controllers/users_controller.php you should have two functions add() and update_select().</p><p>you should then create two views in app/views/users, add.ctp and update_select.ctp.  Add.ctp should contain the first snippet to create the two select boxes and then update_select.ctp should contain the second snippet, that loops through the carriers and writes out the select box options.</p><p>hopefully that&#8217;s more clear.</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ajmacaro</title>
		<link>http://www.endyourif.com/ajax-select-box-in-cakephp/comment-page-1/#comment-18</link>
		<dc:creator>ajmacaro</dc:creator>
		<pubDate>Sat, 07 Mar 2009 06:16:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.endyourif.com/?p=185#comment-18</guid>
		<description>well, this is pretty nice. but really, can you provide
a complete and working example on this?

in what  should &quot;update_select.ctp&quot; located?</description>
		<content:encoded><![CDATA[<p><code>well, this is pretty nice. but really, can you provide<br />a complete and working example on this?</p><p>in what  should &#8220;update_select.ctp&#8221; located?</code></p>
]]></content:encoded>
	</item>
</channel>
</rss>
