Its not something I would want and it sounds like its over-complicating the
situation.

You may want to see if there is any interest from any of the other
committers before going to the trouble of coding something. It can be
frustrating to bother to submit patches and then have them ignored - either
ping the dev list or create a bugzilla enhancement ticket. Having said that,
if you don't code up a patch you're just as likely to have someone saying
"code talks" - its a bit chicken and egg!!!

Niall

----- Original Message ----- 
From: "Fogleson, Allen" <[EMAIL PROTECTED]>
Sent: Wednesday, April 06, 2005 4:18 PM


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)



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

Reply via email to