How to refresh page in JSF on selectOneMenu selection?

前端 未结 2 1624
臣服心动
臣服心动 2021-01-06 17:52

I have a page containing a PrimeFaces (2.2.1) Editor component, a Refresh button and a selectOneMenu, whose selection affects the contents of the Editor, as follows:

2条回答
  •  天命终不由人
    2021-01-06 18:31

    please try the onchange="window.location.reload();" approach like:

    
        
        
    
    

    This works just fine in my environment (GF 3.1.1, PF 3.2) but please be aware that there is the possibility of interrupting some ajax functinality.

    Hope this helpes, have Fun!

提交回复
热议问题