Primefaces, JavaScript, and JSF does not work well together or am I doing something wrong

前端 未结 5 1910
野性不改
野性不改 2021-01-01 09:17

Here is something so simple


5条回答
  •  青春惊慌失措
    2021-01-01 10:04

    Don't forget that primefaces also let's you use the attribute widgetvar to tie your component to a javascript object.

    so for instance:

    
    

    then in your javascript code or some javascript callback you could do:

    tom.disable()
    

    etc.

提交回复
热议问题