Package org.kuali.rice.kns.web.ui
Class FormatAwareDecorator
java.lang.Object
org.kuali.rice.kns.web.ui.FormatAwareDecorator
- All Implemented Interfaces:
org.displaytag.decorator.DisplaytagColumnDecorator
@Deprecated
public class FormatAwareDecorator
extends Object
implements org.displaytag.decorator.DisplaytagColumnDecorator
Deprecated.
KNS Struts deprecated, use KRAD and the Spring MVC framework.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FormatAwareDecorator
public FormatAwareDecorator()Deprecated.
-
-
Method Details
-
decorate
public Object decorate(Object cellValue, javax.servlet.jsp.PageContext pageContext, org.displaytag.properties.MediaTypeEnum mediaType) throws org.displaytag.exception.DecoratorException Deprecated.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 notand cellValue is not null, theninvalid reference
MediaTypeEnum.HTMLCellComparatorHelper.getSanitizedValue(cellValue.toString())is returned.- Specified by:
decoratein interfaceorg.displaytag.decorator.DisplaytagColumnDecorator- Parameters:
cellValue-pageContext-mediaType-- Throws:
org.displaytag.exception.DecoratorException
-