h:commandLink doesn't work when I use this with t:tree2 tag
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   biju_kunniyur
Posted On:   Wednesday, January 17, 2007 09:11 AM

Hello I am facing problem while using the h:commandLink tag with t:tree2 tag. I am using the h:commandLink for each node of the tree to display it as a hyper link. But when I click on the hyper link it is not invoking the specified method in the backing bean, instead it is invoking the treeData method of the backing bean. My code look as below I am creating the tree in getTreeData() method of the backer bean. I am trying to invoke the method getEmpDetailsOfHierarchy()    More>>

Hello


I am facing problem while using the h:commandLink tag with


t:tree2 tag.
I am using the h:commandLink for each node of the tree to


display it as a hyper link. But when I click on the hyper


link it is not invoking the specified method in the backing


bean, instead it is invoking the treeData method of the


backing bean. My code look as below































I am creating the tree in getTreeData() method of the backer bean.


I am trying to invoke the method getEmpDetailsOfHierarchy()


of the backer bean on click of the node link. But it is not


happening, instead the getTreeData method is invoked. If I


remove the tree2 tag and just put the h:command link, it


works fine.


Can anybody help me on this.


Thanks In advance


Biju

   <<Less
About | Sitemap | Contact