[
https://jira.jboss.org/jira/browse/RF-3847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Konstantin Mishin resolved RF-3847.
-----------------------------------
Fix Version/s: 3.2.2
(was: Future)
Resolution: Out of Date
Assignee: Tsikhon Kuprevich (was: Konstantin Mishin)
> Error using custom components inside scrollableDataTable
> --------------------------------------------------------
>
> Key: RF-3847
> URL: https://jira.jboss.org/jira/browse/RF-3847
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.2.2
> Reporter: Ilya Musihin
> Assignee: Tsikhon Kuprevich
> Fix For: 3.2.2
>
>
> We are developing custom JSF components and have found the following problem
> when placing our components inside of <rich:scrollableDataTable> component.
> Everything worked fine before we added the "col" tag as part of our
> component. Now if we use our component inside of <rich:scrollableDataTable> ,
> we get the JavaScript error "columns[j] has no properties" appear. Our
> investigation has shown that this error is caused by the specifics of
> implementation of RichFaces' scrollable-date-table.js.jsf JavaScript file
> that uses function getElementsByTagName("col") in line 149:
> cols=this.templNormal.getElement().getElementsByTagName("col");for(i=0;i<cols.length;i++){columns[j].bodyCol=$(cols[i]);j++;}
> This piece of code works correctly unless a component inside of
> ScrollableDataTable component renders its own "col" tags. So the problem of
> interoperability of such components with ScrollableDataTable would be solved
> if the mentioned code would just retrieve ScrollableDataTable's own "col"
> tags without searching the inner parts of sub-components.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues