JSF bean property not evaluated in external JavaScript file

后端 未结 4 622
终归单人心
终归单人心 2021-01-16 10:19

If I want to evaluate a JSF bean property from within JavaScript, I see that it works if the JavaScript snippet is inside the xhtml file, but doesn\'t work when the JavaScri

4条回答
  •  失恋的感觉
    2021-01-16 10:47

    I personally prefer the following approach

    I just don't like mixing js code with JSF...

提交回复
热议问题