I think you can use configuration parameter org.apache.tapestry.component-class-packages
(from documentation) A comma-seperated list of package names, used when searching for the component class . These must appear as <meta> tags in the application or library specification containing the component For other options you can see http://tapestry.apache.org/tapestry4.1/usersguide/components.html at the section "Referencing Library Components" On 8/28/07, mraible <[EMAIL PROTECTED]> wrote: > > 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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]