In case you did not know, 
(unless you have heavily customised the table
component)
when you click the column header, it will called the
method
columnSelected(IRequestCycle objCycle) 
in the class

org.apache.tapestry.contrib.table.components.inserted.SimpleTableColumnComponent
The name of the column being clicked is determined in
method columnSelected.

In  method  columnSelected, you  have access to the
page, via objCycle.getPage(),
containing the table component. That might enable you 
to do the required  processing. 


Shing
--- Shalini Seth <[EMAIL PROTECTED]> wrote:
> Hi,
>  
> I am new to tapestry. I am working on the table
> component.
>  
> The problem I am facing is, I need to be able to
> figure out which column
> the user has clicked on on the table, before the
> sorting happens.
>  
> I want to be able to do my own processing based on
> what the user has
> selected.
>  
> I know this can be done by using service parameters.
> But thats not the
> way I want to go as it would not be ideal design.
>  
> Thanks
> Shalini
> 

Home page :
  http://uk.geocities.com/matmsh/index.html

Send instant messages to your online friends http://uk.messenger.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to