I am trying to return multiple attribute objects in my model and then use dot notation in the path property of the form:input tag to reference them. But much to my surprise, it does not appear that it can be done according to SPR-5025. The following code does not work but would be great if it did.
....anyone know of a workaround?
Controller:
Then I'd like to reference it like this:Code:...... model.addAttribute("product", product); model.addAttribute("location", location); ......
Code:<form:input path="product.price" id="price"/> <form:input path="location.street" id="street"/>


Reply With Quote
