Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

p:selectCheckboxMenu and availables p:ajax events

Ive been looking for all p:ajax events relateds with p:selectCheckBoxMenu

I need to click on selectCheckBoxMenu dropdown arrow and load again my object from bean.

Google it but with no success.

thanks in advance stack members.

like image 913
Al2x Avatar asked Jul 04 '13 17:07

Al2x


3 Answers

I used this on primefaces 5.2

<p:ajax event="change" listener="#{mb.yourlistener}" />
like image 76
Federico Traiman Avatar answered Dec 11 '22 05:12

Federico Traiman


Got the right answer from primefaces forum. Updating this post for further queries.

http://www.primefaces.org/showcase/ui/pprSelect.jsf

http://forum.primefaces.org/viewtopic.php?f=3&t=31975

like image 29
Al2x Avatar answered Dec 11 '22 05:12

Al2x


Check the source code for your specific primefaces version, for example for version 3.5 , see http://grepcode.com/file/repository.primefaces.org/org.primefaces/primefaces/3.5/org/primefaces/component/selectcheckboxmenu/SelectCheckboxMenu.java#SelectCheckboxMenu.0EVENT_NAMES

like image 33
acaruci Avatar answered Dec 11 '22 05:12

acaruci