From: Lars G. <la...@wo...> - 2005-07-15 21:19:18
|
Hi Keats, > I actually had a PropertyDirective years ago that did just what you are > saying, but I've lost track of the code. (It never got committed to the > core because nobody expressed interest.) There is some code in the core > that parses expressions from the webmacro.properties file. I can point > you to that if it is helpful. Any pointer is helpful :) > As I recall, all I did was parse the properties as a template and then > pipe the results into a properties object via the load() method. Hmm, I did not even consider parsing the file, but you are right, that is a good thing. > I could probably resurrect this code for you if that would meet your needs. Either or, the code would be great, but also what you propose below is making sense. Especially with the include in between, that would basically do what I need easily but has even more power for other uses. I am all for it. > Of course you could the #include with this as well: > > #properties $user { > #include "user.properties" > ... What do you suggest how we go from here? Thanks, Lars |