File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Portals and Portlets and the fly likes Return ONLY the contnet of a portlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "Return ONLY the contnet of a portlet" Watch "Return ONLY the contnet of a portlet" New topic

Return ONLY the contnet of a portlet

Bryan Cantwell

Joined: Sep 04, 2008
Posts: 3
I use JBoss portal 2.6.6.

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 ? :
Dharmesh Chheda
Ranch Hand

Joined: May 08, 2001
Posts: 204
Why are you calling the portlet again in a solo mode (an AJAX) to get the content back?.. that usually is not a good practice.

wont a plain AJAX call suffice?..

regards,<br />Dharmesh Chheda
I agree. Here's the link:
subject: Return ONLY the contnet of a portlet
Similar Threads
jQuery AJAX display issue
embeding flex appllication in liferay portlet
"struts_action" param inside renderURL tag for liferay's MVCPortlet
EditAction not called on liferay
Maximize a portlet