[prev in list] [next in list] [prev in thread] [next in thread]
List: taglibs-user
Subject: Re: Standard eval tag
From: Shawn Bayern <shawn.bayern () yale ! edu>
Date: 2002-01-27 18:39:33
[Download RAW message or body]
On Sun, 27 Jan 2002 bayard@generationjava.com wrote:
> How do I put the result of the tag into the method? Without having to
> create a tag for Language. My suggested solution would be a tag which
> places its body into a named variable. So:
>
> <standard:eval var="name"><store:get jdo="person.name"/></standard:eval>
> <%
> out.write(Language.translateToSwahili(context.get("name")));
> %>
>
> Or some such...
Unless I'm misunderstanding your request, you can do this with <c:set> --
<c:set var="name">
<store:get ... />
</c:set>
Shawn
--
To unsubscribe, e-mail: <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@jakarta.apache.org>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic