A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Take Control of Upgrading to Yosemite
Take Control of Automating Your Mac
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
ActionResponse.sendRedirect to parent frame outside of iFrame
Redirecting or Forwarding to another Portlet with Params
[solved] struts 2 mapping for .action
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014