tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wendy Smoak <>
Subject RE: taglib: tags embedded in output
Date Sat, 04 Sep 2004 00:05:31 GMT
> From: 
> Example... my tag ABC evaluates to:
> <html:select property="cd_interest_paid_option">
> <html:option value="" key="Choose One"/>
> </html:select>
> I have used TagSupport class, it returns the above string to the JSP,
> but I want the output of it to be displayed. How to do that?

I don't think you can, (easily,) it would require two passes through the

This looks like a job for Struts-EL to me.  Even if they're not Struts
tags, you can make your own tags expression-language-aware, and have
something like:

<html-el:select property="${some_option}">
  <html-el:option value="" key="Choose One"/>

Then if 'some_option' is an attribute sitting in some scope, it will be
substituted when the tag is evaluated.

If you explain more about the problem you're trying to solve, someone
will probably have another suggestion.

Wendy Smoak

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message