save settings in memory sort / filter table Jmesa

85 views
Skip to first unread message

manzat

unread,
Aug 7, 2012, 12:39:20 PM8/7/12
to jmesa...@googlegroups.com
how in can save settings sort / filter in memory Jmesa

Thanks

Jeff Johnston

unread,
Aug 7, 2012, 12:46:48 PM8/7/12
to jmesa...@googlegroups.com
You can use the State feature...

http://code.google.com/p/jmesa/wiki/State

-Jeff Johnston

manzat

unread,
Aug 8, 2012, 5:59:23 AM8/8/12
to jmesa...@googlegroups.com
Thank you for your feedback!
I tried this solution that you proposed to me but it does not work.

<jmesa:tableFacade
                    id="tag1"
                    items="${listDirectionOut}"
                    maxRows="100"
                    exportTypes="csv,jexcel"
                    stateAttr="restore" 
                    var="bean1"
                    autoFilterAndSort="true"
                    editable="false"
                    filterMatcherMap="com.tags.TagFilterMatcherMap"

Jeff Johnston

unread,
Aug 8, 2012, 7:05:57 AM8/8/12
to jmesa...@googlegroups.com
Are you passing the "restore" attribute as a parameter to the page that contains your table?

manzat

unread,
Aug 8, 2012, 8:19:13 AM8/8/12
to jmesa...@googlegroups.com
you mean if I did that :

<jmesa:tableFacade
                    id="tag1"
                    items="${listDirectionOut}"
                    maxRows="100"
                    exportTypes="csv,jexcel"
                    stateAttr="restore"


"restore" attribute as a parameter to the page that contains your table ?????,
you can explain to me what I must do exactly !?
Thank you

manzat

unread,
Aug 8, 2012, 8:44:34 AM8/8/12
to jmesa...@googlegroups.com
1. i use jmesa table.
2. i enter some filters and i sort some column. i got a result respecting filters and sort.
3. After that , i navigate in my  web site (looking other pages, menu etc..)
4. I return back to my jmesa table , i lose all my filters and sorted column. !!!
   so how can i save all my filters / sort column during my session.


Thank you

manzat

unread,
Aug 8, 2012, 10:55:01 AM8/8/12
to jmesa...@googlegroups.com
Thank you for your help, the problem is resolved.
Reply all
Reply to author
Forward
0 new messages