My mistake, the plumbing is in the DTD to do this (i.e. a className for a
custom MessageResourcesConfig and the element) but the
digester rules always create the standard MessageResourcesConfig and ignore
any custom implementations specified in the className.
However, even if that was fixed - the
Thanks Niall. If I were to use elements, do you have any
idea how I would retrieve those properties within the factory?
Thanks,
David
"Niall Pemberton" <[EMAIL PROTECTED]> wrote on 06/16/2005
04:03:36 PM:
> You need to configure your message resources through the
struts-config.xml -
> init p
I found the answer I was looking for. The solution is to set the "factory"
attribute of the "message-resource" element in struts-config, like so:
> I have a project where I want to use the Struts Validator. By default
the
> error messages are read from a properties file. However I'm req
You need to configure your message resources through the struts-config.xml -
init parameters in the web.xml don't work in Struts 1.2
http://struts.apache.org/userGuide/configuration.html#resources_config
So in your case you need something like the following in your
struts-config.xml
You ca
I have a project where I want to use the Struts Validator. By default the
error messages are read from a properties file. However I'm required to
read the error messages from a database. The question is how do I do this?
I found this article
http://www.informit.com/articles/article.asp?p=101174
5 matches
Mail list logo