org.kuali.rice.kns.web.ui
Class FormatAwareDecorator

java.lang.Object
  extended by org.kuali.rice.kns.web.ui.FormatAwareDecorator
All Implemented Interfaces:
org.displaytag.decorator.DisplaytagColumnDecorator

Deprecated.

@Deprecated
public class FormatAwareDecorator
extends Object
implements org.displaytag.decorator.DisplaytagColumnDecorator

See Also:
decorate(Object, PageContext, MediaTypeEnum)

Constructor Summary
FormatAwareDecorator()
          Deprecated.  
 
Method Summary
 Object decorate(Object cellValue, javax.servlet.jsp.PageContext pageContext, org.displaytag.properties.MediaTypeEnum mediaType)
          Deprecated. Empty values don't show up properly in HTML.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormatAwareDecorator

public FormatAwareDecorator()
Deprecated. 
Method Detail

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 not MediaTypeEnum.HTML and cellValue is not null, then CellComparatorHelper.getSanitizedValue(cellValue.toString()) is returned.

Specified by:
decorate in interface org.displaytag.decorator.DisplaytagColumnDecorator
Parameters:
cellValue -
pageContext -
mediaType -
Throws:
org.displaytag.exception.DecoratorException


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.