>From: Richard Wallace <[EMAIL PROTECTED]> > > I'm trying to update from the 20060130 nightly to the 20060312 nightly > and I'm getting an IllegalStateException from the LoadBundle component > that I wasn't getting before. It looks like the basename attribute > isn't being set for some reason, and I'm a bit lost as to why. I > haven't changed anything in my code other than the version of > shale-core.jar and shale-clay.jar. I've looked through the code and > everything looks fine to me. > > Here's the exception that I'm getting and the configuration of the > LoadBundle in my faces-config.xml: >
[snippet] > I have no idea why all of a sudden the basename wouldn't be getting > set. It doesn't look there is anything wrong with the LoadBundle > component itself. Did something change in other parts of shale-core > that could be causing this? > I can not recreate this one but it has already been reported (http://issues.apache.org/bugzilla/show_bug.cgi?id=38784). There was a recent change to the LoadBundle making it implement the Map interface. This allows you to use it directly in an EL #{labels.mylabel} or #{labels.map.mylabel}. What version of myfaces are you using? It's working under 1.1.1. > Thanks, > Rich > Gary > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >