Re: submit form on Safari and Opera doesn't work

2010-04-06 Thread LiborGMC
You're complicating your implementation beyond needed. What you're trying is to do two requests in sequence: one to submit the form, other to handle an event. This is very error-prone, as it relies on the ordering of the arrival of the. Just use a LinkSubmit: the form will be submitted and

Re: submit form on Safari and Opera doesn't work

2010-04-02 Thread Thiago H. de Paula Figueiredo
On Fri, 02 Apr 2010 02:02:00 -0300, LiborGMC wrote: What I'm trying to do is create actionLink (which call handleAction in Java). But before I handle this action I need some data on server. That is way I call submit form before event is propagated to server. You're complicating your impleme

Re: submit form on Safari and Opera doesn't work

2010-04-01 Thread LiborGMC
Link has been removed again. So another attempt: Submit -- View this message in context: http://old.nabble.com/submit-form-on-Safari-and-Opera-doesn%27t-work-tp28081757p28116039.html Sent from the Tapestry - User mailing list

Re: submit form on Safari and Opera doesn't work

2010-04-01 Thread LiborGMC
Link has been removed again. So another attempt: Submit -- View this message in context: http://old.nabble.com/submit-form-on-Safari-and-Opera-doesn%27t-work-tp28081757p28116037.html Sent from the Tapestry - User mailing list

Re: submit form on Safari and Opera doesn't work

2010-04-01 Thread LiborGMC
Hi, thanks for the reply. I've put code of "tml" file correctly but it has been adjusted somehow. Here is the code of link again: Submit What I'm trying to do is create actionLink (which call handleAction in Java). But before I handle this action I need some data on server. That is way I call su

Re: submit form on Safari and Opera doesn't work

2010-04-01 Thread Howard Lewis Ship
Earlier versions of T5 had a subtle bug. If you used a t:submit component without an explicit component id (no t:id attribute), it would be assigned the default id "submit". On the client side, form.submit (normally a JavaScript function) would be replaced with a reference to the submit element.

Re: submit form on Safari and Opera doesn't work

2010-04-01 Thread Thiago H. de Paula Figueiredo
On Thu, 01 Apr 2010 02:25:48 -0300, LiborGMC wrote: I've tried use Opera debugger just make sure that JS code with submit form is called. Yes it is. I've tested your code in Opera 10.10 in Linux and it worked perfectly. I just added a link to submit the: onclick="document.getElementById(

Re: submit form on Safari and Opera doesn't work

2010-04-01 Thread Thiago H. de Paula Figueiredo
On Thu, 01 Apr 2010 02:25:48 -0300, LiborGMC wrote: This code works for me on Firefox 3 and IE8. It doesn't work on Safari 4, Opera 9.64. Why Opera 9.64? The latest version is 10.52 in Windows, 10.1 in other operating systems. I'm an Opera fan, use it all the time, including e-mail throgh

Re: submit form on Safari and Opera doesn't work

2010-03-31 Thread LiborGMC
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:

Re: submit form on Safari and Opera doesn't work

2010-03-30 Thread Michael Gentry
That's also what I'm using. Have you tried using the JS debugger in Safari? If you have Firebug installed in Firefox, I'd try that one, too. mrg On Tue, Mar 30, 2010 at 8:51 AM, LiborGMC wrote: > > Thanks for the reply. I've tried your suggestions but it didn't helps me. I'm > using Tapestry

Re: submit form on Safari and Opera doesn't work

2010-03-30 Thread LiborGMC
Thanks for the reply. I've tried your suggestions but it didn't helps me. I'm using Tapestry 5.1.0.5 with prototype.js 1.6.1. What version do you use? Libor I submit a form via JavaScript and it works in Safari, IE, and Firefox. For me, I use: $('myFormID').submit(); mrg -- View this mes

Re: submit form on Safari and Opera doesn't work

2010-03-30 Thread Michael Gentry
Oh, one more thing ... mine is being done when responding to a click on a hyperlink. I also had to kill the event (the hyperlink click): Event.stop(event); Where event is the event from the hyperlink in my onClick handler. My form submit didn't work properly before adding this. mrg O

Re: submit form on Safari and Opera doesn't work

2010-03-30 Thread Michael Gentry
I submit a form via JavaScript and it works in Safari, IE, and Firefox. For me, I use: $('myFormID').submit(); mrg On Tue, Mar 30, 2010 at 8:26 AM, LiborGMC wrote: > > Hi, > thanks to issue with IE8 > http://old.nabble.com/Error-in-tapestry.js-in-IE-8-ts27714386.html#a27904924 > http://old.n

submit form on Safari and Opera doesn't work

2010-03-30 Thread LiborGMC
Hi, thanks to issue with IE8 http://old.nabble.com/Error-in-tapestry.js-in-IE-8-ts27714386.html#a27904924 http://old.nabble.com/Error-in-tapestry.js-in-IE-8-ts27714386.html#a27904924 I removed all mixins and checkbox groups and I replaced them with simple Javascript. But I struggling with strang