Rahul Akolkar wrote:
On 11/17/05, Laurie Harper <[EMAIL PROTECTED]> wrote:

Craig McClanahan wrote:

On 11/17/05, David Whipple <[EMAIL PROTECTED]> wrote:


I would like to be able to create a custom tag which is able to use the
struts <html:text>, <html:dropdown> or <html:hidden> fields. I am not able
to find a way to create a tag library that can produce/call/reference
other
tags.

<snip/>

It's a bit messy; the functionality the tags encapsulate isn't exposed
in a way you can access directly. A cleaner alternative if you're using
JSP 2.0 is to use a tag file, which can then just contain standard JSP
to select and invoke the appropriate delegate tag. There are some issues
with doing this currently, which I have a work-in-progress solution to
(see http://issues.apache.org/bugzilla/show_bug.cgi?id=33064 for details).


<snap/>

Tag files are a serious option. For example, see composition here [1].

Whatever you do, don't play container. I assure you, you have better
things to do ;-)

Ah, you haven't seen how ugly it can get wrapping the Struts Html tags in tag files... ;-)

It's definately the way to go for this kind of thing, we just need to clean up #33064 to make it viable.

L.


-Rahul

[1] 
http://wiki.apache.org/jakarta-taglibs/ReusableDialogComponents/Tutorials/Composition




I have searched everything I can think of and can't seem to find anything


that can allow this.

Does anyone know a way to approach this?

Thanks,
Dave

Craig



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to