How does JSF generate the name of the form input field?

后端 未结 4 816

Any idea anyone? Is it possible that we specify the name of the form input field? How to go about doing that?

4条回答
  •  无人共我
    2021-01-13 14:35

    It's generated as formId:fieldId

    So, if you had the following:

    
       
    
    

    The name (and HTML ID) of the search field would be:

    searchForm:searchField

提交回复
热议问题