xxxxxxxxxx
/*look for implementation of ApparecchioRent in project complex :
- build a class just to have a model to collect some data from a form and run actions
- add a form with fields for each model property, with custom width of the label container
- style the form
- add validators and labels to model and control them from js in case of error
- use a NumberControl instead of a simpler html input number
- get visible rows from datatable and build an array with their ids
- serialize the array of ids and assign it to a hidden field in the form
- intercept beforeSubmit, launch loading animation and send the data
- get data in php and deserialize the array of strings
- run actions of update/save in db with try/catch
- send positive response from php to js or error msg in case of exceptions
- display error msg in js or trigger datatable reload on positive response
*/