You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Huw Roberts <hu...@irisfinancial.com> on 2005/08/05 12:51:27 UTC

Help: how can I get home page from a library?

Hi All,
How can I put the home page of my application in a library?
I'd like my fred.application file to contain something like the following:
    <application name="fred"
engine-class="org.apache.tapestry.engine.BaseEngine">
        <description>Fred</description>
        <library id="stuff"
specification-path="/com/pobox/huw/stuff.library"/>
        <page name="Home" specification-path="stuff:login"/>
        <library id="contrib"
specification-path="/org/apache/tapestry/contrib/Contrib.library"/>
    </application>
but this doesn't work because the specification-path for the "Home" has to
be an actual path to a specification rather than a reference to an object in
a library.
Hope someone's solved this problem,

Thanks a lot,
Huw
Huw Roberts
Open minded individual
London England

Phone: +44 (0) 20 7397 0473
Fax: +44 (0) 20 7397 0401

Any views expressed in this message are those of the individual sender.