From: Keats K. <ke...@xa...> - 2005-07-15 21:38:52
|
> What do you suggest how we go from here? If you're in a hurry, give it a shot yourself. You can look at a simple directive, like SetblockDirective, for a starting point and I can give you assistance with specific questions. If you're not in a hurry, I'll can crank out something for you, but it may take a week or two. I'm pretty swamped at the moment. Keats Lars George wrote: > 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 > |