This is a suggestion to the JSTL group.
Consider the following hypothetical code:
<store:get jdo="person.name"/>
This code returns a String, but like many taglibs does not offer the 'var'
attribute for placing the result in.
I would then like to use a piece of standard code from my company library:
Language.translateToSwahili(String)
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...
Bay
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>