This is my tml page. <form t:type="form"> <p class="buttonBlue"><input t:type="submit" t:value="feedback" t:id="data"/></p> <input t:type="TextArea" t:value="feedback" t:validate="required" style="width: 270px; height: 100px;" /> ${submitData} </form>
My java page @Persist private String returnData ; void onSelectedFromData() { if(feedback.length()!=0) { System.out.println("successfully submitted"); returnData = "successfully submitted"; }else { returnData = "Submitted Failure"; } } public String getSubmitData() { return returnData; } -- View this message in context: http://tapestry.1045711.n5.nabble.com/how-to-clear-the-textarea-after-submit-tp5714847p5714852.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org