<?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 Pagination in less than 5 minutes</title>
	<atom:link href="http://railsontherun.com/2007/09/27/ajax-pagination-in-less-than-5-minutes/feed/" rel="self" type="application/rss+xml" />
	<link>http://railsontherun.com/2007/09/27/ajax-pagination-in-less-than-5-minutes/</link>
	<description>Rails experiments by Matt Aimonetti</description>
	<lastBuildDate>Tue, 23 Feb 2010 22:05:18 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Jacob Radford</title>
		<link>http://railsontherun.com/2007/09/27/ajax-pagination-in-less-than-5-minutes/comment-page-1/#comment-1423</link>
		<dc:creator>Jacob Radford</dc:creator>
		<pubDate>Thu, 27 Sep 2007 03:40:00 +0000</pubDate>
		<guid isPermaLink="false">http://railsontherun.com/2008/02/28/ajax-pagination-in-less-than-5-minutes#comment-1423</guid>
		<description>The partial that is returned has an updated pagination area also, if I read what you wrote correctly.  Does low-pro pick up those links also, so that they will be remote ajax calls?</description>
		<content:encoded><![CDATA[<p>The partial that is returned has an updated pagination area also, if I read what you wrote correctly.  Does low-pro pick up those links also, so that they will be remote ajax calls?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Aimonetti</title>
		<link>http://railsontherun.com/2007/09/27/ajax-pagination-in-less-than-5-minutes/comment-page-1/#comment-1424</link>
		<dc:creator>Matt Aimonetti</dc:creator>
		<pubDate>Thu, 27 Sep 2007 03:40:00 +0000</pubDate>
		<guid isPermaLink="false">http://railsontherun.com/2008/02/28/ajax-pagination-in-less-than-5-minutes#comment-1424</guid>
		<description>@Jacob, my pagination links are only in the partial itself. At the bottom of the partial I&#039;m calling

    &lt;%= will_paginate @photos %&gt;

Lowpro picks up these links too, even after the visitor clicked on a pagination link and reloaded the pictures.</description>
		<content:encoded><![CDATA[<p>@Jacob, my pagination links are only in the partial itself. At the bottom of the partial I&#8217;m calling</p>
<p>    &lt;%= will_paginate @photos %&gt;</p>
<p>Lowpro picks up these links too, even after the visitor clicked on a pagination link and reloaded the pictures.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Felipe Giotto</title>
		<link>http://railsontherun.com/2007/09/27/ajax-pagination-in-less-than-5-minutes/comment-page-1/#comment-1425</link>
		<dc:creator>Felipe Giotto</dc:creator>
		<pubDate>Thu, 27 Sep 2007 03:40:00 +0000</pubDate>
		<guid isPermaLink="false">http://railsontherun.com/2008/02/28/ajax-pagination-in-less-than-5-minutes#comment-1425</guid>
		<description>This is the first Ajax Pagination post I&#039;ve ever seen! Really simple and functional! Congratulations!

Felipe ;-)</description>
		<content:encoded><![CDATA[<p>This is the first Ajax Pagination post I&#8217;ve ever seen! Really simple and functional! Congratulations!</p>
<p>Felipe <img src='http://railsontherun.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Buck</title>
		<link>http://railsontherun.com/2007/09/27/ajax-pagination-in-less-than-5-minutes/comment-page-1/#comment-1426</link>
		<dc:creator>Matt Buck</dc:creator>
		<pubDate>Thu, 27 Sep 2007 03:40:00 +0000</pubDate>
		<guid isPermaLink="false">http://railsontherun.com/2008/02/28/ajax-pagination-in-less-than-5-minutes#comment-1426</guid>
		<description>I just thought I&#039;d point this out, in case anybody runs into an error.  If you are using &lt;code&gt;javascript_include_tags :defaults&lt;/code&gt;, you will actually need to break it out into individual calls to each file.  This is to ensure that you load the files in the proper order:

1. prototype.js
2. lowpro.js
3. remote.js
4. application.js

Loading the javascript files in this order will satisfy the dependencies correctly.

Great post, Matt!</description>
		<content:encoded><![CDATA[<p>I just thought I&#8217;d point this out, in case anybody runs into an error.  If you are using &lt;code&gt;javascript_include_tags :defaults&lt;/code&gt;, you will actually need to break it out into individual calls to each file.  This is to ensure that you load the files in the proper order:</p>
<p>1. prototype.js<br />
2. lowpro.js<br />
3. remote.js<br />
4. application.js</p>
<p>Loading the javascript files in this order will satisfy the dependencies correctly.</p>
<p>Great post, Matt!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lee Enricoso</title>
		<link>http://railsontherun.com/2007/09/27/ajax-pagination-in-less-than-5-minutes/comment-page-1/#comment-1427</link>
		<dc:creator>Lee Enricoso</dc:creator>
		<pubDate>Thu, 27 Sep 2007 03:40:00 +0000</pubDate>
		<guid isPermaLink="false">http://railsontherun.com/2008/02/28/ajax-pagination-in-less-than-5-minutes#comment-1427</guid>
		<description>Encountered a weird problem. May be you guys could point me in the right direction. Tried following the instruction above. Setup the necessary javascript call (using lowpro) in my application.js. I&#039;m pretty sure that when I click the pagination button an AJAX call is being thrown. Traced it using firebug. In the controller where the pagination is being handled the handling of the javascript is not being process. The &quot;format.js do...&quot; block is not being executed. Any chance some of you guys could shed some light on this. Thanks.</description>
		<content:encoded><![CDATA[<p>Encountered a weird problem. May be you guys could point me in the right direction. Tried following the instruction above. Setup the necessary javascript call (using lowpro) in my application.js. I&#8217;m pretty sure that when I click the pagination button an AJAX call is being thrown. Traced it using firebug. In the controller where the pagination is being handled the handling of the javascript is not being process. The &quot;format.js do&#8230;&quot; block is not being executed. Any chance some of you guys could shed some light on this. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Aimonetti</title>
		<link>http://railsontherun.com/2007/09/27/ajax-pagination-in-less-than-5-minutes/comment-page-1/#comment-1428</link>
		<dc:creator>Matt Aimonetti</dc:creator>
		<pubDate>Thu, 27 Sep 2007 03:40:00 +0000</pubDate>
		<guid isPermaLink="false">http://railsontherun.com/2008/02/28/ajax-pagination-in-less-than-5-minutes#comment-1428</guid>
		<description>What&#039;s the Ajax response? Firebug should give you a response. Is it the full html page? make sure your respond_to block works properly. I&#039;m running my apps on rails 2.0 so I can&#039;t guarantee it works with 1.2.4.

-Matt</description>
		<content:encoded><![CDATA[<p>What&#8217;s the Ajax response? Firebug should give you a response. Is it the full html page? make sure your respond_to block works properly. I&#8217;m running my apps on rails 2.0 so I can&#8217;t guarantee it works with 1.2.4.</p>
<p>-Matt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: koloa</title>
		<link>http://railsontherun.com/2007/09/27/ajax-pagination-in-less-than-5-minutes/comment-page-1/#comment-1429</link>
		<dc:creator>koloa</dc:creator>
		<pubDate>Thu, 27 Sep 2007 03:40:00 +0000</pubDate>
		<guid isPermaLink="false">http://railsontherun.com/2008/02/28/ajax-pagination-in-less-than-5-minutes#comment-1429</guid>
		<description>hi.
i was wondering how i can use this in an action that calls a form? paginate will recall that form action.

i have this

def action
    initialize my form data
    render my custom template
    ajax pagination code....
end


i am basically trying to create a blog post form, but also list photos so the user can have the photos addresses handy. id like to be able to paginate these photos on the form page. kind of in a slump.

thanks!</description>
		<content:encoded><![CDATA[<p>hi.<br />
i was wondering how i can use this in an action that calls a form? paginate will recall that form action.</p>
<p>i have this</p>
<p>def action<br />
    initialize my form data<br />
    render my custom template<br />
    ajax pagination code&#8230;.<br />
end</p>
<p>i am basically trying to create a blog post form, but also list photos so the user can have the photos addresses handy. id like to be able to paginate these photos on the form page. kind of in a slump.</p>
<p>thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Aimonetti</title>
		<link>http://railsontherun.com/2007/09/27/ajax-pagination-in-less-than-5-minutes/comment-page-1/#comment-1430</link>
		<dc:creator>Matt Aimonetti</dc:creator>
		<pubDate>Thu, 27 Sep 2007 03:40:00 +0000</pubDate>
		<guid isPermaLink="false">http://railsontherun.com/2008/02/28/ajax-pagination-in-less-than-5-minutes#comment-1430</guid>
		<description>Mislav is working on that. I personally patched the source until Mislav is done, check his progress there: http://err.lighthouseapp.com/projects/466-plugins/tickets?q=tagged%3Awill_paginate

-Matt</description>
		<content:encoded><![CDATA[<p>Mislav is working on that. I personally patched the source until Mislav is done, check his progress there: <a href="http://err.lighthouseapp.com/projects/466-plugins/tickets?q=tagged%3Awill_paginate" rel="nofollow">http://err.lighthouseapp.com/projects/466-plugins/tickets?q=tagged%3Awill_paginate</a></p>
<p>-Matt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert</title>
		<link>http://railsontherun.com/2007/09/27/ajax-pagination-in-less-than-5-minutes/comment-page-1/#comment-1431</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Thu, 27 Sep 2007 03:40:00 +0000</pubDate>
		<guid isPermaLink="false">http://railsontherun.com/2008/02/28/ajax-pagination-in-less-than-5-minutes#comment-1431</guid>
		<description>I&#039;ve tried this with Rails 2.0, and it doesn&#039;t seem to be doing anything. The result still refreshes the page and I&#039;m using the newest versions of all of the libraries.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve tried this with Rails 2.0, and it doesn&#8217;t seem to be doing anything. The result still refreshes the page and I&#8217;m using the newest versions of all of the libraries.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Aimonetti</title>
		<link>http://railsontherun.com/2007/09/27/ajax-pagination-in-less-than-5-minutes/comment-page-1/#comment-1432</link>
		<dc:creator>Matt Aimonetti</dc:creator>
		<pubDate>Thu, 27 Sep 2007 03:40:00 +0000</pubDate>
		<guid isPermaLink="false">http://railsontherun.com/2008/02/28/ajax-pagination-in-less-than-5-minutes#comment-1432</guid>
		<description>Robert, if the whole page is refreshed that means that the remote call didn&#039;t work. Use Firebug to see if an Ajax call is made. If it isn&#039;t that probably means that your Javascript Behavior isn&#039;t set properly or that your js file isn&#039;t loaded properly or that the remote file is missing.

Good luck.

-Matt</description>
		<content:encoded><![CDATA[<p>Robert, if the whole page is refreshed that means that the remote call didn&#8217;t work. Use Firebug to see if an Ajax call is made. If it isn&#8217;t that probably means that your Javascript Behavior isn&#8217;t set properly or that your js file isn&#8217;t loaded properly or that the remote file is missing.</p>
<p>Good luck.</p>
<p>-Matt</p>
]]></content:encoded>
	</item>
</channel>
</rss>
