You can pass informal parameters to the @TablePages component which will get applied to a span arround the output. You could use this to apply some limmited CSS to the subelements. I guess if you really want full control over how it is rendered you'd probably just have to extend the original TablePages component in java and then copy the original TablePages.html and TablePages.jwc over and modify them.
On 2/9/07, Daniel Jue <[EMAIL PROTECTED]> wrote:
Thanks Daniel, While everything you mentioned is true, I was really referring to the "@Contrib:TablePages" sub component, which is the part that displays the page numbers and forward / backward buttons. i.e. << < 1 2 3 4 5 > >> It is usually at the bottom of a regular form, but you get to insert it directly when you use Contrib:TableView Right now they are function, but ugly, text. I'd like to give them some CSS attributes to make it match the rest of my app. Dan On 2/9/07, Daniel Tabuenca <[EMAIL PROTECTED]> wrote: > If you want to customize how a cell is rendered. You can use a block > component with the magic id of "column id"+ ColumnValue. So if your > column definition is something like "myColumn:My Column" then having > something like > > <td jwcid="[EMAIL PROTECTED]"></td> > > will cause it to be used to render the column.This is described here: > > http://tapestry.apache.org/tapestry4.1/tapestry-contrib/componentreference/tableview.html > > under "defining columns" > > > On 2/9/07, Daniel Jue <[EMAIL PROTECTED]> wrote: > > Hi, > > > > Unlike a previous thread, I am only trying to tap into the TablePages > > subcomponent to add some css tags to the numbers and links. I looked > > at the source for TablePages, but there doesn't seem to be anything > > there related to the way it's rendered in html. > > > > Is this possible do to without rewriting/extending the TablePages component? > > > > Dan > > > > --------------------------------------------------------------------- > > 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] > > --------------------------------------------------------------------- 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]