File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
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
Assigning the custom tag's output to a java variable
Build tag based on other custom tags
Custom Tag Query
Question on Tag files
How to have output of tag handler processed by struts tag handlers?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015