Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.platform.ui.web.compat.tomahawk
Class DisabledTomahawkConverter

java.lang.Object
  extended by org.nuxeo.ecm.platform.ui.web.compat.tomahawk.DisabledTomahawkConverter
All Implemented Interfaces:
javax.faces.convert.Converter

public class DisabledTomahawkConverter
extends java.lang.Object
implements javax.faces.convert.Converter

Converter issuing a conversion error with a disabled message.

Author:
Anahide Tchertchian

Field Summary
static java.lang.String DISABLED_CONVERTER_MESSAGE
           
 
Constructor Summary
DisabledTomahawkConverter()
           
 
Method Summary
 java.lang.Object getAsObject(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, java.lang.String value)
           
 java.lang.String getAsString(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DISABLED_CONVERTER_MESSAGE

public static final java.lang.String DISABLED_CONVERTER_MESSAGE
See Also:
Constant Field Values
Constructor Detail

DisabledTomahawkConverter

public DisabledTomahawkConverter()
Method Detail

getAsObject

public java.lang.Object getAsObject(javax.faces.context.FacesContext context,
                                    javax.faces.component.UIComponent component,
                                    java.lang.String value)
Specified by:
getAsObject in interface javax.faces.convert.Converter

getAsString

public java.lang.String getAsString(javax.faces.context.FacesContext context,
                                    javax.faces.component.UIComponent component,
                                    java.lang.Object value)
Specified by:
getAsString in interface javax.faces.convert.Converter

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.