Have you tried the following ? Suppose org.man.tapestry5.components will hold the new components.
1) add the following to AppModule public static void contributeComponentClassResolver(Configuration<LibraryMapping> configuration) { // Creates a virtual root pacakge for pages,components. configuration.add(new LibraryMapping("man", "org.man.tapestry5")); } 2) Suppose in org.man.tapestry5.components, we have component PageLinkPopup.java. Usage : <a href="#" t:type="man/pagelinkPopup" t:page="home" windowName="literal:my windown" features="literal: 'resizable,scrollbars,top=100,left=200,height=300,width=500'" >Home</a> or <t:man.pagelinkPopup page="test/sum" windowName="literal:sum" features="literal: 'resizable,scrollbars,top=100,left=200,height=300,width=500'" >Sum</t:man.pagelinkPopup> Shing --- Steph <[EMAIL PROTECTED]> wrote: > Hi all, > > I need to import in my tap5 project a library which > includes tap5 pages > and components. > But when i try to extend a page from the library in > my project, i get > the following exception : > > java.lang.RuntimeException: Base class > com.mylibrary.pages.FramePage > (super class of com.myproject.pages.Start) is not in > a controlled > package and is therefore not valid. You should try > moving the class to > package com.myproject.base. > > Should i declare the 'pages' and 'components' > directories of my library > in the tapestry.app-package context of my web.xml ? > If yes, what is the > syntax to do such a declaration ? > > Thanks in advance. > > Stephane > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > Home page : http://www.lombok.demon.co.uk/ ___________________________________________________________ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]