Create a temporary Closeable scope for the current ViewElementBuilderContext in which
the given attribute value is overridden with the specified value.
Create a temporary Closeable scope for the current ViewElementBuilderContext in which
the given attribute value is overridden with the specified value.
Methods inherited from interface org.springframework.core.AttributeAccessor
Try to resolve the message. Return message code if no message was found.
Parameters:
code - the code to lookup up, such as 'calculator.noRateSet'
args - array of arguments that will be filled in for params within
the message (params look like "{0}", "{1,date}", "{2,time}" within a message),
or null if none.
Returns:
the resolved message if the lookup was successful; otherwise the message code
Try to resolve the message. Return message code if no message was found.
Parameters:
code - the code to lookup up, such as 'calculator.noRateSet'
args - array of arguments that will be filled in for params within
the message (params look like "{0}", "{1,date}", "{2,time}" within a message),
or null if none.
locale - the Locale in which to do the lookup
Returns:
the resolved message if the lookup was successful; otherwise the message code
Try to resolve the message. Return default message if no message was found.
Parameters:
code - the code to lookup up, such as 'calculator.noRateSet'
args - array of arguments that will be filled in for params within
the message (params look like "{0}", "{1,date}", "{2,time}" within a message),
or null if none.
defaultMessage - String to return if the lookup fails
Returns:
the resolved message if the lookup was successful;
otherwise the default message passed as a parameter
Try to resolve the message. Return default message if no message was found.
Parameters:
code - the code to lookup up, such as 'calculator.noRateSet'
args - array of arguments that will be filled in for params within
the message (params look like "{0}", "{1,date}", "{2,time}" within a message),
or null if none.
defaultMessage - String to return if the lookup fails
locale - the Locale in which to do the lookup
Returns:
the resolved message if the lookup was successful;
otherwise the default message passed as a parameter