explain pleasewhat do you need to save?
This attribute placed in dataModel for another components like scrollable.
I have 1 DataTable and datascroller.
After select second page from datascroler it will retrieve all data from database.
If i put t:saveStata on page, i will keep all date per requests and will minimize selects from database.
This attribute (componentState) placed in dataModel for another components like scrollable
but data table have this attribute. For what?
It defines EL-binding for a component state for savingbut i can't understand this (my be I'm stupid or guide isn't detailed)
1) The best way to optimize I think - is to create two beans one - request scoped will retrive data and save it inside session scoped. Session scoped bean will call the request scoped on initialization. After - all the data will be used from the bean without additional dataBase hits.
2) it's putted to tld from the parent class by reflection.Will explored and probably hidden
So, if i have 20 pages with Datatables (some of them with more than 1 datatable) i must deklare min. 20 beans in session ????
And this is "The best way" ???? Are you sure?
Have you tried using <a4j:keepAlive> ?
Yeaaaa. Thank you bfayle.