I figured out the problem :)
If caching is turned off, you'll get the error.
So: -Dorg.apache.tapestry.disable-caching=false = Tables will paginate.
and -Dorg.apache.tapestry.disable-caching=true = Tables will not paginate.
----- Original Message -----
From: "Chris Chiappone" <[EMAIL PROTECTED]>
To: "Tapestry List" <[email protected]>
Sent: Thursday, January 26, 2006 2:05 PM
Subject: Contrib table pagination problems
I get the following exception when using the auto pagination from
contrib:table
Either the tableModel parameter or both source and columns parameters
must be specified by component CompanyProfile/apps.table.tableView
Stack Trace:
org.apache.tapestry.contrib.table.components.TableView.getTableModel(TableView.java:220)
org.apache.tapestry.contrib.table.components.TablePages.setCurrentPage(TablePages.java:191)
org.apache.tapestry.contrib.table.components.TablePages.changePage(TablePages.java:183)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.tapestry.listener.ListenerMethodInvokerImpl.invokeTargetMethod(ListenerMethodInvokerImpl.java:214)
org.apache.tapestry.listener.ListenerMethodInvokerImpl.invokeListenerMethod(ListenerMethodInvokerImpl.java:155)
org.apache.tapestry.listener.ListenerMethodInvokerImpl.searchAndInvoke(ListenerMethodInvokerImpl.java:124)
org.apache.tapestry.listener.ListenerMethodInvokerImpl.invokeListenerMethod(
The problem is I'm not exactly sure what I am missing here?
--
~chris
---------------------------------------------------------------------
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]