You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "K. Fred (JIRA)" <de...@myfaces.apache.org> on 2006/11/15 15:20:38 UTC

[jira] Commented: (TOMAHAWK-781) Unable to find setter method for attribute: colspan

    [ http://issues.apache.org/jira/browse/TOMAHAWK-781?page=comments#action_12450037 ] 
            
K. Fred commented on TOMAHAWK-781:
----------------------------------

This seems to have been a common bug for Tomahawk new component's attributes. Could anyone give a link (or instructions) how to fix these kind of bug? 

Is it a matter of Tag class or the component class?

Thanks for help.

> Unable to find setter method for attribute: colspan
> ---------------------------------------------------
>
>                 Key: TOMAHAWK-781
>                 URL: http://issues.apache.org/jira/browse/TOMAHAWK-781
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Columns
>    Affects Versions: 1.1.5-SNAPSHOT
>         Environment: My Faces 1.1.4
>            Reporter: K. Fred
>
> After setting colspan attribute to EL expression this exception is thrown:
> org.apache.jasper.JasperException: /body/comp/dataTable.jsp(14,1) Unable to find setter method for attribute: colspan
> 	at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
> 	at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:405)
> 	at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:146)
> 	at org.apache.jasper.compiler.Generator$GenerateVisitor.evaluateAttribute(Generator.java:2720)
> 	at org.apache.jasper.compiler.Generator$GenerateVisitor.generateSetters(Generator.java:2873)
> 	at org.apache.jasper.compiler.Generator$GenerateVisitor.generateCustomStart(Generator.java:2186)
> 	at org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1685)
> 	at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1441)
> 	at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
> 	at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
> 	at org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1705)
> 	at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1441)
> 	at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
> 	at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
> 	at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219)
> 	at org.apache.jasper.compiler.Node$Root.accept(Node.java:456)
> 	at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
> 	at org.apache.jasper.compiler.Generator.generate(Generator.java:3320)
> 	at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:198)
> 	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
> 	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
> 	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
> 	at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
> 	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:305)
> 	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
> 	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> 	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
> 	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
> 	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
> 	at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
> 	at org.apache.jasper.runtime.PageContextImpl.doInclude(PageContextImpl.java:631)
> 	at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:625)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:126)
> 	at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:149)
> 	at org.apache.struts.tiles.taglib.InsertTag.doInclude(InsertTag.java:761)
> 	at org.apache.struts.tiles.taglib.InsertTag$InsertHandler.doEndTag(InsertTag.java:893)
> 	at org.apache.struts.tiles.taglib.InsertTag.doEndTag(InsertTag.java:462)
> .......

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira