The coding of Tag classes is actually not a very difficult thing to learn. I recommend you take a look at the source from Abey Mullassery's image tags in commons sandbox to see how you can do all this. It really is not hard. After about ten minutes study and ten minutes coding, I had successfully subclassed the <html:image> class to do some custom stuff I wanted.
Jack On 4/20/05, Fogleson, Allen <[EMAIL PROTECTED]> wrote: > Scott, > > The short answer is you can't use a "tag" in a taglib class.. however > there are ways "around" that. You could subclass the tag so that the > processing can still occur. You could (though this would likely be > messy) call the taglibs classes yourself. But you would basically then > have to manage the lifecycle. Like I said messy. > > Al > > > -----Original Message----- > From: Scott Purcell [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 20, 2005 10:21 AM > To: user@struts.apache.org > Subject: HTML:tags in a Tag > > Hello, > > While finishing up a project, I found the need to create a Tag to use in > my JSP file. > > Problem is, I have created all view using the HTML:tags. Can the > HTML:tags be used in a Tag file? In my tag, I have access to a > JspWriter, but I am not sure how to use the tags in the class, since it > is a class. > > Can this be done? Any ideas of workarounds? > > Thanks, > Scott > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- "You can lead a horse to water but you cannot make it float on its back." ~Dakota Jack~ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]