How can I use redirect to google.com inside my form in portlet, using
"submit" or another component?
I try this:
View.html
<form jwcid="[EMAIL PROTECTED]" listener="listener:doAction">
<input type="submit" value="send"/>
</form>
View.java
public abstract class View extends BasePage{
@InjectObject("service:tapestry.portlet.ActionResponse")
public abstract javax.portlet.ActionResponse getActionResponse();
public void doAction() throws PortletModeException, IOException {
getActionResponse().sendRedirect("http://www.google.com");
}
}
but it is not work!!!
Help me please!!!
--
View this message in context:
http://www.nabble.com/How-can-I-use-redirect-in-tapestry--tf2197989.html#a6083595
Sent from the Tapestry - Dev forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]