aspose file tools*
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 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Build tag based on other custom tags" Watch "Build tag based on other custom tags" New topic
Author

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 ?

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