Hi all!

T5 reads xml file to configure himself. 
But I don't know if a sexy solution exists to do it myself.
I want to externalize parameters (principally Strings) in my context.xml.
Like this :

<parameter name = "myParam" value="myValue">

I could read my xml file with Properties class like this: 

properties.load("context.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-tp23613669p23613669.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to