I've tried use Opera debugger just make sure that JS code with submit form is called. Yes it is. I've created simple web application in Tapestry 5.1.0.5. Just one form, one textfield and one link which fire submit form. It DOESN'T WORK for me in Safari and Opera at all. I post example of my code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd"> <head> <title>WebTest</title> </head> <body> <form t:type="form" t:id="paTableForm"> <input t:type="TextField" id="name" t:value="name"/> Submit </form> ${result} </body> </html> JS file Index.js: function submitForm(){ //try to use more ways how to submit form.... document.paTableForm.submit(); $('paTableForm').submit(); } Java page: @IncludeJavaScriptLibrary("context:js/index.js") public class Index { @Inject private ComponentResources resources; @Property @Persist private String name; @Property @Persist private String result; public Object onSubmitFromPaTableForm(){ return getCurrentPageName(); } private String getCurrentPageName(){ return resources.getPageName(); } @OnEvent(component="handleAction") public Object handleAction(){ System.out.println( name); result = name; return getCurrentPageName(); } } This code works for me on Firefox 3 and IE8. It doesn't work on Safari 4, Opera 9.64. May anybody say what I'm doing wrong? I'm fighting with it for a few days! Started to be frustrated from Tapestry. Libor -- View this message in context: http://old.nabble.com/submit-form-on-Safari-and-Opera-doesn%27t-work-tp28081757p28104646.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