ekbush      2002/11/01 12:57:16

  Modified:    src/share/org/apache/struts/taglib/html
                        JavascriptValidatorTag.java
  Log:
  Validator was always looking at resources for the default module.  Changed
  lookup so that it is module-relative.
  
  Patch provided by: [EMAIL PROTECTED] (Brian Ely)
  
  PR: 14167
  
  Revision  Changes    Path
  1.12      +3 -2      
jakarta-struts/src/share/org/apache/struts/taglib/html/JavascriptValidatorTag.java
  
  Index: JavascriptValidatorTag.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/html/JavascriptValidatorTag.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- JavascriptValidatorTag.java       30 Oct 2002 02:31:10 -0000      1.11
  +++ JavascriptValidatorTag.java       1 Nov 2002 20:57:16 -0000       1.12
  @@ -312,7 +312,8 @@
           if (form != null) {
               if ("true".equals(dynamicJavascript)) {
                   MessageResources messages = (MessageResources)
  -                        pageContext.getAttribute(bundle, 
PageContext.APPLICATION_SCOPE);
  +                        pageContext.getAttribute(bundle + config.getPrefix(),
  +                                                 PageContext.APPLICATION_SCOPE);
   
                   List lActions = new ArrayList();
                   List lActionMethods = new ArrayList();
  
  
  

--
To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org>

Reply via email to