Hi,

Please implement your own version of the TablePages component that does what
you need (you can use the standard TablePages as a reference, simply change
its template).

You can then use the lower level Table components (such as TableView)
instead of Table. I believe there is a similar example in TapestryTables
towards the end of that tutorial...


For reference, the Table template is:

<span jwcid="tableView">
  <span jwcid="condPages"><span jwcid="tablePages"/></span>
  <table jwcid="tableElement">
    <tr><span jwcid="tableColumns"/></tr>
    <tr jwcid="tableRows"><td jwcid="tableValues"/></tr>
  </table>
</span>

You could use something similar instead of Table in your code.

----- Original Message ----- 
From: "Anthony Fox" <[EMAIL PROTECTED]>
To: <tapestry-user@jakarta.apache.org>
Sent: Wednesday, June 01, 2005 6:28 PM
Subject: Changing behavior of contrib:Table's paging links


I am interested in changing the behavior of the paging links generated
by the contrib:Table component.  Specifically, I want the paging links
at the top of the table to call a javascript method rather than the
default behavior.  Can the Block component do this?  Are there any
examples that change the default behavior of the paging links?  I have
looked at TapestryTables but those examples all have to do with
changing the behavior of the columns.

Thanks,
Anthony

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


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

Reply via email to