Object doesn’t support this property or method datatable

Hi,

if you have “Object doesn’t support this property or method” error when using primefaces datatable in Internet Explorer, it is quite likely that you assign the same name for id and widgetVar for the datatable like:

<p:dataTable id=”documents” widgetVar=”documents”

so if you change one them like widgetVar to “documentsVar” it will be fixed.

Firefox does not have this problem btw.

Advertisements

2 thoughts on “Object doesn’t support this property or method datatable

  1. I ran into this problem a few days ago, and had a hard time figuring out, what was the problem .. IE just plain sucks at giving helpful error messages.

    Anyways… just to give a few more details I discovered:
    This is a problem from Internet Explorer 8 and older. In Internet Explorer 9 the problem doesn’t appear, as well as Chrome/Chromium (tested on version 9 and 10)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s