Register.tml: let a user register a value Verify.tml: let a user verify a input
Register.tml --------------------------------------- <form t:type="Form" t:id="form"> <input t:type="TextField" t:value="someValue" /> <input type="submit" /> </form> --------------------------------------- Register.java --------------------------------------- public class Register{ @Property private String someValue; @InjectPage private Verify verifyPage; public Object onSuccessFromForm() verifyPage.setSomeValue( someValue ); return verifyPage; } } Verify.tml ------------------------------------- <form t:type="Form" t:id="form"> <input t:type="TextField" t:value="someValue" /> <input type="submit" /> </form> ------------------------------------- Verify.java ------------------------------------- public class Verify{ @Persist( "session" ) <== I don't want to store this into the session. private String someValue; public String getSomeValue(){ return someValue; } public void setSomeValue( String someValue ){ this.someValue = someValue; } public Object onSuccessFromForm(){ ... } } ------------------------------------- Is there any way to submit "someValue" in Verify.tml without using @Persist( "session" )? And why don't T5 support t:type="Hidden"? Thanks, Osamuo -- View this message in context: http://www.nabble.com/Do-I-have-to-%40persist%28-%22session%22-%29-input-values-in-verify-page--tp16066687p16066687.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]