This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
Author

Return ONLY the contnet of a portlet

Bryan Cantwell
Greenhorn

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
 
It is sorta covered in the JavaRanch Style Guide.
 
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