Two JMesa table in same GSP

30 views
Skip to first unread message

AMRAOUI Marouane

unread,
Sep 4, 2009, 10:27:18 AM9/4/09
to JMesa
Hi,
i have some jmesa strange behavor :
whene i put tow jmesa table in the same gsp page i got this
situation :

Table 1 :

Caption : TEST

Table1_col 1 Table1_col 2 Table1_col 3
100 Test Test


Table : 2

Caption : TEST

Table1_col 1 Table1_col 2 Table1_col 3
Table2_Col1 Table2_Col2

as you see i got the tree Table 1 columns in the Table 2. !!!!!

The value of caption is the same even if in the gsp is different.



code below :

<jmesa:tableFacade
id="tag1"
items="${listeJobCounterInfo}"
maxRows="100"
exportTypes="csv,jexcel"
stateAttr="restore"
var="bean1"
autoFilterAndSort="true"
>
<jmesa:htmlTable
caption="sss"
width="100%"
id="table1"
>
<jmesa:htmlRow id="row1">
<jmesa:htmlColumn property="name" title="${message
(code:'pfp2.name')}" sortable="true" filterable="true"
cellEditor="org.jmesa.view.editor.BasicCellEditor" />
<jmesa:htmlColumn property="numberMax" title="$
{message(code:'pfp2.numMax')}" sortable="true" filterable="true" />
<jmesa:htmlColumn property="number" title="${message
(code:'pfp2.numeActive')}" sortable="true" filterable="true" />
<jmesa:htmlColumn property="lastExecution"
pattern="dd/MM/yyyy HH:mm:ss"
cellEditor="org.jmesa.view.editor.DateCellEditor" title="${message
(code:'pfp2.lastExecution')}" sortable="true" filterable="true" />
</jmesa:htmlRow>
</jmesa:htmlTable>
</jmesa:tableFacade>
</form>

<h3><g:message code="currentlyActiveJobs" /></h3>
<form name="scheduledInfoForm" action="scheduler">
<jmesa:tableFacade
id="tag2"
items="${listeInfoScheduler}"
maxRows="100"
exportTypes="csv,jexcel"
stateAttr="restore"
var="bean2"
autoFilterAndSort="true"
>
<jmesa:htmlTable
caption="qqq"
width="100%"
id="table2"
>
<jmesa:htmlRow id="row2">
<jmesa:htmlColumn property="name" title="${message
(code:'pfp2.name')}" sortable="true" filterable="true"
cellEditor="org.jmesa.view.editor.BasicCellEditor" />
<jmesa:htmlColumn property="fireTime" pattern="dd/
MM/yyyy HH:mm:ss" cellEditor="org.jmesa.view.editor.DateCellEditor"
title="${message(code:'pfp2.fireTime')}" sortable="true"
filterable="true" />
<jmesa:htmlColumn property="jobRunTime" title="$
{message(code:'pfp2.numMax')}" sortable="true" filterable="true" />

</jmesa:htmlRow>
</jmesa:htmlTable>
</jmesa:tableFacade>
</form>


thanks in advance

Jeff Johnston

unread,
Sep 8, 2009, 6:31:46 PM9/8/09
to JMesa
Sorry for the slow reply...I was away for a few days.

Unfortunately I am not that up on the GSP tag. That was done by
another developer. Here is a post that I made about the state of the
GSP tag.

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

I think I do remember that one of the limitations of the GSP tag is
that it is not possible to put two tables in one page. I could be
wrong about that. It for sure is not a limitation of JMesa though.

-Jeff Johnston


On Sep 4, 9:27 am, AMRAOUI Marouane <amraoui.marou...@gmail.com>
wrote:
Reply all
Reply to author
Forward
0 new messages