I am pretty sure every page is reloaded every time is because their is no
guaranty that every single person who uses the framework will use a div
id="page" etc... or the same layout for that matter.

If you want to refresh only the <div id="page"> then you would have to
write your application in a way so it does that. IE: Intercept page clicks
with javascript, and make sure your view contains only the HTML you want to
render inside <div id="page"> don't include the layout template etc.. Then
use jquery to update the html of the <div id="page"> with the new content.

--
Regards,
Bruce

On Sat, Jan 28, 2012 at 12:15 PM, Vineet <[email protected]> wrote:

> I have an observation.
> When we jump from one view to another, the entire page gets reloaded.
> Whereas, it should be sufficient to reload just <div id='page'> via
> ajax.
>
> Any particular reason as to why the entire page is reloaded every
> time?
>
> For my purpose, on every request, how do I load only <div id='page'>
> via ajax?




-- 
-- 
Regards,
Bruce Wade
http://ca.linkedin.com/in/brucelwade
http://www.wadecybertech.com
http://www.warplydesigned.com
http://www.fitnessfriendsfinder.com

Reply via email to