You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by js...@apache.org on 2002/05/24 01:33:35 UTC
cvs commit: jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/tags/core CoreTagLibrary.java
jstrachan 02/05/23 16:33:35
Modified: jelly/src/java/org/apache/commons/jelly/tags/core
CoreTagLibrary.java
Log:
Patched the createExpression() method so that any TagLibrary implementaiton will get default Expression behaviour. This logic was mistakenly added to the CoreTagLibrary rather than TagLibrary by accident.
Revision Changes Path
1.9 +5 -28 jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/tags/core/CoreTagLibrary.java
Index: CoreTagLibrary.java
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/tags/core/CoreTagLibrary.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- CoreTagLibrary.java 17 May 2002 15:18:08 -0000 1.8
+++ CoreTagLibrary.java 23 May 2002 23:33:35 -0000 1.9
@@ -1,7 +1,7 @@
/*
- * $Header: /home/cvs/jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/tags/core/CoreTagLibrary.java,v 1.8 2002/05/17 15:18:08 jstrachan Exp $
- * $Revision: 1.8 $
- * $Date: 2002/05/17 15:18:08 $
+ * $Header: /home/cvs/jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/tags/core/CoreTagLibrary.java,v 1.9 2002/05/23 23:33:35 jstrachan Exp $
+ * $Revision: 1.9 $
+ * $Date: 2002/05/23 23:33:35 $
*
* ====================================================================
*
@@ -57,7 +57,7 @@
* information on the Apache Software Foundation, please see
* <http://www.apache.org/>.
*
- * $Id: CoreTagLibrary.java,v 1.8 2002/05/17 15:18:08 jstrachan Exp $
+ * $Id: CoreTagLibrary.java,v 1.9 2002/05/23 23:33:35 jstrachan Exp $
*/
package org.apache.commons.jelly.tags.core;
@@ -75,7 +75,7 @@
/** Describes the Taglib. This class could be generated by XDoclet
*
* @author <a href="mailto:jstrachan@apache.org">James Strachan</a>
- * @version $Revision: 1.8 $
+ * @version $Revision: 1.9 $
*/
public class CoreTagLibrary extends TagLibrary {
@@ -99,27 +99,4 @@
registerTag("new", NewTag.class);
}
- public Expression createExpression(
- ExpressionFactory factory,
- String tagName,
- String attributeName,
- String attributeValue)
- throws Exception {
-
- ExpressionFactory myFactory = getExpressionFactory();
- if (myFactory == null) {
- myFactory = factory;
- }
- if (myFactory != null) {
- return myFactory.createExpression(attributeValue);
- }
- // will use the default expression instead
- return null;
- }
-
-
- /** Allows derived tag libraries to use their own factory */
- protected ExpressionFactory getExpressionFactory() {
- return null;
- }
}
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>