selectOneMenu ajax events

后端 未结 4 1068
臣服心动
臣服心动 2020-12-03 02:45

I am using an editable primefaces selectOneMenu to display some values. If the user selects an item from the List a textarea should be updated. However, if the user types so

4条回答
  •  星月不相逢
    2020-12-03 03:30

    Be carefull that the page does not contain any empty component which has "required" attribute as "true" before your selectOneMenu component running.
    If you use a component such as

    
    

    then,

    
    

    and forget to fill the required component, ajax listener of selectoneMenu cannot be executed.

提交回复
热议问题