spring-framework
5.3.39

# set

operator fun Model.set(attributeName: String, attributeValue: Any)
Content copied to clipboard

Extension for Model.addAttribute providing Array like setter.

    model["firstName"] = "Mario"

Content copied to clipboard

#### Author

Mario Arias

#### Since

5.0

operator fun ModelMap.set(attributeName: String, attributeValue: Any)
Content copied to clipboard

Extension for ModelMap providing Array like setter.

    model["firstName"] = "Mario"

Content copied to clipboard

#### Author

Mario Arias

#### Since

5.0