Really did not work for me, what i did was split it into
tableview/columns/rows/values/pages and inside the <tr
jwcid="contrib:TablePages" class="myStyleClass">

Regards

On 10/2/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

It's working for me.

Here's my html:

<span id="edisTable">
    <table jwcid="table">
        <tr class="headerRow">
            <th>Inv Num</th>
            ...snip...
        </tr>
        <tr>
            <td>123</td>
            ...snip...
        </tr>
    </table>
</span>

Here's my jwc:

    <component id="table" type="contrib:Table">
        <binding name="source" value="firmOrgs"/>
        <binding name="rowsClass" value="beans.evenOdd.next"/>
        <binding name="columnsClass" value="literal:header"/>
        <binding name="pagesClass" value="literal:pager"/>
        ...snip...
    </component>

And my css:

#edisTable .pager {
    display: block;
    text-align: center;
    margin-bottom: .25em;
}
#edisTable .pager b, #edisTable .pager a {
    margin-left: .10em;
    margin-right: .10em;
}


-----Original Message-----
From: Andreas Andreou [mailto:[EMAIL PROTECTED]
Sent: Monday, October 02, 2006 11:52 AM
To: Tapestry users
Subject: Re: Contrib:Table pagesClass not working

http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-contrib/s
rc/java/org/apache/tapestry/contrib/table/components/Table.jwc?view=mark
up

        <component id="tablePages" type="TablePages">
                <inherited-binding name="pagesDisplayed"
parameter-name="pagesDisplayed"/>
                <inherited-binding name="class"
parameter-name="pagesClass"/>
        </component>




Vinicius Carvalho wrote:
> Hello there! I'm defening a pagesClass parameter on my table
> component, but
> its not working. I've searched the source and did not see any
> reference to
> it on the parameter, only in the jwc, no reference at the componente
java
> source or the template...
> Anyone else having the same issue?
>
> Regards
>

--
Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
Tapestry / Tacos developer
Open Source / J2EE Consulting


---------------------------------------------------------------------
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