I have found a suspecious behaviour with tiles.

If I set the Attribute with an all lower case or all upper case String
everything seems to work fine.  When I use mixed case with a string like
"Foo" tiles won't import the attribute into the tile, and what is worse,
when the tile return, the attribute cann nolonger be found with the mixed
case attribute name.

Is this a defect?  or is mixed case attributes a situation to stay away
from.  I programatically assign the String, so I have to String.toLowerCase
( ), to make my situation work.

If this is a bug, I will submit a report.

-----Original Message-----
From: Sean Schofield [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 21, 2004 8:22 AM
To: Struts Users Mailing List
Subject: Re: Tiles Question


<snip>

> ----- Root Cause -----
> java.lang.NoSuchMethodError:
>
org.apache.log4j.Category.log(Ljava/lang/String;Lorg/apache/log4j/Level;Ljav
> a/lang/Object;Ljava/lang/Throwable;)V
>        at
>
org.apache.commons.logging.impl.Log4JCategoryLog.trace(Log4JCategoryLog.java
> :77)
>        at
>
org.apache.struts.util.PropertyMessageResources.<init>(PropertyMessageResour
> ces.java:84)

</snip>

If you look at the RootCause of your application you'll notice
something about log4j.  I am not an expert on log4j (although I use it
just fine.)  Check that you are running the latest log4j and
commons-logging.

I'm assuming you have setup commons-logging to use log4j.  Make sure
that's all configured properly.  I have the following line in my
commons_logging.properties file to accomplish this:

org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JCategory
Log

HTH,
sean

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


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

Reply via email to