Re: TagSupport vs BodyTagSupport

2005-07-24 Thread Luca Passani
Martin, Rahul thanks a lot to you both for answers in both threads. Very instructive. Unfortunately I have to support both versions of JSPs, so SimpleTag is out of question. I found a neat trick (used in another tag-lib) which prevented me to support two versions of my code while supporting

TagSupport vs BodyTagSupport

2005-07-23 Thread Luca Passani
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

Re: TagSupport vs BodyTagSupport

2005-07-23 Thread Martin Cooper
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 from

Re: TagSupport vs BodyTagSupport

2005-07-23 Thread Luca Passani
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

Re: TagSupport vs BodyTagSupport

2005-07-23 Thread Rahul P Akolkar
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-library?

Re: TagSupport vs BodyTagSupport

2005-07-23 Thread Martin Cooper
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 read it

Re: TagSupport vs BodyTagSupport

2005-07-23 Thread Rahul Akolkar
On 7/23/05, Martin Cooper [EMAIL PROTECTED] wrote: snip/ 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