I have a UserForm class in a "pages" package and a UserList class in an
"admin" sub-package. In UserForm, how do I get UserList? The following
doesn't seem to work:

UserList nextPage = (UserList) cycle.getPage("UserList");

Results in: java.lang.ClassCastException: $UserList_4

If I change it to cycle.getPage("admin/UserList"), I get:

java.lang.ClassCastException: $BasePage_4

The last option (cycle.getPage("admin.UserList")) seems a bit closer, but
still doesn't work:

java.lang.NoClassDefFoundError: org/appfuse/webapp/pages/Admin/UserList
(wrong name: org/appfuse/webapp/pages/admin/UserList)

Thanks,

Matt

-- 
View this message in context: 
http://www.nabble.com/How-do-I-get-a-page-from-a-sub-package-tf4339857.html#a12362460
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to