Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to close the child portlet

 
Padma priya Gururajan
Ranch Hand
Posts: 437
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a parent portlet and a child portlet. On the click of the CANCEL button in the parent portlet, the child portlet should get closed.
I have given the code for checking whether the child portlet is open. How will I code to close the child portlet? Previously, I have done checking using the below code.
if(bean.isChildPortletOpen()==true)
{
???
}


How will I code to close the child portlet?
Thanks.
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could you clarify what you mean by a child portlet? Like a second portlet extends the first? Or is the second portlet on a sub-node or something?

SOunds like you might be trying to get a portal app to run like a regular JSP/Servlet application. Portlet require a different mode of thinking.

-Cameron McKenzie
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic