You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Pedro Maria Buitrago Mantilla <pm...@gmail.com> on 2005/12/13 20:48:46 UTC

Problem with Table component

I'm using the table component and I need to generate submits instead of
direct links. I'm using a '*' in the colums field and OK, but when I want
moved with the pageslink this not generate a submit, so I loss the form
fields.

table  align="center" jwcid="table@contrib:Table" width="90%"
                                 source="ognl:procesos"

 columns="*Año:anno,Usuario:usuario,!errorFileName,

 Mensaje:message,Fecha_Inicial:fechaInicio,Fecha
Fin:fechaFin,Proceso:tipoProceso,

 Jerarquia:jerarquia,Calendario:calendario,

 Institución:institucion,Sede:sede,Jornada:jSede,!button"
                                 pagesDisplayed=13
                                 pageSize=10
                                 initialSortColumn="Fecha_Inicial"
                                 initialSortOrder="false"
                                 columnsClass="resultsHeader"
                                 rowsClass="ognl:getRowStyle()"
                                 pagesClass="tablePageNumber"/>

Thanks by your attention

Re: Problem with Table component

Posted by Gunna Satria <gn...@nwa.iao.co.id>.
Hi,

Try using Block component.
example:
you have columns attribute = "'id:ID:idValue,name:NAME:nameValue"
add this code in html page under your table component,
<span jwcid="idColumnValue@Block">
    <span jwcid="@Submit" label="'Submit'"/>
</span>

it will render submit button instead of id value.

regards,

Gunna
----- Original Message -----
From: "Pedro Maria Buitrago Mantilla" <pm...@gmail.com>
To: <ta...@jakarta.apache.org>
Sent: Wednesday, December 14, 2005 2:48 AM
Subject: Problem with Table component


I'm using the table component and I need to generate submits instead of
direct links. I'm using a '*' in the colums field and OK, but when I want
moved with the pageslink this not generate a submit, so I loss the form
fields.

table  align="center" jwcid="table@contrib:Table" width="90%"
                                 source="ognl:procesos"

 columns="*Año:anno,Usuario:usuario,!errorFileName,

 Mensaje:message,Fecha_Inicial:fechaInicio,Fecha
Fin:fechaFin,Proceso:tipoProceso,

 Jerarquia:jerarquia,Calendario:calendario,

 Institución:institucion,Sede:sede,Jornada:jSede,!button"
                                 pagesDisplayed=13
                                 pageSize=10
                                 initialSortColumn="Fecha_Inicial"
                                 initialSortOrder="false"
                                 columnsClass="resultsHeader"
                                 rowsClass="ognl:getRowStyle()"
                                 pagesClass="tablePageNumber"/>

Thanks by your attention


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org