Listener attributes in p:treeNode

UI Components for JSF
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

cagatay.civici
Prime
Posts: 18616
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: 41
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

cagatay.civici
Prime
Posts: 18616
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

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 21 guests