Ok I think that what you need is here www.jfly.org.

ciao,
kiuma

On 2/20/07, Tapestry User List <[EMAIL PROTECTED]> wrote:

Let me explain why I need that:
I'm developing web application with the notion of plugin. A plugin is
a set of tapestry pages which can refers components from a components
library which is also in the plugin.
I implemented the ITemplateSourceDelegate interface to find templates
from the plugin.
I also implemented the ISpecificationResolverDelegate interface to
find specification pages from the plugin. It works pretty good.

Now, when a new plugin is installed in my web application, if the
plugin contains a components library, I need to declare it in the
application xml file. The problem is I can't mofify the application
xml file because it is in a war file. So I would like to add the
component library either dynamically or by externalizing the
application xml file outside the war file and link it.

Hope it helps to understand my problem.

D.

2007/2/20, Tapestry User List <[EMAIL PROTECTED]>:
> A way to resolve my problem would be to externalize the application
> xml file. Is there a way to link an application xml file outside the
> war ? So that I will be able to edit this file.
>
> Redeploy the war is not a issue if the application xml file is changed.
>
> D.
>
> 2007/2/20, Tapestry User List <[EMAIL PROTECTED]>:
> > Hi !
> >
> > I'm developing a Tapestry application. For adding a component library,
> > I need to edit the application xml file. I need to add dynamically a
> > library at the start of the web application. Is there a way to do that
> > programatically without editing the application xml file?
> >
> > <?xml version="1.0"?>
> > <!DOCTYPE application PUBLIC
> > "-//Apache Software Foundation//Tapestry Specification 4.0//EN"
> > "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>
> > <application name="myWebApp">
> >
> >     <library id="contrib"
> >
specification-path="classpath:/org/apache/tapestry/contrib/Contrib.library"/>
> >     <library id="tacos"
specification-path="/net/sf/tacos/Tacos.library"/>
> >
> >         <!-- would like to add a library programatically instead of
here--->
> >
> > </application>
> >
> >
> > Thanks so much.
> >
> > D.
> >
>

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


Reply via email to