jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu...@apache.org
Subject cvs commit: jakarta-taglibs/standard/src/org/apache/taglibs/standard/tlv JstlFmtTLV.java
Date Wed, 17 Apr 2002 21:10:59 GMT
luehe       02/04/17 14:10:59

  Modified:    standard/src/org/apache/taglibs/standard/tlv JstlFmtTLV.java
  Log:
  Fixed 8225: Allow dangling scope for <fmt:setBundle>
  
  Revision  Changes    Path
  1.17      +2 -1      jakarta-taglibs/standard/src/org/apache/taglibs/standard/tlv/JstlFmtTLV.java
  
  Index: JstlFmtTLV.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/standard/src/org/apache/taglibs/standard/tlv/JstlFmtTLV.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- JstlFmtTLV.java	17 Apr 2002 20:28:38 -0000	1.16
  +++ JstlFmtTLV.java	17 Apr 2002 21:10:59 -0000	1.17
  @@ -111,6 +111,7 @@
   
       // tag names
       private final String SETLOCALE = "setLocale";
  +    private final String SETBUNDLE = "setBundle";
       private final String BUNDLE = "bundle";
       private final String TIMEZONE = "timeZone";
       private final String MESSAGE = "message";
  @@ -191,7 +192,7 @@
                       SCOPE, qn, a.getValue(SCOPE)));
               if (qn.startsWith(prefix + ":")
                   && !isFmtTag(ns, ln, SETLOCALE) 
  -		&& !isFmtTag(ns, ln, BUNDLE)
  +		&& !isFmtTag(ns, ln, SETBUNDLE)
   		&& !isFmtTag(ns, ln, TIMEZONE)
                   && hasDanglingScope(a))
                   fail(Resources.getMessage("TLV_DANGLING_SCOPE", qn));
  
  
  

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


Mime
View raw message