There seems to be a problem with the tld. You don't need to write anything to your tag class for attributes id, rendered and binding. They are handled by UIComponentTag. Adding these attributes to tld only should do the job.

On 6/5/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

I do like to use the rendered property the my custom component. What have
I to do?
public class UIInternalFrame extends UIComponentBase {

    ...
}

UIComponentBase has a method isRendered. I expect that also a setRendered
method will exist.
Must I only an entry in the taglibrary tld file?

The exception I get is

javax.servlet.ServletException: /home.jsp(23,4) Attribute rendered invalid
for tag internalFrame according to TLD
        javax.faces.webapp.FacesServlet.service(FacesServlet.java :121)
        org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:693)
        org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:660)
        org.apache.jsp.index_jsp._jspService (org.apache.jsp.index_jsp:51)
        org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
        org.apache.jasper.servlet.JspServletWrapper.service (JspServletWrapper.java:322)
        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
        javax.servlet.http.HttpServlet.service (HttpServlet.java:810)
        org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)



Reply via email to