All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.metawidget.inspector.faces.UiFacesConverter Maven / Gradle / Ivy

The newest version!
// Metawidget
//
// This file is dual licensed under both the LGPL
// (http://www.gnu.org/licenses/lgpl-2.1.html) and the EPL
// (http://www.eclipse.org/org/documents/epl-v10.php). As a
// recipient of Metawidget, you may choose to receive it under either
// the LGPL or the EPL.
//
// Commercial licenses are also available. See http://metawidget.org
// for details.

package org.metawidget.inspector.faces;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Annotates the field should use the given Faces converter in the UI.
 * 

* This annotation uses the converter id, not its class. Alternatively, this annotation can * be an EL expression that evaluates to a javax.faces.convert.Converter instance. * * @author Richard Kennard */ @Retention( RetentionPolicy.RUNTIME ) @Target( { ElementType.FIELD, ElementType.METHOD } ) public @interface UiFacesConverter { /** * The id of the converter, must match that defined in faces-config.xml's * <converter-id>. This can also be an expression of the form * #{...} that evaluates to a javax.faces.convert.Converter instance. */ String value(); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy