Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes JSF and the fly likes Build tag based on other custom tags Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Build tag based on other custom tags" Watch "Build tag based on other custom tags" New topic

Build tag based on other custom tags

Christian Nicoll
Ranch Hand

Joined: Mar 09, 2008
Posts: 106
Hello ranchers,

I want to create a new tag which is based on other custom tags. If I use native html tags, then there is no problem to create the output, for that I use methods like writer.startElement(), writer.writeAttribute() and writer.endElement().

But how can I use non-html tags in my new custom component? For example there exists a tag like <my:showSomething> and I want to use the output of this tag in a tag <my:showSomethingElse>.

Any experiences about this ?

My SCBCD-Notes - My Hello World Webservice
I agree. Here's the link:
subject: Build tag based on other custom tags
Similar Threads
Using Custom tags inside HTML or Scriptlet
Process JSP Stream explicitly
Question on TagExtensions
How can I write jsp lib that removes html tag
Tutorial on Dynamic Attributes