View unanswered posts | View active topics It is currently Thu Feb 23, 2017 4:56 pm



This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
 How can select maximum of one checkbox from a CategoryTreeBe 
Author Message

Joined: Wed Feb 06, 2008 7:14 am
Posts: 53
Post How can select maximum of one checkbox from a CategoryTreeBe
Hi all,

I wanted to select a maximum of one checkbox from a CategoryTreeBean, if Ihave more than one Node(Category).
Is their any simple way.

I tried to achieve the same thing by adding InteractionListenerevent to CategoryTreeBean.

But when I tried to get the last selected component ie node but it always gives me a null value,

Category cat = (Category) categoryTreeBean1.getTree().getLastSelectedPathComponent();//it gives null value

I tried add TreeSelectionListener to categoryTreeBean(by getting tree from getTree() method) but It is not all listening.

**** And I want to select CheckBox of leafnode (category) when I select a leaf label also.

Thanks
Dayananda B V


Tue Feb 19, 2008 1:31 pm
Profile
Display posts from previous:  Sort by  
This topic is locked, you cannot edit posts or make further replies.   [ 1 post ] 

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.