You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Ronald Müller (JIRA)" <de...@myfaces.apache.org> on 2010/03/11 11:00:27 UTC

[jira] Commented: (TOMAHAWK-1496) HtmlTreeRenderer 'background-image' incorrect html style attribute

    [ https://issues.apache.org/jira/browse/TOMAHAWK-1496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12843989#action_12843989 ] 

Ronald Müller commented on TOMAHAWK-1496:
-----------------------------------------

I just want to confirm this bug and add a patch. This bug is related to two lines in class HtmlTreeRenderer. 

BTW i took *one* day to get the tomahawk-sources compiled in my eclipse-ide and finally managed it by removing this single class from the tomahawk-binary and putting the HtmlTreeRenderer.java-sources to my workspace. 

in detail:

i checked out the 'current'-folder (http://svn.apache.org/repos/asf/myfaces/current/)

1) no way to compile tomahawk with maven: maven2 produced constantly build errors (only at the tomahawk-package, myfaces-core went fine)
2) tried to compile only sources from package "org.apache.myfaces.custom.tree2" - there are some sources missing: (HtmlTree.java, TreeTag.java) last seen in version 1.1.6 !? (/myfaces/tomahawk/tags/1_1_6/core/src/main/java/org/apache/myfaces/custom/tree2), searched the whole myfaces-repo - but nothing (automatically generated ?)

i personally think open source is a great idea and i want to support those projects whenever its possible to me. but in this case it was extremly complicated. 














> HtmlTreeRenderer  'background-image' incorrect html style attribute
> -------------------------------------------------------------------
>
>                 Key: TOMAHAWK-1496
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1496
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Tree2
>    Affects Versions: 1.1.7, 1.1.8, 1.1.9
>         Environment: Linux, firefox, ie
>            Reporter: Daniel del Río
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> Currently the "td" with the "line-trunk" images have the style to "background-image:/path/to/theImage.gif" and should be:
> "background-image:url('/path/to/theImage')" (see line 506).  This bug produces that some trees with big images in the nodes looks bad.

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