You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Jim O'Callaghan <jc...@yahoo.co.uk> on 2011/04/12 02:26:35 UTC
Possible error in Tapestry.js
I'm getting an error using IE8 upon form submission - the error appears to
be Tapestry.js (from T5.2.4) line 1545 - Error: Object doesn't support this
property or method
if (this.form.getInputs("hidden", "t:formdata").size() == 0)
The only methods listed as available for this.form within the IE8 debugger
are onsubmit() - anyone else seeing this issue? It seems fine under FF /
Chrome.
This appears to happen whether I start with:
<form t:id="uWEventForm" name="uWEventForm">
Or
<t:form t:id="uWEventForm" name="uWEventForm">
Regards,
Jim.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
RE: Possible error in Tapestry.js
Posted by Jim O'Callaghan <jc...@yahoo.co.uk>.
Thanks Richard – it doesn’t appear to be a million miles off – in my case the POST does get made also, but as you say, it’s not ideal. Any other suggestions for a fix / workaround welcome. The JS in tapestry.js looks pretty gritty.
Regards,
Jim.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
RE: Possible error in Tapestry.js
Posted by Richard Hill <ri...@su3analytics.com>.
Incidently, I had a possibly related problem a while back, also IE8.
Original mail attached.
A wild guess, but it could be something to do with the way IE8 tries to
parallelarise loading and interpreting of js assets.
R.
On Tue, 2011-04-12 at 15:22 +0100, Jim O'Callaghan wrote:
> Can any of the Tapestry committers vet this before I add a JIRA - thanks.
>
> Regards,
> Jim.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
RE: Possible error in Tapestry.js
Posted by Jim O'Callaghan <jc...@yahoo.co.uk>.
Can any of the Tapestry committers vet this before I add a JIRA - thanks.
Regards,
Jim.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Possible error in Tapestry.js
Posted by Taha Hafeez <ta...@gmail.com>.
I agree, it should be in tapestry.js
regards
Taha
On Tue, Apr 12, 2011 at 3:19 PM, Jim O'Callaghan <jc...@yahoo.co.uk>wrote:
> Thanks for the link Taha. Not sure if the fix for this is external, or if
> there should be some kind of try/catch in Tapestry JS that uses
> $(this.form)
> as a fallback.
>
> Regards,
> Jim.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
RE: Possible error in Tapestry.js
Posted by Jim O'Callaghan <jc...@yahoo.co.uk>.
Thanks for the link Taha. Not sure if the fix for this is external, or if
there should be some kind of try/catch in Tapestry JS that uses $(this.form)
as a fallback.
Regards,
Jim.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Possible error in Tapestry.js
Posted by Taha Hafeez <ta...@gmail.com>.
Hi Jim
It doesn't seem to be a tapestry problem. I googled a bit and found this.
http://groups.google.com/group/prototype-scriptaculous/browse_thread/thread/b42edac07aa9c78d/ba0aa422a333a454?pli=1
<http://groups.google.com/group/prototype-scriptaculous/browse_thread/thread/b42edac07aa9c78d/ba0aa422a333a454?pli=1>hope
this helps
regards
Taha
On Tue, Apr 12, 2011 at 5:56 AM, Jim O'Callaghan <jc...@yahoo.co.uk>wrote:
> I'm getting an error using IE8 upon form submission - the error appears to
> be Tapestry.js (from T5.2.4) line 1545 - Error: Object doesn't support this
> property or method
>
> if (this.form.getInputs("hidden", "t:formdata").size() == 0)
>
> The only methods listed as available for this.form within the IE8 debugger
> are onsubmit() - anyone else seeing this issue? It seems fine under FF /
> Chrome.
>
> This appears to happen whether I start with:
>
> <form t:id="uWEventForm" name="uWEventForm">
>
> Or
>
> <t:form t:id="uWEventForm" name="uWEventForm">
>
> Regards,
> Jim.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>