A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCM Java EE 6 Enterprise Architect Exam Guide
this week in the
Using custom tag from the other custom tag
Joined: Dec 02, 2003
Mar 17, 2004 00:25:00
I want to wrap existing custom tag with another custom tag. Like this:
Some other output from extended tag
But! I dont want to do:
Joined: Mar 08, 2004
Mar 17, 2004 11:47:00
Take a look at your syntax ...
<originalTag /> Output original <extendedTag /> Output original Some other output from extended tag
By writing the original as <originalTag/> you CANNOT specify any body for the tag and that tag effectly ends there because you end it with />.
The only way to embed one tag in another would be:
I agree. Here's the link:
subject: Using custom tag from the other custom tag
Build tag based on other custom tags
Question on Tag files
Assigning the custom tag's output to a java variable
How to have output of tag handler processed by struts tag handlers?
Custom Tag Query
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014