Thank you... Now I understand why the Grids cell parameter is named like 
p:LastNameCell... Unlike a BeanDisplay, where it would be just p:LastName.

This was kind of a workaround... Because if my page needs Activation Context, 
the ColumnSorting request didn't replicate it... So, i have to make the Page's 
entity object (that is loaded via the ID on the ActivationContext) Persistent.

Thanks,

Everton




________________________________
De: Juan E. Maya <[email protected]>
Para: Tapestry users <[email protected]>
Enviadas: Sábado, 9 de Janeiro de 2010 15:29:57
Assunto: Re: Res: How to disable column sorting on a Grid component?

u can override the header using propertyHeader

It would be something like this:

<p:lastNameHeader>
  Last Name
</p:lastNameHeader>

This will override the generated markup removing the ordering.

On Sat, Jan 9, 2010 at 12:25 PM, Everton Agner
<[email protected]> wrote:
> Oh, I still have the problem, because the TH's <a> is still there.
>
>
>
>
> ________________________________
> De: Everton Agner <[email protected]>
> Para: Tapestry users <[email protected]>
> Enviadas: Sábado, 9 de Janeiro de 2010 15:13:55
> Assunto: Res: How to disable column sorting on a Grid component?
>
> Oh, I didn't notice the IMG's "t-sort-icon" class... Now I can disable it in 
> the CSS.
>
> But... There is a way so I can disable it directly at it's model?
>
> Thanks,
>
> Everton
>
>
>
>
> ________________________________
> De: Everton Agner <[email protected]>
> Para: Tapestry Users <[email protected]>
> Enviadas: Sábado, 9 de Janeiro de 2010 15:09:30
> Assunto: How to disable column sorting on a Grid component?
>
> Hi,
>
> How can I do that? I haven't found anything about that. I only know that if I 
> add one column to the Grid in the "add" attribute (or directly at it's 
> BeanModel), it will not be part of the Sorting.
>
> Thanks,
>
> Everton
>
>
>
>      
> ____________________________________________________________________________________
> Veja quais são os assuntos do momento no Yahoo! +Buscados
> http://br.maisbuscados.yahoo.com
>
>
>      
> ____________________________________________________________________________________
> Veja quais são os assuntos do momento no Yahoo! +Buscados
> http://br.maisbuscados.yahoo.com
>
>
>      
> ____________________________________________________________________________________
> Veja quais são os assuntos do momento no Yahoo! +Buscados
> http://br.maisbuscados.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


      
____________________________________________________________________________________
Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com

Reply via email to