make it easier to customize node icons in the tree
--------------------------------------------------
Key: WICKET-192
URL: http://issues.apache.org/jira/browse/WICKET-192
Project: Wicket
Issue Type: Improvement
Components: wicket
Affects Versions: 1.2.4, 1.3, 2.0
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.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira