tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Bayern <bay...@essentially.net>
Subject Re: Get "_${locale}" if !empty locale, else ""?
Date Tue, 08 Oct 2002 03:19:45 GMT
On 7 Oct 2002, David M. Karr wrote:

> I think the answer is no, but I'll ask anyway.
> 
> Is there any way to have a single expression return "_${locale}" if
> "${!empty locale}" or "" if "${empty locale}"?  I know this can be
> done with a "c:if" and "c:set", but I was hoping for a more compact
> form.

No, not with the EL alone.

-- 
Shawn Bayern
"JSTL in Action"   http://www.jstlbook.com


--
To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@jakarta.apache.org>


Mime
View raw message