tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jamie Orchard-Hays" <ja...@dang.com>
Subject Re: Table paging broken with Friendly URLs
Date Wed, 15 Dec 2004 22:06:23 GMT
I've been tracing through the app with a debugger.

In DirectService.service(), parameters returns the _pageName = "catalog" 
rather than "catalog/ViewCatalog" and _idPath = 
"ViewCatalog/catalogTable.tableElement.tableView"
(Object[] parameters = getParameters(cycle);)

However, even if I change the value them to "catalog/ViewCatalog" and 
"catalogTable.tableElement.tableView" in the debugger and continue the 
execution, the page fails, though with a different error:

org.apache.tapestry.ApplicationRuntimeException: Either the tableModel 
parameter or both source and columns parameters must be specified by 
component catalog/ViewCatalog/catalogTable.tableElement.tableView
  at 
org.apache.tapestry.contrib.table.components.TableView.getTableModel(TableView.java:199)
  at 
org.apache.tapestry.contrib.table.components.TablePages.setCurrentPage(TablePages.java:192)
  at 
org.apache.tapestry.contrib.table.components.TablePages.changePage(TablePages.java:184)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)Jamie


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


Mime
View raw message