Register / Login
File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of
Clojure in Action
this week in the
Portals and Portlets
Redirecting to a portlet on clicking a button
posted 3 years ago
I want to redirect from one portlet to another. I know we can redirect in handlePostbackData method in portlet's backing file (on click of submit button for e.g)
But is there a way to redirect in forms action tag or onClick of a button? I tried this below technique but its not successful.
<form method="post" name="test" action="<render:windowUrl windowLabel='bPortlet' />">
Preferrably I want to create a URL as follows,
WindowURL url = WindowURL.createWindowURL(request, response, "/bPortlet");
And based on this url, I want to redirect in
's button control. Please let me know how this can be done.
I agree. Here's the link:
ActionResponse.sendRedirect to parent frame outside of iFrame
Redirecting or Forwarding to another Portlet with Params
[solved] struts 2 mapping for .action