I know last week we had some discussions about MessageResources (mostly
about pulling from a DB). I did a little digging and extending and came
up with a quick hit that pulled the resources from a db. At the same
time I rememebered an earlier discussion about having submessages in
messages. That is something like:

User.name=Name
User.firstName=First ${Name}

Calling user.firstName would of course render "First Name".

I did a quick addition to the DB code to allow such things (but did not
check circularity.. the form where a child message includes a parent (or
itself). 

Long story short is there any interest in this? I can have a quick patch
to the core source in bugzilla relatively quickly. Although in testing I
think that $( instead of ${ would be better since if ${msg} is not found
then the argument processor fails on the argument ${msg} because it is
not a number. But that's a small implementation detail. 

I personally probably wouldn't use the facility much. I think it becomes
quickly confusing, but others may see a use for it. (My mileage has
certainly varied)

Al


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to