Re: Resetting state before encoding of dataTable

2005-11-11 Thread Mathias Brökelmann
I added preserveRowStates to t:datatable which allows to define if the datatable should discard its rowstate before rendering the table. The default is false. I think this is much safer and gives the user the opportunity to decide when the rowstates really must be discarded and when not. 2005/10/3

Re: Resetting state before encoding of dataTable

2005-10-31 Thread Mathias Brökelmann
Have talked about this in our googletalk? I thought it was about the rowstate between request. This solution might not work in every case. The spec says to discard any row state before rendering the table if no errors are on the page. IMO clearing the rowstate and the datamodel must be done toget

Resetting state before encoding of dataTable

2005-10-31 Thread Martin Marinschek
Hi *, and especially Mathias, I have changed the following code segment _initialDescendantComponentState = null; if (_isValidChilds && !hasErrorMessages(context)) { //Refresh DataModel for rendering: _dataModelMap.clear(); _rowStates.cle