On 7/23/05, Martin Cooper <[EMAIL PROTECTED]> wrote:
> Rahul mentioned SimpleTagSupport, and that would have been nice, but
> that came along long after the Struts tags, and indeed the Struts tags
> still need to support earlier versions of JSP.
Yes, ofcourse.
Luca - I probably should've clarif
On 7/23/05, Luca Passani <[EMAIL PROTECTED]> wrote:
> Hello again,
>
> I would like to improve the performance of a tag-lib I have created.
What I would recommend is extracting the "work" of your tags into
methods that do not depend on the container being around. Then you can
write simple JUnit t
On 7/23/05, Luca Passani <[EMAIL PROTECTED]> wrote:
>
> ooops, I felt this was a general taglib question, more than a Struts
> question. It only takes struts as an example,
> but the question is "is there a reason why it makes sense to always
> subclass BodyTagSupport in a tag-library?"
Sorry, I
Luca Passani <[EMAIL PROTECTED]> wrote on 07/23/2005 02:28:14 PM:
>
> ooops, I felt this was a general taglib question, more than a Struts
> question. It only takes struts as an example,
> but the question is "is there a reason why it makes sense to always
> subclass BodyTagSupport in a tag-libra
Luca Passani <[EMAIL PROTECTED]> wrote on 07/23/2005 11:18:57 AM:
> the problem is that when I reload the page, the number of milliseconds
> is zero and occasionally 8,9 or 10
> (I see output in the tomcat console running on my laptop, so I am sure
> that the browser is not caching).
>
> Quest
ooops, I felt this was a general taglib question, more than a Struts
question. It only takes struts as an example,
but the question is "is there a reason why it makes sense to always
subclass BodyTagSupport in a tag-library?"
Luca
Martin Cooper wrote:
Once again, please ask questions about
Once again, please ask questions about Struts on the Struts mailing
lists, rather than here.
--
Martin Cooper
On 7/23/05, Luca Passani <[EMAIL PROTECTED]> wrote:
>
> Hello, I would love to hear about some taglib theory here.
>
> My understanding is that, when creating a new tag, I can inherit
Hello again,
I would like to improve the performance of a tag-lib I have created.
Some obvious optimizations would be to turn things like:
---
out.print(" href=\""+href+"\"");
//title is optional
if (!title.equals("")) {
out.print(" title=\""+title+"\"");
}
---
Hello, I would love to hear about some taglib theory here.
My understanding is that, when creating a new tag, I can inherit from
either TagSupport or BodyTagSupport
depending on whether I need to manipulate the tag content or not.
For this reason, most of my tags (WALL library) inherit from T