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

Alastair Maw updated WICKET-192:
--------------------------------

        Fix Version/s:     (was: trunk)
    Affects Version/s:     (was: 2.0 branch (discontinued))
                           (was: 1.2.4)

I find this easy enough to do in code, but whatever. This shouldn't block 1.3.0.

> make it easier to customize node icons in the tree
> --------------------------------------------------
>
>                 Key: WICKET-192
>                 URL: https://issues.apache.org/jira/browse/WICKET-192
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: trunk
>            Reporter: Igor Vaynberg
>         Assigned To: Matej Knopp
>
> looking at how the tree works now, we are inlining the url to the node icon 
> into the markup in newNodeIcon(). so if the user wants to customize the icon 
> images they have to do it through code which is a pita imho. it would be 
> better if instead of inlining resource urls we would set a css class 
> attribute, then users can provide their own stylesheet. 
> then we need to figure out a way to make it easy to silence the tree's own 
> css contribution so the user can override it with their own.
> make sense?
> its a lot easier for me to do <style>div.my-nav-tree div.wicket-tree 
> span.node-expanded { background-url: {foo.png}}</style> then have to register 
> my own wicket resource, override getNodeIcon(), etc

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