Author: bayard Date: Mon Jul 13 05:22:04 2009 New Revision: 793458 URL: http://svn.apache.org/viewvc?rev=793458&view=rev Log: Adding a capitalize function based on Commons Lang. This begins the process of turning the String Taglib into a Lang Function map
Added: jakarta/taglibs/sandbox/extended/trunk/src/main/resources/META-INF/tlds/ jakarta/taglibs/sandbox/extended/trunk/src/main/resources/META-INF/tlds/taglibs-extended.tld (with props) Modified: jakarta/taglibs/sandbox/extended/trunk/pom.xml Modified: jakarta/taglibs/sandbox/extended/trunk/pom.xml URL: http://svn.apache.org/viewvc/jakarta/taglibs/sandbox/extended/trunk/pom.xml?rev=793458&r1=793457&r2=793458&view=diff ============================================================================== --- jakarta/taglibs/sandbox/extended/trunk/pom.xml (original) +++ jakarta/taglibs/sandbox/extended/trunk/pom.xml Mon Jul 13 05:22:04 2009 @@ -66,11 +66,16 @@ <scope>provided</scope> </dependency> <dependency> - <groupId>javax.servlet</groupId> + <groupId>javax.servlet.jsp</groupId> <artifactId>jsp-api</artifactId> <version>2.1</version> <scope>provided</scope> </dependency> + <dependency> + <groupId>commons-lang</groupId> + <artifactId>commons-lang</artifactId> + <version>2.4</version> + </dependency> </dependencies> </project> Added: jakarta/taglibs/sandbox/extended/trunk/src/main/resources/META-INF/tlds/taglibs-extended.tld URL: http://svn.apache.org/viewvc/jakarta/taglibs/sandbox/extended/trunk/src/main/resources/META-INF/tlds/taglibs-extended.tld?rev=793458&view=auto ============================================================================== --- jakarta/taglibs/sandbox/extended/trunk/src/main/resources/META-INF/tlds/taglibs-extended.tld (added) +++ jakarta/taglibs/sandbox/extended/trunk/src/main/resources/META-INF/tlds/taglibs-extended.tld Mon Jul 13 05:22:04 2009 @@ -0,0 +1,43 @@ +<?xml version="1.0" ?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<taglib + xmlns="http://java.sun.com/xml/ns/j2ee" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd" + version="2.0"> + <tlib-version>0.1</tlib-version> + <jsp-version>2.1</jsp-version> + <short-name>extended</short-name> + <uri>http://jakarta.apache.org/taglibs/extended-0.1</uri> + <display-name>Apache Extended Tag library</display-name> + + <description> + The Extended Tag Library is a collection of tags and functions to be used in addition to the Standard tag library. + </description> + + <!-- Commons Lang StringUtils functions --> + <function> + <name>capitalize</name> + <function-class>org.apache.commons.lang.StringUtils</function-class> + <function-signature> + java.lang.String capitalize(java.lang.String) + </function-signature> + </function> + +</taglib> Propchange: jakarta/taglibs/sandbox/extended/trunk/src/main/resources/META-INF/tlds/taglibs-extended.tld ------------------------------------------------------------------------------ svn:eol-style = native --------------------------------------------------------------------- To unsubscribe, e-mail: taglibs-dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: taglibs-dev-h...@jakarta.apache.org