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

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

Here is something so simple


5条回答
  •  长发绾君心
    2021-01-01 09:48

    JSF will prepend ID's of UINamingContainer children (h:form, h:dataTable, etc) with the ID of the UINamingContainer component itself. You can disable this by setting the prependId attribute to false.

    
    

    You only won't be able anymore to dynamically include the same piece of code somewhere else in the same view. Keep this in mind when disabling this.

提交回复
热议问题