jsf and primefaces update problem

后端 未结 3 521
囚心锁ツ
囚心锁ツ 2021-01-14 21:33

I have a JSF page with two forms (pseudo-code below).

First form is for a user and has text fields and a table of phone numbers, and a link for adding a new phone

3条回答
  •  南笙
    南笙 (楼主)
    2021-01-14 21:52

    Other thing you can do is set the "prependId" form attribute to "false":

    
    

    This way you don't need to use the nested id's and might use:

    update="phonesPanel" 
    

提交回复
热议问题