RE: how to remove the file icons from the editable tree table ?

2013-01-24 Thread Colin Rogers
Extend DefaultAbstractTree and override getFolderOpen() and getFolderClosed()  
- which are called by newNodeIcon() (eventually)?

-Original Message-
From: grazia [mailto:grazia.russolass...@gmail.com]
Sent: 25 January 2013 04:18
To: users@wicket.apache.org
Subject: Re: how to remove the file icons from the editable tree table ?

DefaultAbstractTree.newNodeIcon is the culprit ... I guess I can extend class 
TreeTable, which extends DefaultAbstractTree, and then override newNodeIcon as 
I need to ...
Any easier way  ?



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/how-to-remove-the-file-icons-from-the-editable-tree-table-tp4655709p4655733.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

EMAIL DISCLAIMER This email message and its attachments are confidential and 
may also contain copyright or privileged material. If you are not the intended 
recipient, you may not forward the email or disclose or use the information 
contained in it. If you have received this email message in error, please 
advise the sender immediately by replying to this email and delete the message 
and any associated attachments. Any views, opinions, conclusions, advice or 
statements expressed in this email message are those of the individual sender 
and should not be relied upon as the considered view, opinion, conclusions, 
advice or statement of this company except where the sender expressly, and with 
authority, states them to be the considered view, opinion, conclusions, advice 
or statement of this company. Every care is taken but we recommend that you 
scan any attachments for viruses.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: how to remove the file icons from the editable tree table ?

2013-01-23 Thread Paul Bors
You can:

1) Extend the java class and override its HTML mark-up by preserving the
wicket:id component tree in your own markup
Then in your own java you can call setVisible(false) or replace it with
an empty panel
2) Analyze the HTML for the component:
span class=icon style=background-image:
url(../../wicket/resource/org.apache.wicket.extensions.markup.html.tree.DefaultAbstractTree/res/folder-closed-ver-EA16980AB437FA6BA4ABA3D480E83E9E.gif);/
Notice is using CSS w/ a icon class so override that.

~ Thank you,
   Paul Bors

On Wed, Jan 23, 2013 at 3:25 PM, grazia grazia.russolass...@gmail.comwrote:

 http://apache-wicket.1842946.n4.nabble.com/file/n4655709/editabletree.png
 

 How could we remove the icons in the attached image from the editable tree
 table ? Or at least replace them with something customized ?
 It is also on the wicket example page :
 http://www.wicket-library.com/wicket-examples/ajax/tree/table/editable?0

 Thank you in advance



 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/how-to-remove-the-file-icons-from-the-editable-tree-table-tp4655709.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org