This question has come up in the mailing list
recently.
The following gives a brief description.

Suppose org.man.tapestry5.components will hold our 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>

Shing


--- Korben Zhang <[EMAIL PROTECTED]> wrote:

> Hi,all
> T5 components was put in ${app-root}/components by
> default,  I wanna create
> reusable
> components in different web applications. How to do?
> 
> Thanks.
> 
> -- 
> Korben Zhang
> 


Home page : http://www.lombok.demon.co.uk/



      ___________________________________________________________ 
Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for
your free account today 
http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html 

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

Reply via email to