A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
this week in the
Portals and Portlets
Redirecting to a portlet on clicking a button
Joined: Sep 08, 2011
Dec 27, 2012 00:26:07
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 jsp's button control. Please let me know how this can be done.
subject: Redirecting to a portlet on clicking a button
[solved] struts 2 mapping for .action
Redirecting or Forwarding to another Portlet with Params
ActionResponse.sendRedirect to parent frame outside of iFrame
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014