Hi Everyone: I'm a new Tapestry user. I'm interesting in developing Web Program with Tapestry Framwork.But I have some problem in my project. This question is the Form Submit Event can't be invoked When I click "Export File" Button in my Page.
My Program looks like this: SearchGoodsInfo.tml This tml file hava tow Forms. <t:Form id="queryForm"> <input type="submit" t:type="submit" t:Id="Btn_Search" t:value="Find" class="button_bg"/> </t:Form> <t:Form t:id="DownloadFile"> <input type="submit" t:type="submit" t:Id = "Btn_Down" t:value="Export File" class="button_bg"/> </t:Form> SearchGoodsInfo.java The Event handler in java file like this: StreamResponse onSubmitFormDownloadFile() { ........ StreamResponse responseDown = new XlsFileAttachmet(insFile); return responseDown; } The Extension .java file only have a form submit Event with "Export File" Button.I use below code to handle another button. That is working finely. @OnEvent(value="selected",component = "Btn_Submit") public void onSearch() { ......... } But the onSubmitFormDownloadFile method can not work!How can I catch the "DownloadFile" form submit event. -- View this message in context: http://www.nabble.com/The-Form-Submit-can%27t-Work%21-tp20765310p20765310.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]