set

operator fun Model.set(attributeName: String, attributeValue: Any?)

Extension for Model.addAttribute providing Array like setter.

model["firstName"] = "Mario"

Author

Mario Arias

Since

5.0


operator fun ModelMap.set(attributeName: String, attributeValue: Any)

Extension for ModelMap providing Array like setter.

model["firstName"] = "Mario"

Author

Mario Arias

Since

5.0