You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Tim Downey <ti...@gmail.com> on 2005/05/16 13:22:13 UTC

Can two Table components share the same model?

Hi,

I've been struggling with this for a bit and am looking for some
validation that I'm not totally out of line.

I'm trying to build a page with two Table components that need to
share the same model for both data and state.  The HTML would look
sort of like this:

<tr>
    <td><table jwcid="lockedTable"></td>
    <td><table jwcid="scrolledFormTable"</td>
</tr>

This will provide me the ability to have the table on the left appear
to be fixed in place while the
table on the right will have horizontal scrolling capabilities for a
large number of columns.  This is analagous to wanting the name column
to stay fixed despite horizontal scrolling of the
other columns.

I've tried this using the same 'source' attribute on both tables, but
sorting and paging don't keep properly in sync.

Is what I'm attempting possible?  If it is, is it also possible if the
scrolled table is a FormTable?  Do I need to write my own session
state managers?

Thanks a lot!
-tim

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