how to do load partial page on sitemesh?

135 views
Skip to first unread message

Coolzy

unread,
Jun 20, 2011, 8:28:32 AM6/20/11
to SiteMesh 3 Users
i have a JSP decorated with sitemesh. I have menu in the page, may i
know how to use sitemesh to partially render the page when menu item
is click <div id="nav"><a href...</div>. currently then entire page is
reload. any example on this? I only want<div
id="main"><decorator:body /></div>reload.

phamti

unread,
Jun 21, 2011, 5:40:19 PM6/21/11
to sitemes...@googlegroups.com
Hi Coolzy,

As I understand it, what you are asking for is to reload the contents inside of a div without reloading the entire page.

What you are looking for then is not SiteMesh functionality, but Ajax functionality.

http://net.tutsplus.com/tutorials/javascript-ajax/create-a-tabbed-interface-using-jquery/


Regards,
Tin
Reply all
Reply to author
Forward
0 new messages