[jboss-user] [JBoss Portal] - Render ONLY portlet content
bryancan
do-not-reply at jboss.com
Tue Sep 9 17:35:24 EDT 2008
I have an ajax portlet in struts. It works on other portals that have a windowState of exclusive or solo. Jboss does not seem to have such a state and since my portlet will be deployed on many different JBoss portals, I do not have the luxury of customizing each one with this windowState customization.
How can I have the following code return ONLY the result of this detail.jsp (the target of this url), so that it may be inserted into the div referenced ? :
| function refreshMe<portlet:namespace/>() {
| jQuery('body').css({cursor: "wait"});
| var url = "<portlet:renderURL><portlet:param name="_spage" value="detail" /></portlet:renderURL>";
| jQuery('div#<portlet:namespace/>targetDiv').load(url,{},
| function()
| {
| jQuery('body').css({cursor: "auto"})
| }
| );
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175425#4175425
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175425
More information about the jboss-user
mailing list