You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2009/02/20 20:43:02 UTC

[jira] Resolved: (TOMAHAWK-1379) Type mismatch for property 'expandRoot', for Tag class 'org.apache.myfaces.custom.tree.taglib.TreeTag'

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

Leonardo Uribe resolved TOMAHAWK-1379.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.9-SNAPSHOT
         Assignee: Leonardo Uribe

The solution is change expandRoot variable to String and use Boolean.parseBoolean(String s) to convert it inside AbstractTreeTag.java. The implementation on jsf 1.2 keep using boolean, because its tld generation works different in both cases (1.1 and 1.2)

> Type mismatch for property 'expandRoot', for Tag class 'org.apache.myfaces.custom.tree.taglib.TreeTag'
> ------------------------------------------------------------------------------------------------------
>
>                 Key: TOMAHAWK-1379
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1379
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Tree
>    Affects Versions: 1.1.8
>         Environment: WebLogic81, Tomahawk for JSF1.1
>            Reporter: Lionel Li
>            Assignee: Leonardo Uribe
>             Fix For: 1.1.9-SNAPSHOT
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> I use Tomahawk for JSF1.1 + SUN JSF 1.1 RI 
> My application occur a error when I publish it to WebLogic81, but it's ok in Tomcat5.5.
>  
> Here is the error:
> Parsing of JSP File '/test.jsp' failed: 
> ________________________________________
> /test.jsp(5): Error in using tag library uri='http://myfaces.apache.org/tomahawk' prefix='t': type mismatch for property 'expandRoot', for Tag class 'org.apache.myfaces.custom.tree.taglib.TreeTag': tld says java.lang.String, implementation type is boolean
> probably occurred due to an error in /test.jsp line 5:
> <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%> 

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