| java.lang.Object org.kuali.core.web.ui.FormatAwareDecorator
FormatAwareDecorator | public class FormatAwareDecorator implements DisplaytagColumnDecorator(Code) | | |
decorate | public Object decorate(Object cellValue, PageContext pageContext, MediaTypeEnum mediaType) throws DecoratorException(Code) | | Empty values don't show up properly in HTML. So, the String " " is substituted for an empty or null value of cellValue
if mediaType is MediaTypeEnum.HTML. If mediaType is not
MediaTypeEnum.HTML and cellValue is not null, then
CellComparatorHelper.getSanitizedValue(cellValue.toString()) is returned.
Parameters: cellValue - Parameters: pageContext - Parameters: mediaType - |
|
|