tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Beshai" <peter.bes...@gmail.com>
Subject Re: T5 IOC - Pass string to module on load
Date Sat, 03 Mar 2007 19:42:14 GMT
Thanks! That is exactly what I needed :-)

On 3/2/07, Filip S. Adamsen <fsa@fsadev.com> wrote:
>
> You could perhaps use a symbol?
>
> http://tapestry.apache.org/tapestry5/tapestry-ioc/symbols.html
>
> -Filip
>
> Peter Beshai skrev:
> > I have a jar with a module in it, configured to be autoloaded (through
> > maven2 editing the manifest). One of my services in the module reads
> from a
> > properties file which is passed in by a string. Rather than hard-coding
> the
> > string into the service, I was hoping to be able to configure it
> > externally.
> > That is, when I include this jar in my tapestry project, I want to be
> able
> > to configure the properties file it points to.
> >
> >> From reading the docs, I'm not entirely sure on the best approach. Do
> >> I use
> > a contribution (it seems like you can only contribute unordered
> > collections,
> > lists or maps -- not just single objects)?
> >
> > Any pointers in the right direction would be greatly appreciated.
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>


-- 
Peter Beshai

Pure Mathematics/Computer Science Student
University of Waterloo

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message