You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by Irbis <sh...@ukr.net> on 2006/08/31 18:56:53 UTC
How can I use redirect in tapestry?
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="form@Form" 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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org