In the code, the data scroller just calls get first and set first. It only uses value binding (EL) the first time. Once you navigate using the data scroller, it uses a variable that is saved to the UI data state, so the EL will never be evaluated again. I am not sure why setting the first of the UI data isn't working though, it should. If you want the UI data to always use EL, you will have to subclass the data table and when set first is called, update the value binding value instead of setting the local integer value.
On 7/25/06, Torsten Krah <[EMAIL PROTECTED]> wrote:
I want to do some fixes on the dataScroller - but i've got a problem. I am setting the firstRow in getFirstRow - which is the value that decides which is the first row to be rendered, is it? - to 0 in certain cases. According to debug output - getUIData.getFirst() is set to 0 - but the table which is child of the scroller still shows from the last position, instead of 0. If i use getUIData.setFirst(0) it works everytime - but than the scroller is broken. If i use getUIData.setFirst(myvariable) and this one is set to 0 - i doesnt work ... mysterious? Any hints whats wrong here? kind regards

