Listener attributes in p:treeNode

Components, Ajax Framework, Utilities and More.
Post Reply
josel
Posts: 16
Joined: 15 Dec 2009, 20:51
Location: Brazil

08 Jan 2010, 21:12

Hi

I would like to know if maybe in your next releases of PF you have in mind to add the possibility of declaring the attributes nodeSelectListener, nodeExpandListener, nodeCollapseListener in the p:treeNode component. Because as their names say they are more node listeners than p:tree ones and since the p:treeNode give us the chance to have so many type of nodes with different content in them, sometimes we also need to handle these events differently based on the type of node.

Thanks a lot.

JoseL
JoseL
---------------------------
PrimeFaces 2.0.0
JSF 2.0.2
Tomcat 6

User avatar
optimus.prime
Prime
Posts: 17335
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

09 Jan 2010, 18:18

Hi Josel,

Thanks for the feedback, I'll consider this. Probably it's a good idea to keep the global listeners on p:tree and treeNode specific listeners on treeNode.

sdguna
Posts: 39
Joined: 06 May 2010, 17:42

08 Aug 2010, 09:54

Hi Prime,

This is a very common use case to control the behaviour of an event based on P:treenode. This will allow the treenode to be more flexible and versatile.

Thanks

User avatar
optimus.prime
Prime
Posts: 17335
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

08 Aug 2010, 11:38

I agree, thanks for your feedback, we'll discuss this for sure.

Post Reply
  • Information
  • Who is online

    Users browsing this forum: Baidu [Spider], Bing [Bot] and 34 guests