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

Nick Belaevski updated RF-3847:
-------------------------------

           Issue Type: Bug  (was: Feature Request)
        Fix Version/s: Future
    Affects Version/s: 3.2.2
             Assignee: Konstantin Mishin

> Error using custom components inside scrollableDataTable
> --------------------------------------------------------
>
>                 Key: RF-3847
>                 URL: http://jira.jboss.com/jira/browse/RF-3847
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.2.2
>            Reporter: Ilya Musihin
>         Assigned To: Konstantin Mishin
>             Fix For: Future
>
>
> 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: 
http://jira.jboss.com/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

Reply via email to