How to define form action in JSF?

前端 未结 4 700
终归单人心
终归单人心 2020-12-14 12:55

In order to replace the default Spring security login form I came up with this solution:

4条回答
  •  抹茶落季
    2020-12-14 13:45

    Your best chance is to use the onclick property of the button. This is an example with a primefaces commandButton, but it will also work for jsf components because it uses the (native) javascript onclick function.

    
     
    
    

提交回复
热议问题