File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
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
 
jQuery in Action, 2nd edition
 
subject: Build tag based on other custom tags