[ 
https://issues.apache.org/jira/browse/TOMAHAWK-1339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Simon Kitching resolved TOMAHAWK-1339.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.8-SNAPSHOT

Fixed.

> tabChangeListener: only literal strings supported in "type" attribute
> ---------------------------------------------------------------------
>
>                 Key: TOMAHAWK-1339
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1339
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Tabbed Pane
>    Affects Versions: 1.1.7
>            Reporter: Simon Kitching
>             Fix For: 1.1.8-SNAPSHOT
>
>
> The "type" attribute of t:tabChangeListener is the name of a java class. It 
> is intended to support either literal classnames or an EL expression that 
> resolves to a String that is the name of a class.
> However due to a tiny bug in class TabChangeListenerTagHandler,  the type 
> attribute is always treated as a literal string. EL expressions therefore 
> cause a "ClassNotFound: #{.....}" type message.
> Line "if (!typeAttribute.isLiteral())" should not have that logical negation 
> there. The same error is present on the myfaces wiki page for 
> tomahawk+facelets, where this code presumably came from.

-- 
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