[ 
https://jira.jboss.org/jira/browse/RF-6261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nick Belaevski updated RF-6261:
-------------------------------

    Fix Version/s: Future
         Assignee: Konstantin Mishin  (was: Nick Belaevski)


> ScrollableDataTable inside outputPanel + push: SDT is broken after sorting 
> and push rerendering.
> ------------------------------------------------------------------------------------------------
>
>                 Key: RF-6261
>                 URL: https://jira.jboss.org/jira/browse/RF-6261
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.3.1
>            Reporter: Alexander Dubovsky
>            Assignee: Konstantin Mishin
>             Fix For: Future
>
>         Attachments: 45.png
>
>
> Source:
> <a4j:outputPanel id="table">
>                       <rich:scrollableDataTable id="scrolltable" 
> value="#{sdTable.value}"
>                               var="item">
>                               <rich:column width="100px">
>                                       <f:facet name="header">
>                                               <h:outputText value="Name" />
>                                       </f:facet>
>                                       <a4j:outputPanel layout="block">
>                                               <h:outputText 
> value="#{item.make}" />
>                                       </a4j:outputPanel>
>                               </rich:column>
>                       </rich:scrollableDataTable>
>               </a4j:outputPanel>
>               <a4j:push eventProducer="#{sdTable.addPushListener}" 
> interval="5000"
>                       ajaxSingle="true" reRender="table" />
>               <a4j:commandButton value="addNewItem" 
> action="#{sdTable.addNewItem}" />
> Bean:
>       public void addNewItem() {
>               String name = "ABC" + ++counter;
>               value.add(new Car(name, "", counter));
>               synchronized (pushListener) {
>                       pushListener.onEvent(new EventObject(this));
>               }
>       }
>       public void addPushListener(EventListener listener) {
>               synchronized (listener) {
>                       if (pushListener != listener) {
>                               pushListener = (PushEventListener) listener;
>                       }
>               }
>       }
> # Click "addNewItem" button
> # Sort table before push request accures
> # Wait until push request occures
> Result: table is broken. See screen shot.

-- 
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

Reply via email to