struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rlel...@apache.org
Subject cvs commit: jakarta-struts/src/share/org/apache/struts/taglib/html FormTag.java JavascriptValidatorTag.java
Date Wed, 30 Oct 2002 02:31:11 GMT
rleland     2002/10/29 18:31:11

  Modified:    src/share/org/apache/struts/taglib/html FormTag.java
                        JavascriptValidatorTag.java
  Log:
  use method getModuleConfig instead of getApplicationConfig to
  used internally to class
  
  Revision  Changes    Path
  1.30      +5 -5      jakarta-struts/src/share/org/apache/struts/taglib/html/FormTag.java
  
  Index: FormTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/html/FormTag.java,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- FormTag.java	26 Oct 2002 00:05:02 -0000	1.29
  +++ FormTag.java	30 Oct 2002 02:31:10 -0000	1.30
  @@ -848,7 +848,7 @@
       protected void lookup() throws JspException {
   
           // Look up the application module configuration information we need
  -        appConfig = RequestUtils.getApplicationConfig(pageContext);
  +        appConfig = RequestUtils.getModuleConfig(pageContext);
   
           if (appConfig == null) {
               JspException e = new JspException
  
  
  
  1.11      +2 -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.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- JavascriptValidatorTag.java	24 Oct 2002 06:20:33 -0000	1.10
  +++ JavascriptValidatorTag.java	30 Oct 2002 02:31:10 -0000	1.11
  @@ -292,7 +292,7 @@
       public int doStartTag() throws JspException {
           StringBuffer results = new StringBuffer();
   
  -        ApplicationConfig config = RequestUtils.getApplicationConfig(pageContext);
  +        ApplicationConfig config = RequestUtils.getModuleConfig(pageContext);
           ValidatorResources resources = (ValidatorResources)
                   pageContext.getAttribute(ValidatorPlugIn.VALIDATOR_KEY +
                   config.getPrefix(), PageContext.APPLICATION_SCOPE);
  
  
  

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


Mime
View raw message