Thanks Niall.  I was on Struts 1.2.4 so I just upgraded it to Struts 1.2.9 
including all the dependencies and it worked.  

Jadeler

Niall Pemberton <[EMAIL PROTECTED]> wrote: On 5/13/06, Jadeler  wrote:
> Im having difficulty trying to get a key from a different resource bundle 
> instead of
> ApplicationResource in Struts.  Pls advice on how I can retrieve different 
> keys
> from different resource bundle in the Validator framework.  I've upgraded to
> Validator 1.3.0 from 1.1.3.

The minimum requirement for validator bundles support is Validator
1.1.4 and Struts 1.2.7. The struts-examples webapp shipped with the
binary distro has a page demonstrating using different bundles with
validator.

Also
http://www.niallp.pwp.blueyonder.co.uk/HelpTagsErrorsAndMessages.html#section6
http://www.niallp.pwp.blueyonder.co.uk/HelpTagsErrorsAndMessages.html#section7_2


> I've pasted my validation.xml file.  I did not change the 
> validation-rules.xml and
> Im not sure if I need too.  Pls see searchForm below.  When testing on the
> browser, I get ???en_US.jade.test??? is required.  I tested retrieving that 
> key on
> the jsp page and it works.  Any suggestions?

The example you show below has a key of "key.test" rather than "jade.test"?

> 
> 
> 
>    
>        
>            globalVarName
>            globalVarValue
>        
>    
>
>    
>        
>            formsetVarName
>            formsetVarValue
>        
>
>
>        
>            
>                
>            
>        
>    
> 

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



                
---------------------------------
All new Yahoo! Mail  
---------------------------------
Get news delivered. Enjoy RSS feeds right on your Mail page.

Reply via email to