You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by "Sridhar.N" <sn...@loginsoftindia.com> on 2007/08/06 09:36:57 UTC

Adding New Images to Tree Nodes

Hi, 

I am trying to add few icons/Images to an Tree Node, I tried using
addNewIcon() from DefaultAbstractTree but it adds the default folder-closed
and folder-open icons to the node. 

Thanks 
Sidds.

-- 
View this message in context: http://www.nabble.com/Adding-New-Images-to-Tree-Nodes-tf4222680.html#a12012176
Sent from the Wicket - User mailing list archive at Nabble.com.


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


Re: Adding New Images to Tree Nodes

Posted by "Sridhar.N" <sn...@loginsoftindia.com>.

    Is there any code snippet for reference, that would be helpfull.



igor.vaynberg wrote:
> 
> if you need additional icons you need to create your own fragment and put
> that into the node instead of the tree's default text-only fragment.
> 
> -igor
> 
> 
> On 8/6/07, Sridhar.N <sn...@loginsoftindia.com> wrote:
>>
>>
>> Hi,
>>
>> I am trying to add few icons/Images to an Tree Node, I tried using
>> addNewIcon() from DefaultAbstractTree but it adds the default
>> folder-closed
>> and folder-open icons to the node.
>>
>> Thanks
>> Sidds.
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Adding-New-Images-to-Tree-Nodes-tf4222680.html#a12012176
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/Adding-New-Images-to-Tree-Nodes-tf4222680.html#a12651553
Sent from the Wicket - User mailing list archive at Nabble.com.


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


Re: Adding New Images to Tree Nodes

Posted by Igor Vaynberg <ig...@gmail.com>.
if you need additional icons you need to create your own fragment and put
that into the node instead of the tree's default text-only fragment.

-igor


On 8/6/07, Sridhar.N <sn...@loginsoftindia.com> wrote:
>
>
> Hi,
>
> I am trying to add few icons/Images to an Tree Node, I tried using
> addNewIcon() from DefaultAbstractTree but it adds the default
> folder-closed
> and folder-open icons to the node.
>
> Thanks
> Sidds.
>
> --
> View this message in context:
> http://www.nabble.com/Adding-New-Images-to-Tree-Nodes-tf4222680.html#a12012176
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>