1 - I have a jmesa grails version 0.8
2 - I create a gps with two jmesa table :
table 1 :
<jmesa:tableFacade
id="tag1"
items="${listDirectionOut}"
maxRows="100"
exportTypes="csv,jexcel"
stateAttr="restore"
var="bean1"
autoFilterAndSort="true"
editable="false"
filterMatcherMap="com.tags.TagFilterMatcherMap"
view="com.views.ToolbarAtBottomView"
>
<jmesa:htmlTable
caption=""
width="100%"
>
<jmesa:htmlRow uniqueProperty="keyId">
<jmesa:htmlColumn width="5%"
property="commonReference"
title="${message(code:'trz.dashBoard.list.label.commonReference')}"
sortable="true" filterable="true"/>
....
</jmesa:htmlRow>
</jmesa:htmlTable>
</jmesa:tableFacade>
table 2 :
<jmesa:tableFacade
id="tag"
items="${listDirectionIn}"
maxRows="100"
exportTypes="csv,jexcel"
stateAttr="restore"
var="bean"
autoFilterAndSort="true"
editable="false"
filterMatcherMap="com.tags.TagFilterMatcherMap"
view="com.onfin.swap.view.ToolbarAtBottomView"
>
<jmesa:htmlTable
caption=""
width="100%"
>
<jmesa:htmlRow uniqueProperty="
keyId">
<jmesa:htmlColumn width="5%"
property="commonReference"
title="${message(code:'trz.dashBoard.list.label.commonReference')}"
sortable="true" filterable="true"/>
....
</jmesa:htmlRow>
</jmesa:htmlTable>
</jmesa:tableFacade>
3. The first displayed correctly , but the second table all columns are duplicated :
table 1 :
id name adress
1 toto ad1
2 titi ad2
table 2
id name adress id name adress
3 toto ad1 3 toto ad1
4 titi ad2 4 titi ad2
any idea please ?
NB : the both table concerne the same object , so same column identifiers
how i can put two jmesa table in same gsp correctly !? how to evoid this duplication ?
Thanks