You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by bhorvat <ho...@gmail.com> on 2012/02/05 00:20:15 UTC
ImageUpload zone error - Cannot set property 'enctype' of undefined
When I refresh a zone that has an upload filed in it it gives me the
following error
Communication with the server failed: TypeError: Cannot set property
'enctype' of undefined
Ajax failure: Status 200 for #{url}: TypeError: Cannot set property
'enctype' of undefined
Anyone has an idea why is that?
I am using the tapestry 5.3.1 and tapestry-jquery 3.1.0-SNAPSHOT
This error existed before but with the new ajax error reporting it is now
visible to the end user (not really something that I like :)). So on the
side note does anyone have an idea who to turn off the ajax error reporting?
--
View this message in context: http://tapestry.1045711.n5.nabble.com/ImageUpload-zone-error-Cannot-set-property-enctype-of-undefined-tp5457118p5457118.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: ImageUpload zone error - Cannot set property 'enctype' of
undefined
Posted by bhorvat <ho...@gmail.com>.
The update for that bug has been released but it didn't fix the problem.
I still get Communication with the server failed: TypeError: Cannot set
property 'enctype' of undefined
I am using jquery-tapestry. Anyone from jquery-tapestry team that can take a
look?
cheers
--
View this message in context: http://tapestry.1045711.n5.nabble.com/ImageUpload-zone-error-Cannot-set-property-enctype-of-undefined-tp5457118p5497551.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: ImageUpload zone error - Cannot set property 'enctype' of
undefined
Posted by bhorvat <ho...@gmail.com>.
The error looks more like an javascript error but I guess it is possible :)
Anyone that can confirm this? Or has a different opinion?
Also is it possible and how to hide the ajax errors?
--
View this message in context: http://tapestry.1045711.n5.nabble.com/ImageUpload-zone-error-Cannot-set-property-enctype-of-undefined-tp5457118p5458228.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: ImageUpload zone error - Cannot set property 'enctype' of undefined
Posted by Barry Books <tr...@gmail.com>.
I'm guessing it's because of this in the upload component
public static final String MULTIPART_ENCTYPE
I think the public properties because part of the component api and
since it's static you can't set it.
see
https://issues.apache.org/jira/browse/TAP5-1798
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org