This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
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 Java Interview Guide this week in the Jobs Discussion 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
It's not a secret anymore!