Skip to Content
0
Former Member
Sep 18, 2008 at 07:20 AM

Redirecting from an abstract portal component

21 Views

Hi,

I'm trying to redirect from an abstract portal component to a quicklink. I do it like told in this thread:

private void redirectUrl(String target, IPortalComponentRequest request) {
  try {
    HttpServletResponse resp = request.getServletResponse(true);
    resp.sendRedirect("../../../../portal/" + target);
  } catch (IOException e) {}
}

It works, but the content of my target-URL is still in the Portal-Frame. So I've two time the Portal-Framework-Navigation. Something like this:

___________________
| Welcome         |
-------------------
| Welcome         |
-------------------
| content         |
|                 |
|                 |
|                 |
___________________

My goal is to redirect the whole page, not only the frame.

Thanks for any help...

Regards, Markus