How do I get PrimeFaces

to call valueChangeListener?

后端 未结 2 1154
天涯浪人
天涯浪人 2020-12-09 04:55

Using PF 3.0-RC1 Snapshot (11/22/2011)

I have a in a composite component. I want to call the valueChangeListener when a selection is made, but it does not appear to

2条回答
  •  长情又很酷
    2020-12-09 05:39

    Add f:ajax statement for p:selectOneMenu , it will create ajax call and your value will be submitted EX:

          
          
           
           
    

    Or you can provide panel id or datatable id ,if you dont want torender the whole form, like:

        
    

提交回复
热议问题