Primefaces dialog + commandButton

前端 未结 2 1484
一整个雨季
一整个雨季 2020-12-03 19:05

I\'m trying to use primefaces combined with . In my .xhtml page I have a picklist and commandButton which i

2条回答
  •  攒了一身酷
    2020-12-03 19:33

    You can try either of the following , I vote number one, it's a cleaner design IMO

    1. Bring the outside of the general and put an inside it instead

        
            
                  
                      
                          #{skillslevel.skill.umiejetnosc}
                      
                      
                          
                              
                          
                      
                  
                     THIS BUTTON IS NOT FIRED
                  
                 
              
      
    2. Add appendToBody="false" to the to ensure the dialog is rendered within the html form in the DOM instead of being auto-relocated to end of HTML body. But this may cause inconsistent rendering in various browsers.

提交回复
热议问题