Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.ui.web.component.seam
Class UICellExcel

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by org.jboss.seam.excel.ui.ExcelComponent
              extended by org.jboss.seam.excel.ui.UICellBase
                  extended by org.jboss.seam.excel.ui.UICell
                      extended by org.nuxeo.ecm.platform.ui.web.component.seam.UICellExcel
All Implemented Interfaces:
StateHolder, org.jboss.seam.excel.WorksheetItem

public class UICellExcel
extends org.jboss.seam.excel.ui.UICell

Override of Seam cell component to control html encoding of accents in excel.

Since:
5.4.3

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jboss.seam.excel.ui.UICell
org.jboss.seam.excel.ui.UICell.CellType
 
Nested classes/interfaces inherited from interface org.jboss.seam.excel.WorksheetItem
org.jboss.seam.excel.WorksheetItem.ItemType
 
Field Summary
static String DEFAULT_CHARACTER_ENCODING
           
static String DEFAULT_CONTENT_TYPE
           
 
Fields inherited from class org.jboss.seam.excel.ui.UICell
COMPONENT_TYPE
 
Constructor Summary
UICellExcel()
           
 
Method Summary
static String cmp2String(FacesContext facesContext, UIComponent component)
          Helper method for rendering a component (usually on a facescontext with a caching reponsewriter)
 Object getValue()
           
 void setValue(Object value)
           
 
Methods inherited from class org.jboss.seam.excel.ui.UICell
getColumn, getDataType, getFamily, getItemType, getRow, setColumn, setRow
 
Methods inherited from class org.jboss.seam.excel.ui.UICellBase
getComment, getCommentHeight, getCommentWidth, setComment, setCommentHeight, setCommentWidth
 
Methods inherited from class org.jboss.seam.excel.ui.ExcelComponent
getChildrenOfType, getStyle, getStyleClass, setStyle, setStyleClass
 
Methods inherited from class javax.faces.component.UIComponentBase
broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getContainerClientId, getValueExpression, setValueExpression
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_CONTENT_TYPE

public static final String DEFAULT_CONTENT_TYPE
See Also:
Constant Field Values

DEFAULT_CHARACTER_ENCODING

public static final String DEFAULT_CHARACTER_ENCODING
See Also:
Constant Field Values
Constructor Detail

UICellExcel

public UICellExcel()
Method Detail

getValue

public Object getValue()
Overrides:
getValue in class org.jboss.seam.excel.ui.UICell

setValue

public void setValue(Object value)
Overrides:
setValue in class org.jboss.seam.excel.ui.UICell

cmp2String

public static String cmp2String(FacesContext facesContext,
                                UIComponent component)
                         throws IOException
Helper method for rendering a component (usually on a facescontext with a caching reponsewriter)

Parameters:
facesContext - The faces context to render to
component - The component to render
Returns:
The textual representation of the component
Throws:
IOException - If the JSF helper class can't render the component

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.