jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From felip...@apache.org
Subject cvs commit: jakarta-taglibs/standard/src/org/apache/taglibs/standard/tlv JstlCoreTLV.java JstlFmtTLV.java JstlSqlTLV.java JstlXmlTLV.java
Date Wed, 07 Jan 2004 00:33:40 GMT
felipeal    2004/01/06 16:33:40

  Modified:    standard/src/org/apache/taglibs/standard/tlv Tag:
                        STANDARD_1_0_BRANCH JstlCoreTLV.java
                        JstlFmtTLV.java JstlSqlTLV.java JstlXmlTLV.java
  Log:
  Fix for bug 15703: added method validate()
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.19.2.1  +9 -1      jakarta-taglibs/standard/src/org/apache/taglibs/standard/tlv/JstlCoreTLV.java
  
  Index: JstlCoreTLV.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/standard/src/org/apache/taglibs/standard/tlv/JstlCoreTLV.java,v
  retrieving revision 1.19
  retrieving revision 1.19.2.1
  diff -u -r1.19 -r1.19.2.1
  --- JstlCoreTLV.java	30 Apr 2002 02:30:58 -0000	1.19
  +++ JstlCoreTLV.java	7 Jan 2004 00:33:40 -0000	1.19.2.1
  @@ -1,7 +1,7 @@
   /*
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 1999 The Apache Software Foundation.  All rights 
  + * Copyright (c) 1999-2004 The Apache Software Foundation.  All rights 
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -128,6 +128,14 @@
       // alternative identifiers for tags
       private final String IMPORT_WITH_READER = "import varReader=''";
       private final String IMPORT_WITHOUT_READER = "import var=''";
  +
  +
  +    //*********************************************************************
  +    // set its type and delegate validation to super-class
  +    public  ValidationMessage[] validate(
  +	    String prefix, String uri, PageData page) {
  +	return super.validate( TYPE_CORE, prefix, uri, page );
  +    }
   
   
       //*********************************************************************
  
  
  
  1.19.2.1  +9 -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.19
  retrieving revision 1.19.2.1
  diff -u -r1.19 -r1.19.2.1
  --- JstlFmtTLV.java	19 Apr 2002 21:59:15 -0000	1.19
  +++ JstlFmtTLV.java	7 Jan 2004 00:33:40 -0000	1.19.2.1
  @@ -1,7 +1,7 @@
   /*
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 1999 The Apache Software Foundation.  All rights 
  + * Copyright (c) 1999-2004 The Apache Software Foundation.  All rights 
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -127,6 +127,14 @@
       private final String MESSAGE_KEY = "key";
       private final String BUNDLE_PREFIX = "prefix";
       private final String VALUE = "value";
  +
  +
  +    //*********************************************************************
  +    // set its type and delegate validation to super-class
  +    public  ValidationMessage[] validate(
  +	    String prefix, String uri, PageData page) {
  +	return super.validate( TYPE_FMT, prefix, uri, page );
  +    }
   
   
       //*********************************************************************
  
  
  
  1.7.2.2   +9 -1      jakarta-taglibs/standard/src/org/apache/taglibs/standard/tlv/JstlSqlTLV.java
  
  Index: JstlSqlTLV.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/standard/src/org/apache/taglibs/standard/tlv/JstlSqlTLV.java,v
  retrieving revision 1.7.2.1
  retrieving revision 1.7.2.2
  diff -u -r1.7.2.1 -r1.7.2.2
  --- JstlSqlTLV.java	28 May 2003 00:27:41 -0000	1.7.2.1
  +++ JstlSqlTLV.java	7 Jan 2004 00:33:40 -0000	1.7.2.2
  @@ -1,7 +1,7 @@
   /*
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 1999 The Apache Software Foundation.  All rights 
  + * Copyright (c) 1999-2004 The Apache Software Foundation.  All rights 
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -89,6 +89,14 @@
       // attribute names
       private final String SQL = "sql";
       private final String DATASOURCE = "dataSource";
  +
  +
  +    //*********************************************************************
  +    // set its type and delegate validation to super-class
  +    public  ValidationMessage[] validate(
  +	    String prefix, String uri, PageData page) {
  +	return super.validate( TYPE_SQL, prefix, uri, page );
  +    }
   
   
       //*********************************************************************
  
  
  
  1.13.2.1  +9 -1      jakarta-taglibs/standard/src/org/apache/taglibs/standard/tlv/JstlXmlTLV.java
  
  Index: JstlXmlTLV.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/standard/src/org/apache/taglibs/standard/tlv/JstlXmlTLV.java,v
  retrieving revision 1.13
  retrieving revision 1.13.2.1
  diff -u -r1.13 -r1.13.2.1
  --- JstlXmlTLV.java	19 Apr 2002 21:59:15 -0000	1.13
  +++ JstlXmlTLV.java	7 Jan 2004 00:33:40 -0000	1.13.2.1
  @@ -1,7 +1,7 @@
   /*
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 1999 The Apache Software Foundation.  All rights 
  + * Copyright (c) 1999-2004 The Apache Software Foundation.  All rights 
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -123,6 +123,14 @@
       private final String EVAL = "evaluator";
       private final String VALUE = "value";
       private final String SOURCE = "xml";
  +
  +
  +    //*********************************************************************
  +    // set its type and delegate validation to super-class
  +    public  ValidationMessage[] validate(
  +	    String prefix, String uri, PageData page) {
  +	return super.validate( TYPE_XML, prefix, uri, page );
  +    }
   
   
       //*********************************************************************
  
  
  

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


Mime
View raw message