DHTMLXForm and Spring mvc

Something I havent seen in the doc but apparently you can use the Spring “modellAtribute” tag to retrieve the data submitted by a DHTMLXForm.

..@RequestMapping(value = "/rand", method = RequestMethod.POST) public String randomizeAccount ( @ModelAttribute AccountCommand account, Model model){ ..

where “Account” is a POJO mapping the fields name in the DHTMLXForm.

Worse mentioning I thought.