Re: T5 Read parameters form context.xml

2009-05-19 Thread ptitcon51
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

Re: T5 Read parameters form context.xml

2009-05-19 Thread Borut BolĨina
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

Re: T5 Read parameters form context.xml

2009-05-19 Thread Thiago H. de Paula Figueiredo
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

T5 Read parameters form context.xml

2009-05-19 Thread ptitcon51
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