Validation not honouring 'bundle' attribute?

2005-03-17 Thread David Kennedy
Hi folks, I've just changed our Struts 1.2.6 (ie, with added i18n support) application to use several . This works fine on basic pages, but I've noticed a problem with the server-side Validation on forms. Validation messages' parameters aren't being found; I see validation errors like: ???e

Re: Validation not honouring 'bundle' attribute?

2005-03-18 Thread David Kennedy
Quick update; after a night's sleep I'm starting to think this is a real bug and not just a mis-config on my part. Looks like args {0}, {1} etc are being looked up in the default resource bundle, even when the error messages are being correctly found in the specified bundle. I'm going to cheat

Re: Validation not honouring 'bundle' attribute?

2005-03-18 Thread Niall Pemberton
Although the validator dtd has a bundle attribute its not used in Struts. Details here http://issues.apache.org/bugzilla/show_bug.cgi?id=21760 The pre-requisite changes to Validator were released in Validator 1.1.4, but I haven't yet got round to changing Struts. http://jakarta.apache.org/co

Re: Validation not honouring 'bundle' attribute?

2005-03-18 Thread David Kennedy
Thanks for the info Niall, I'll look forward to using the new code later in the release cycle. For now, using Ant to concatenate all resources into one file solves my problem (contention for property file in source control) and, bonus, doesn't require those writing JSPs to remember to use bundl