[richfaces-issues] [JBoss JIRA] Assigned: (RF-1263) rich:dataTable emits "rows=" attribute to rendered HTML - breaks table.rows[] DOM access via JavaScript

Sergey Halipov (JIRA) jira-events at lists.jboss.org
Tue Oct 30 14:15:01 EDT 2007


     [ http://jira.jboss.com/jira/browse/RF-1263?page=all ]

Sergey Halipov reassigned RF-1263:
----------------------------------

    Assignee: Ilya Shaikovsky  (was: Sergey Halipov)

Fixed in trunk. Revision 3625.

> 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
>         Assigned To: Ilya Shaikovsky
>             Fix For: 3.2.0
>
>
> 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

        



More information about the richfaces-issues mailing list