[
https://issues.jboss.org/browse/RF-13615?page=com.atlassian.jira.plugin.s...
]
Brian Leathem updated RF-13615:
-------------------------------
Description:
After changing the width of a column, subsequent scrolling of the table triggers 2 ajax
requests instead of the expected single request.
Due to this behavior I get some performance 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:
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
Steps to Reproduce:
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.
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=extende...
Reporter: Holger Walter
Assignee: Michal Petrov
Fix For: 4.3.8
Attachments: edt.png
After changing the width of a column, subsequent scrolling of the table triggers 2 ajax
requests instead of the expected single request.
Due to this behavior I get some performance 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 was sent by Atlassian JIRA
(v6.2.6#6264)