Error in facelets component tag
-------------------------------

                 Key: MYFACES-2595
                 URL: https://issues.apache.org/jira/browse/MYFACES-2595
             Project: MyFaces Core
          Issue Type: Bug
          Components: JSR-314
    Affects Versions: 2.0.0-beta-2
            Reporter: Werner Punz


Following facelets taglib code is correct according to the spec

 <tag>
        <tag-name>tagHandlertest</tag-name>
        <component>
            <component-type>myComponentType</component-type>
            <renderer-type>myRendererType</renderer-type>
            
<handler-class>org.apache.myfaces.javaloader.componentTest.MyComponentTag</handler-class>
        </component>
    </tag>

but yet it fails:
Caused by: org.xml.sax.SAXException: Error Handling 
[file:/Users/werpu2/Desktop/development/workspace/extensions-scripting3/examples/myfaces20-example/target/myfaces20-example-1.0-SNAPSHOT/WEB-INF/facelets/groovy-taglib....@69,102]
 <handler-class>

According to the spec: 1.2 the <handler-class> can exist under both the <tag> 
attribute and the <component> attribute the component -> handler-class has been 
added in jsf 2.0. I assume we run some old code here which has yet to implement 
this.
 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to