A
A. Brinkmann
Hi,
I made a custom tag (extending TagSupport),
which looks like this:
<test:mytag key="foo"/>
And in the implementation of this tag, in doStartTag(),
I do the following:
out.write("<bean:message key=\""+key+"\"/>");
But well, the struts tag is just written in the output,
and not evaluated. In this case, I could just get the
resource in my implementation instead of using the struts
tag, but I want to encapsulate other struts tags in the
same way, and have them evaluated. Is that possible?
Thanks in advance,
A. Brinkmann.
I made a custom tag (extending TagSupport),
which looks like this:
<test:mytag key="foo"/>
And in the implementation of this tag, in doStartTag(),
I do the following:
out.write("<bean:message key=\""+key+"\"/>");
But well, the struts tag is just written in the output,
and not evaluated. In this case, I could just get the
resource in my implementation instead of using the struts
tag, but I want to encapsulate other struts tags in the
same way, and have them evaluated. Is that possible?
Thanks in advance,
A. Brinkmann.