-
1. Re: Persist rich extendeddatatable state
nfeybesse Dec 8, 2008 4:48 AM (in response to priestex)Hi priestex
There isn't any problem to save the state of the table with the tableState property.
But when extendedtable is rerendered, I have a problem : the tableState isn't refreshed and isn't reloaded.
Look at this : https://jira.jboss.org/jira/browse/RF-5041
Could you vote for the issue if you have the same problem ?
Thanks -
2. Re: Persist rich extendeddatatable state
priestex Dec 8, 2008 11:48 AM (in response to priestex)Hi nfeybesse,
Thanx for your response.
Looked at the issue you pointed out but I still dont understand how to implement the tablestate.
I'd appreciate if you could give me sample code that does this and I will try see if I get the same problem as you.
I'd be happy to vote on the bug if I can replicate is as well. -
3. Re: Persist rich extendeddatatable state
nfeybesse Dec 8, 2008 4:10 PM (in response to priestex)<extendedTable ...tableState="#{bean.state}">
....
</extendedTable>
BackBean :
public String getState() {
return state;
}
public void setState(String state){
this.state=state;
} -
4. Re: Persist rich extendeddatatable state
priestex Dec 8, 2008 5:11 PM (in response to priestex)Hey,
I implemented the table state and it works perfectly for me.
I am using the latest GA version of rich faces. Maybe updating to the latest version will resolve the problem for you too.
Let me know if you need me to post my code, but its pretty much the same as what you have written here -
5. Re: Persist rich extendeddatatable state
nfeybesse Dec 10, 2008 10:41 AM (in response to priestex)The problem is only with ajax requests when extendeddatatable is rerendered.
tableState attribute is not called :(.
NF