[ 
https://issues.apache.org/jira/browse/TRINIDAD-2351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13537812#comment-13537812
 ] 

Daniel Niklas edited comment on TRINIDAD-2351 at 12/21/12 12:04 PM:
--------------------------------------------------------------------

Patch based on 
http://svn.apache.org/repos/asf/myfaces/trinidad/tags/trinidad-2.0.1/trinidad-imp.
 

Patch contains:
- new method #getDefaultStyleClass --> returns "af|tree"
- new Skinning-Selectors TREE_STYLE 
- new Skinning-Selectors TREE_INDENT_STYLE_CLASS 
- new Skinning-SelectorsTREE_NODE_SPACER_STYLE_CLASS
- new Skinning-Selectors TREE_NODE_ICON_CELL 
- renders width/height of Icons instead of fix value from Renderer (when 
available)

Some notes to the patch:
The patch aims to be compatible! The patch does _not_ change rendering of the 
attributes width and height. This would be a reasonable change too, but it 
would break compatibility in a certain manner. With the new Skinning-Selectors, 
you can overwrite these settings (css --> !important).


                
      was (Author: dniklas):
    Patch based on 
http://svn.apache.org/repos/asf/myfaces/trinidad/tags/trinidad-2.0.1/trinidad-imp.
 

Patch contains:
- new method #getDefaultStyleClass --> returns "af|tree"
- new Skinning-Selectors TREE_STYLE 
- new Skinning-Selectors TREE_INDENT_STYLE_CLASS 
- new Skinning-SelectorsTREE_NODE_SPACER_STYLE_CLASS
- new Skinning-Selectors TREE_NODE_ICON_CELL 
- renders width/height of Icons instead of fix value from Renderer (when 
available)


                  
> <tr:tree> is not skinable
> -------------------------
>
>                 Key: TRINIDAD-2351
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2351
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 2.0.1-core
>            Reporter: Daniel Niklas
>         Attachments: TRINIDAD-2351_patch-1.diff
>
>
> The component <tr:tree> ist not entirely skinable, because there are missing 
> some Skinning-Selectors. Especially there is no selector "af|tree".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to