I have a requirement in which I have two jspdynpage component
clickling a button on first component A opens a new window through a java script .
this window in turn hold a new portal jspdynpage comonent B. The jsp of this component B has a button on clicking which I want componenet A to get refreshed.?? How can i achieve this
One way is epcm.donavigate, but it seems to open the iview of componenet A in a new browser window.
and that is what I dont want . I want my Iview to get refreshed on the same window
else I was trying if Request Dispatcher would solve the issue .
Here is the code, but it seems to hang , I see a blabk screen on the window which hold component B when I invoke the functiion below??? pls advise
PortalComponentRequest res = (IPortalComponentRequest)this.getRequest();
IPortalComponentResponse res1 = (IPortalComponentResponse)this.getResponse();
RequestDispatcher rd =res.getServletRequest().getRequestDispatcher("/irj/servlet/prt/portal/prtroot/testepcf.test1");
try {
rd.forward(res.getServletRequest(), res.getServletResponse(false));