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 Networks

905-762-5225

 

Reply via email to