on 09-18-2008 8:20 AM
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
I got a solution for my problem:
resp.sendRedirect("../../../../portal/" + target + "&NavMode=3");
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Perhaps I can do it with
public void doOnNodeReady(IPortalComponentRequest request){
request.redirect("http://www.google.de");
}
But like in this Tread, it didn't work
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.