Hi,
Maybes some one can tell me why the following does not work ?
After you submit the form the redirect is without the page context...
Since I return a "configured page" in the onSubmit event listener
method, I would expect tapestry to send a redirect url with the page
context...
Cheers,
Ron
template:
<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" >
<body>
<t:form>
<t:textfield value="ctx"/>
<t:submit/>
</t:form>
<h1>${ctx}</h1>
</body>
</html>
class :
public class Try {
@Property
private Long ctx;
public void onActivate( Long c ) {
this.ctx = c;
}
public Long onPassicate() {
return this.ctx;
}
@OnEvent("submit")
public Object onSubmit() {
return this;
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]