Table component page size

"Luke Galea" <[email protected]>
Newsgroups gmane.comp.java.tapestry.devel
Message-ID <[email protected]>
Hi All... another question about using the table component.
I wanted to add a combo box that sets the number of rows per page. So I
threw in the following:
 
<component id="pageSizeSelector" type="PropertySelection">
             <binding name="value"
expression="tableModel.pagingState.pageSize"/>
             <binding name="model" expression="new
net.sf.tapestry.form.StringPropertySelectionModel(
@webmin.components.fileViewer.FileViewer@linesPerPageStrings )"/>
             <static-binding name="submitOnChange">true</static-binding>
</component>
 
Well.. it really doesn't work. I get "The component tablePages must be
contained within an ITableModelSource component, such as TableView"
 
I believe this problem is similar to the whole ActionLink vs. DirectLink
problem I have encountered in the past. Has anyone found an easy way
around this? 
 
Thanks
 
Luke Galea 
Software Development
BlueCat <http://www.bluecatnetworks.com/>  Networks
905-762-5225
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.