Add the supplied attribute to the model using a
generated name.
Note: Empty Collections are not added to
the model when using this method because we cannot correctly determine
the true convention name. View code should check for null rather
than for empty collections.
Parameters:
attribute - the model attribute value (never null)
Manipulate this response's cookies with the given consumer. The
cookies provided to the consumer are "live", so that the consumer can be used to
overwrite existing cookies,
remove cookies, or use any of the other
MultiValueMap methods.
Parameters:
cookiesConsumer - a function that consumes the cookies