Hello.

documentation for preserveDataModel says that I should't use it when I use
column sorting.
<t:savestate> works good but i want to reread new data from bean because
when user select new data he will see both new and old data. 

I want to find solution how to invoke method that fill data form db when
user select sorting by another field.
Or how to say to savestate forget old data when user click on button to
recieve data for new period.



Ulath wrote:
> 
> Hi,
> 
> you can save dataTable data with <t:saveState> so your sort algorithm
> works.. or try preserveDataModel attribute of the t:dataTable it should
> also
> work.
> 
> regards..
> 
> On 8/11/06, vasiliy.kiryanov <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hello.
>>
>> I have auto sortable dataTable and backbean in the request scope that
>> receives data when user enter date and clink on the button.
>>
>> When I click on header in order to restort page is refreshed and data is
>> empy in the table.
>>
>> What is the good aproch to invoke method in the backbean that receives
>> data
>> when I click on table header for restort?
>>
>> thank you.
>> --
>> View this message in context:
>> http://www.nabble.com/update-dataTable-data-tf2091344.html#a5764492
>> Sent from the MyFaces - Users forum at Nabble.com.
>>
>>
> 
> 
> -- 
> Murat HAZER
> 
> 

-- 
View this message in context: 
http://www.nabble.com/update-dataTable-data-tf2091344.html#a5792825
Sent from the MyFaces - Users forum at Nabble.com.

Reply via email to