tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kin...@apache.org
Subject cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler TagPluginManager.java
Date Wed, 12 Feb 2003 02:40:43 GMT
kinman      2003/02/11 18:40:43

  Modified:    jasper2/src/share/org/apache/jasper/compiler
                        TagPluginManager.java
  Log:
  - Oops!  Forgot this one.
  
  Revision  Changes    Path
  1.12      +10 -3     jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/TagPluginManager.java
  
  Index: TagPluginManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/TagPluginManager.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- TagPluginManager.java	12 Feb 2003 02:22:51 -0000	1.11
  +++ TagPluginManager.java	12 Feb 2003 02:40:43 -0000	1.12
  @@ -197,6 +197,13 @@
   	    return node.getChildInfo().isScriptless();
   	}
   
  +	public boolean isConstantAttribute(String attribute) {
  +	    Node.JspAttribute attr = getAttribute(attribute);
  +	    if (attr == null)
  +		return false;
  +	    return attr.isLiteral();
  +	}
  +
   	public boolean isAttributeSpecified(String attribute) {
   	    return getAttribute(attribute) != null;
   	}
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message