jsf datatable problem with var attribute

前端 未结 2 1014
天命终不由人
天命终不由人 2021-01-24 08:15

While developing a small jsf application with datatable I am having following problem with this error

The method setVar(String) in the type DataTableTag is not a         


        
2条回答
  •  滥情空心
    2021-01-24 08:58

    Sounds like you're trying to send a String to a relational database when it's expecting another type, like Date or number, to a particular table and column.

    HTTP form elements only know about Strings. You should be validating and binding values from the UI on the server side before persisting them in a database.

提交回复
热议问题