Thanx all for your responses.
Finally, I use java.utils.Properties class. A regular solution like Borut's
apache solution.
It's for a simple LDAP config, so I don't use DOM for the moment. Maybe
later...
It's a shame that T5 haven't a great solution like
@config(value="myProp")
Thx all!
ptit
t is there a magic T5 solution? With annotations for example... Like it's
> possible with properties file.
>
> Thanks all
>
> ptitcon51
>
>
>
>
> --
> View this message in context:
> http://www.nabble.com/T5-Read-param
On Tue, May 19, 2009 at 7:38 AM, ptitcon51 wrote:
> Hi all!
Hi!
> T5 reads xml file to configure himself.
It doesn't read XML files for configuration, just for page and
component templates. web.xml is read by the servlet container (Jetty,
Tomcat, etc), not by Tapestry.
> But I don't know if a
ontext.xml")
properties.getProperty("MyProp")
But is there a magic T5 solution? With annotations for example... Like it's
possible with properties file.
Thanks all
ptitcon51
--
View this message in context:
http://www.nabble.com/T5-Read-parameters-form-context.xml-tp236136