Re: Incorrect rowindex for datatable with tomahawk's sorting and scrolling features.

2005-10-31 Thread Mathias Brökelmann
do you use sun´s ri or myfaces for the core jsf implementation? 2005/10/30, [EMAIL PROTECTED] [EMAIL PROTECTED]: Thanks for your reply Mathias. I attach my bean code here. Please note that the command links work correctly when within an ordinary datatable with no paging/sorting. It was when i

Re: Incorrect rowindex for datatable with tomahawk's sorting and scrolling features.

2005-10-31 Thread gramani
Myfaces.. Thanks again, Geeta Mathias Brökelmann [EMAIL PROTECTED] wrote on 10/31/2005 04:29:56 AM: do you use sun´s ri or myfaces for the core jsf implementation? 2005/10/30, [EMAIL PROTECTED] [EMAIL PROTECTED]: Thanks for your reply Mathias. I attach my bean code here. Please note

Re: Incorrect rowindex for datatable with tomahawk's sorting and scrolling features.

2005-10-31 Thread Mathias Brökelmann
the problem is a little bit tricky ;) If you use preserveDataModel=true the value of your datamodel is not requested until in the renderphase and will not be used for iteration and setting rowindex. This is the reason why you don´t get a valid value for your rowindex and rowdata in process

Re: Incorrect rowindex for datatable with tomahawk's sorting and scrolling features.

2005-10-31 Thread gramani
Mathias Brökelmann [EMAIL PROTECTED] wrote on 10/31/2005 08:35:43 AM: the problem is a little bit tricky ;) If you use preserveDataModel=true the value of your datamodel is not requested until in the renderphase and will not be used for iteration and setting rowindex. This is the reason

Re: Incorrect rowindex for datatable with tomahawk's sorting and scrolling features.

2005-10-31 Thread gramani
Mathias Brökelmann [EMAIL PROTECTED] wrote on 10/31/2005 08:35:43 AM: the problem is a little bit tricky ;) If you use preserveDataModel=true the value of your datamodel is not requested until in the renderphase and will not be used for iteration and setting rowindex. This is the reason

Re: Incorrect rowindex for datatable with tomahawk's sorting and scrolling features.

2005-10-31 Thread Mathias Brökelmann
the uidata implementation currently don´t seam to reset the rowindex to -1 after rendering. Your state is saved in serverstate and you use t:savestate to store the state of worklist which means you will get for every new request on that page the same instance of your worklist bean (Note: this

Re: Incorrect rowindex for datatable with tomahawk's sorting and scrolling features.

2005-10-30 Thread gramani
Thanks for your reply Mathias. I attach my bean code here. Please note that the command links work correctly when within an ordinary datatable with no paging/sorting. It was when i was attempting to see why that I noticed the pattern of what looks like incorrectly computed rowIndices that i

Re: Incorrect rowindex for datatable with tomahawk's sorting and scrolling features.

2005-10-29 Thread Mathias Brökelmann
Could you post your bean code? 2005/10/29, [EMAIL PROTECTED] [EMAIL PROTECTED]: So.. maybe I can ask this question differently..? Has anybody made command links work within a t:datatable with scrolling and sorting also enabled (using tomahawk.jar's tags)? If so would you please post your

Incorrect rowindex for datatable with tomahawk's sorting and scrolling features.

2005-10-28 Thread gramani
Hi all: I am having trouble getting command links to work correctly when I use tomahawk's t:dataTable for scrolling and sorting. Briefly, the rowIndex doesn't seem to be correct: I have breakpoints in my code which shows me that while rowCount is correctly computed, for some reason rowIndex

Re: Incorrect rowindex for datatable with tomahawk's sorting and scrolling features.

2005-10-28 Thread gramani
So.. maybe I can ask this question differently..? Has anybody made command links work within a t:datatable with scrolling and sorting also enabled (using tomahawk.jar's tags)? If so would you please post your code? Many thanks in advance! Geeta [EMAIL PROTECTED] wrote on 10/28/2005 05:28:13