[
http://jira.jboss.com/jira/browse/RF-1263?page=all ]
Jason Anderson updated RF-1263:
-------------------------------
Description:
After upgrading from RichFaces 3.1.0 to 3.1.2, some of our client side JavaScript breaks.
It appears that <rich:dataTable is now emitting a "rows=nnn" attribute on
the generated HTML, which breaks DOM access to table.rows[nnn] (returns undefined to
JavaScript because the attribute was set in HTML as a String), table.rows[ ] must be an
array.
We also noticed generated DOM differences between 3.1.0 and 3.1.2 for the table header,
<th> vs. <td> in header. This change is ok, but may be related to rows=
change.
was:
After upgrading from RichFaces 3.1.0 to 3.1.2, some of our client side JavaScript breaks.
It appears that <rich:dataTable is now emitting a "rows=nnn" attribute on
the generated HTML, which breaks DOM access to table.rows[nnn] (returns undefined to
JavaScript because the attribute was set in HTML as a String), table.rows[ ] must be an
array.
We also noticed generated DOM differences between 3.1.0 and 3.1.2 for the table header,
<th> vs. <td> in header. If the rows= change happ
rich:dataTable emits "rows=" attribute to rendered HTML -
breaks table.rows[] DOM access via JavaScript
-------------------------------------------------------------------------------------------------------
Key: RF-1263
URL:
http://jira.jboss.com/jira/browse/RF-1263
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.2
Environment: Facelets 1.1.14+Seam 2.0.0.CR3+RichFaces 3.1.2
Reporter: Jason Anderson
After upgrading from RichFaces 3.1.0 to 3.1.2, some of our client side JavaScript
breaks.
It appears that <rich:dataTable is now emitting a "rows=nnn" attribute on
the generated HTML, which breaks DOM access to table.rows[nnn] (returns undefined to
JavaScript because the attribute was set in HTML as a String), table.rows[ ] must be an
array.
We also noticed generated DOM differences between 3.1.0 and 3.1.2 for the table header,
<th> vs. <td> in header. This change is ok, but may be related to rows=
change.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira