Did you set the logging level to "DEBUG" (see below), so that you can
find out more info of what might have gone wrong? This is from a
sample log4j config. for a Spring app.

log4j.rootLogger=DEBUG, stdout, logfile

# Defines the console logger.
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d %p %c - %m%n

# Defines the file logger, using the "web app root" system property
# (set by Log4jConfigListener) for a log file relative to the web app.
log4j.appender.logfile=org.apache.log4j.FileAppender
log4j.appender.logfile.File=C:/servers/Tomcat 5.0/logs/a.log
# Pattern to output: date priority [category] - message
log4j.appender.logfile.layout=org.apache.log4j.PatternLayout
log4j.appender.logfile.layout.ConversionPattern=%d %p [%c] - %m%n

HTH.

On Mon, 22 Nov 2004 08:02:25 -0800 (PST), Manfred Geiler (JIRA)
<[EMAIL PROTECTED]> wrote:
> <h:message> problem with localized Bundle
> -----------------------------------------
> 
>         Key: MYFACES-28
>         URL: http://nagoya.apache.org/jira/browse/MYFACES-28
>     Project: MyFaces
>        Type: Bug
>    Versions: 1.0.7 beta
>    Reporter: Manfred Geiler
> 
> From a post to [EMAIL PROTECTED] by [EMAIL PROTECTED]:
> 
> Hello,
> I have a form with 8 fields. This fields cannot be blank, so I use <h:message>
> to display the error. It works fine, but I want to custom the errors (in
> Italian language).
> I have a class(Bundles),inside I have a properties file 
> (Messages_it.properties)
> with the text customized.
> I have registred it in faces-config.xml (
> <application>
> <message-bundle>Bundles.Messages_it</message-bundle>
> </application>
> 
> and in jsp page I call it with :
> <f:loadBundle basename="Bundles.Messages" var="msgs" />.
> With standar jsf libraries it works fine, but with myfaces libraries not.
> Why?
> Thanks...
> 
> -- Leonardo
> 
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
>   http://nagoya.apache.org/jira/secure/Administrators.jspa
> -
> If you want more information on JIRA, or have a bug to report see:
>   http://www.atlassian.com/software/jira
> 
>

Reply via email to