You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Th...@usitc.gov on 2006/08/29 21:46:59 UTC

Formatting the Contrib:TableView component

Hi,

I have a pretty simple Contrib:Table that nicely and automatically
displays the "<< < 1 2 3 > >>" paginator/linker thingy.

*Without* "blowing up" my Contrib:Table into a TableView, is there any
way to stylize the paginator section?

I know you can set the "pageSize" binding on the Table component, but I
don't see a way to set a binding for the styles for the TableView like
you can for the rowsClass and columnsClass.

When I view->source on my page, all I see is:
<div>

<span>          <--  here's my problem! How do I set an id or class??

	<a href="blah">&lt;&lt;</a>  
	<a href="blah">&lt;</a> 
	<a href="blah">1</a>
	<a href="blah">2</a>
	<a href="blah">3</a>
	<a href="blah">..etc...</a>

</span>

<!-- then the table starts . . . -->
	<table>
		<tr>
	<th class="header">
      etc . . .


Thanks in advance,
Tom

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


Re: Formatting the Contrib:TableView component

Posted by andyhot <an...@di.uoa.gr>.
There's a pagesClass parameter for contrib:Table
for exactly that class.

Thomas.Vaughan@usitc.gov wrote:
> Hi,
>
> I have a pretty simple Contrib:Table that nicely and automatically
> displays the "<< < 1 2 3 > >>" paginator/linker thingy.
>
> *Without* "blowing up" my Contrib:Table into a TableView, is there any
> way to stylize the paginator section?
>
> I know you can set the "pageSize" binding on the Table component, but I
> don't see a way to set a binding for the styles for the TableView like
> you can for the rowsClass and columnsClass.
>
> When I view->source on my page, all I see is:
> <div>
>
> <span>          <--  here's my problem! How do I set an id or class??
>
> 	<a href="blah">&lt;&lt;</a>  
> 	<a href="blah">&lt;</a> 
> 	<a href="blah">1</a>
> 	<a href="blah">2</a>
> 	<a href="blah">3</a>
> 	<a href="blah">..etc...</a>
>
> </span>
>
> <!-- then the table starts . . . -->
> 	<table>
> 		<tr>
> 	<th class="header">
>       etc . . .
>
>
> Thanks in advance,
> Tom
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
>
>   


-- 
Andreas Andreou - andyhot@apache.org - http://andyhot.di.uoa.gr
Tapestry / Tacos developer
Open Source / J2EE Consulting 


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