cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Engelhart <>
Subject Re: taglibs & java data types
Date Sat, 19 Aug 2000 16:17:11 GMT
> Can you pass data types around using a taglib?  I am trying to write a  
simple taglib that
> takes a String and a Locale and return the value using  
ResourceBundle.getString() to
> return the localized string.
> The only examples i see are just passing strings around.  I realize that  
a Locale is
> basically just a string anyway so I could convert it from a Locale ->  
String -> Locale but
> that seems like extra work.  Any help would be appreciated. Here's the  
taglib snippet and
> the calling snippet:

Never mind this particular example.  I forget that the taglib has access  
to the request variable so I can say request.getLocale() from within my  

View raw message