[richfaces-issues] [JBoss JIRA] (RF-13615) ExtendedDataTable: double ajax request on scrolling

Holger Walter (JIRA) issues at jboss.org
Thu Apr 24 15:18:33 EDT 2014


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

Holger Walter updated RF-13615:
-------------------------------

    Description: 

1. Go to the extendedDataTable showcase
2. Turn on ajax loading.
3. Open the debugger of your browser and watch the network communication
4. Scroll down in the table untli new data has to be fetched.
=> one POST request is sent. This is fine.
5. Change the width of a column in the table.
=> one POST request is sent. This is fine.
6. Scroll again in the table untli new data has to be fetched.
-> 2 POST requests are sent. WHY?
>From now on, on each scroll, the table always sends 2 requests. This behavior stops only when your relaod the table.

Due to this behavior I get some perfromance issues, as I have to execute some own javascript after each request.

Is there a possibility to prevent the 2nd POST request. I would be happy even with a dirty hack, or just a hint showing me from where the 2nd request is triggered.

Best regards

wlh

  was:
Affects version 4.3.6 - but issue tracker complained, that 4.3.6 does not exist

1. Go to the extendedDataTable showcase
2. Turn on ajax loading.
3. Open the debugger of your browser and watch the network communication
4. Scroll down in the table untli new data has to be fetched.
=> one POST request is sent. This is fine.
5. Change the width of a column in the table.
=> one POST request is sent. This is fine.
6. Scroll again in the table untli new data has to be fetched.
-> 2 POST requests are sent. WHY?
>From now on, on each scroll, the table always sends 2 requests. This behavior stops only when your relaod the table.

Due to this behavior I get some perfromance issues, as I have to execute some own javascript after each request.

Is there a possibility to prevent the 2nd POST request. I would be happy even with a dirty hack, or just a hint showing me from where the 2nd request is triggered.

Best regards

wlh


    
> ExtendedDataTable: double ajax request on scrolling
> ---------------------------------------------------
>
>                 Key: RF-13615
>                 URL: https://issues.jboss.org/browse/RF-13615
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: showcase
>    Affects Versions: 4.3.6
>         Environment: Problem can be tested in richfaces showcase.
> http://showcase.richfaces.org/richfaces/component-sample.jsf?demo=extendedDataTable&skin=blueSky
>            Reporter: Holger Walter
>
> 1. Go to the extendedDataTable showcase
> 2. Turn on ajax loading.
> 3. Open the debugger of your browser and watch the network communication
> 4. Scroll down in the table untli new data has to be fetched.
> => one POST request is sent. This is fine.
> 5. Change the width of a column in the table.
> => one POST request is sent. This is fine.
> 6. Scroll again in the table untli new data has to be fetched.
> -> 2 POST requests are sent. WHY?
> From now on, on each scroll, the table always sends 2 requests. This behavior stops only when your relaod the table.
> Due to this behavior I get some perfromance issues, as I have to execute some own javascript after each request.
> Is there a possibility to prevent the 2nd POST request. I would be happy even with a dirty hack, or just a hint showing me from where the 2nd request is triggered.
> Best regards
> wlh

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the richfaces-issues mailing list