commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Cooper" <mart...@apache.org>
Subject Re: String handling TagLib
Date Wed, 08 Nov 2006 17:06:17 GMT
On 11/8/06, Aaron Freeman <aaron@sendthisfile.com> wrote:
>
> It's hard to believe there is not a commons String handling taglib


You're looking in the wrong place. Jakarta Commons doesn't do tag libraries;
Jakarta Taglibs does:

http://jakarta.apache.org/taglibs/

--
Martin Cooper


where all
> of the functions available to a String are encapsulated in a .TLD file
> like:
>
>   <function>
>     <name>replaceAll</name>
>     <function-class>com.layerz.util.StringUtil</function-class>
>     <function-signature>String replaceAll( java.lang.String,
> java.lang.String, java.lang.String )</function-signature>
>   </function>
>
> So that you can use them in JSTL like:
>
> <c:set var="variable" value="${string:replaceAll(param.source, param.regex
> ,
> param.replacement}"/>
>
> Maybe this exists and I am overlooking it?
>
> Aaron Freeman
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message