using: facelets, jsf2, tomcat
I am creating a TagHandler and I want to write back something through responseWriter().
When using UIComponent subclass, I can do this:
ResponseWriter writer = facesContext.getResponseWriter();
writer.startElement("table", component); //bla bla bla
But why is faceletContext-> getFacesContext() -> getResponseWriter() NULL in TagHandler. How can i achieve what I am looking for?
[b]Observation: [/b]
In TagHandler: com.sun.faces.context.FacesContext
In UIComponent: javax.faces.context.FacesContext.
[Message sent by forum member 'tahirraza' ]
http://forums.java.net/jive/thread.jspa?messageID=372584