How to use jsf.ajax.request to manually send ajax request in JSF

前端 未结 3 1891
我在风中等你
我在风中等你 2020-12-05 16:40

I have a table and each row has the \'onclick\' configured to call a js function - this part works. I would like the function to issue an ajax request to a method that I can

3条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-05 17:17

    Using native JSF alone, I have no idea how to do that. However, you should take a look at PrimeFace's RemoteCommand. It's exactly what you need at the moment. It would be something like this:

    
    
    
    

提交回复
热议问题