You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Tom Zurkan <tz...@citizensportsinc.com> on 2008/10/03 01:00:33 UTC

tapestry5.16-SNAPSHOT error with forms and zones on firefox....

I am calling form.onsubmit through javascript.  I am having problems 
with forms and zones on firefox 2.  I get "event has no properties" in 
prototype.js(line 3801).  The thing is, it works on IE 7 with no 
javascript errors.  Anyone else aware of this problem?  This also worked 
on tapestry5.11.  When I took the javascript out and use a submit button 
it bypasses Ajax all together.

Thanks,

Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: tapestry5.16-SNAPSHOT error with forms and zones on firefox....

Posted by Tom Zurkan <tz...@citizensportsinc.com>.
FYI:
Event.stop(domevent) is throwing an exception in firefox 2.  It works in 
IE as the comment in the code suggests and it might work if it was 
domevent.stop().  But, the exception is what I'm seeing right now.
Hope this makes sense.
Thanks,

Tom

Tom Zurkan wrote:
> By the way this is in handleSubmit
>
>        if (this.preventSubmission)
>        {
>            // Prevent the normal submission.
>
>            Event.stop(domevent);
>
>            // Instead ...
>
>            this.form.fire(Tapestry.FORM_PROCESS_SUBMIT_EVENT);
>
>            return false;
>        }
>
> preventSubmission is equal to true.
> Tom Zurkan wrote:
>> I've been adding log statements to the tapestry.js and everything is 
>> set up correctly.  However, the event comes in as undefined which I 
>> think causes the submission to go through (not sure about this 
>> because the xhr call is not happening).  But, the event cannot be 
>> stopped via Event.stop(domevent).  I have seen this work 
>> intermittently on firefox 2.0.  Works fine on ie.  Help!
>> thanks,
>>
>> tom
>>
>>
>> Tom Zurkan wrote:
>>> I am calling form.onsubmit through javascript.  I am having problems 
>>> with forms and zones on firefox 2.  I get "event has no properties" 
>>> in prototype.js(line 3801).  The thing is, it works on IE 7 with no 
>>> javascript errors.  Anyone else aware of this problem?  This also 
>>> worked on tapestry5.11.  When I took the javascript out and use a 
>>> submit button it bypasses Ajax all together.
>>>
>>> Thanks,
>>>
>>> Tom
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>>> For additional commands, e-mail: users-help@tapestry.apache.org
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: tapestry5.16-SNAPSHOT error with forms and zones on firefox....

Posted by Tom Zurkan <tz...@citizensportsinc.com>.
By the way this is in handleSubmit

        if (this.preventSubmission)
        {
            // Prevent the normal submission.

            Event.stop(domevent);

            // Instead ...

            this.form.fire(Tapestry.FORM_PROCESS_SUBMIT_EVENT);

            return false;
        }

preventSubmission is equal to true.
Tom Zurkan wrote:
> I've been adding log statements to the tapestry.js and everything is 
> set up correctly.  However, the event comes in as undefined which I 
> think causes the submission to go through (not sure about this because 
> the xhr call is not happening).  But, the event cannot be stopped via 
> Event.stop(domevent).  I have seen this work intermittently on firefox 
> 2.0.  Works fine on ie.  Help!
> thanks,
>
> tom
>
>
> Tom Zurkan wrote:
>> I am calling form.onsubmit through javascript.  I am having problems 
>> with forms and zones on firefox 2.  I get "event has no properties" 
>> in prototype.js(line 3801).  The thing is, it works on IE 7 with no 
>> javascript errors.  Anyone else aware of this problem?  This also 
>> worked on tapestry5.11.  When I took the javascript out and use a 
>> submit button it bypasses Ajax all together.
>>
>> Thanks,
>>
>> Tom
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: tapestry5.16-SNAPSHOT error with forms and zones on firefox....

Posted by Tom Zurkan <tz...@citizensportsinc.com>.
I've been adding log statements to the tapestry.js and everything is set 
up correctly.  However, the event comes in as undefined which I think 
causes the submission to go through (not sure about this because the xhr 
call is not happening).  But, the event cannot be stopped via 
Event.stop(domevent).  I have seen this work intermittently on firefox 
2.0.  Works fine on ie.  Help!
thanks,

tom


Tom Zurkan wrote:
> I am calling form.onsubmit through javascript.  I am having problems 
> with forms and zones on firefox 2.  I get "event has no properties" in 
> prototype.js(line 3801).  The thing is, it works on IE 7 with no 
> javascript errors.  Anyone else aware of this problem?  This also 
> worked on tapestry5.11.  When I took the javascript out and use a 
> submit button it bypasses Ajax all together.
>
> Thanks,
>
> Tom
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org