/*
 * ====================================================================
 *
 * The Apache Software License, Version 1.1
 *
 * Copyright (c) 1999 The Apache Software Foundation.  All rights
 * reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 *
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 *
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in
 *    the documentation and/or other materials provided with the
 *    distribution.
 *
 * 3. The end-user documentation included with the redistribution, if
 *    any, must include the following acknowlegement:
 *       "This product includes software developed by the
 *        Apache Software Foundation (http://www.apache.org/)."
 *    Alternately, this acknowlegement may appear in the software itself,
 *    if and wherever such third-party acknowlegements normally appear.
 *
 * 4. The names "The Jakarta Project", "Tomcat", and "Apache Software
 *    Foundation" must not be used to endorse or promote products derived
 *    from this software without prior written permission. For written
 *    permission, please contact apache@apache.org.
 *
 * 5. Products derived from this software may not be called "Apache"
 *    nor may "Apache" appear in their names without prior written
 *    permission of the Apache Group.
 *
 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
 * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
 * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
 * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 * SUCH DAMAGE.
 * ====================================================================
 *
 * This software consists of voluntary contributions made by many
 * individuals on behalf of the Apache Software Foundation.  For more
 * information on the Apache Software Foundation, please see
 * <http://www.apache.org/>.
 *
 */

package es.ejie.frmk.presentacion.iu.taglib.base;


/**
 * Manifest constants for this package.
 */

public class Q70Constants extends org.apache.struts.taglib.html.Constants 
{
	// ----------------- GENERAL ----------------------------------------
	/**
	 * Clave de IP del servidor web del contenido estático de Geremua en 
	 * registrada en fichero de propiedades globales de Geremua (Q70.properties)
	 */
	public static final String FRMK_STATIC_PATH_KEY = "PREFIJO_URL_ESTATICO";
	
	/**  Clave de alias de directorio virtual en servidor web del contenido estático de Geremua en 
	 * registrada en fichero de propiedades globales de Geremua (Q70.properties) **/
	public static final String FRMK_STATIC_ALIAS_KEY = "ALIAS_ESTATICO";
	
	/** Nombre del directorio donde se encuentran los archivos javascript de Geremua **/
	public static final String FRMK_SCRIPTS_PATH = "/scripts";
	

	// ----------------- Q70HtmlTag -----------------------------------------
	/** Clave del contexto de pagina que contiene el valor del atributo i18nKey  
	* establecido por el tag Q70HtmlTag, Q70FormTag y Q70UseMenuDisplayerTag.*/
	public static final String HTML_I18N_KEY ="es.ejie.frmk.presentacion.iu.taglib.html.Q70HtmlTag";
	public static final String FORM_I18N_KEY ="es.ejie.frmk.presentacion.iu.taglib.html.Q70FormTag";
	public static final String USE_MENU_DISPLAYER_I18N_KEY ="es.ejie.frmk.presentacion.iu.taglib.html.menu.Q70UseMenuDisplayerTag";

	// ----------------- Q70OptionsCollectionTag ----------------------------
	/** Nombre de la propiedad etiqueta del bean de cada elemento de un desplegable. */
	public static final String LABEL_PROPERTY = "label";
	/** Nombre de la propiedad valor del bean de cada elemento de un desplegable. */
	public static final String VALUE_PROPERTY = "value";

	// -----------------  Modos de Display  ------------------------------
	/** Valor asigando al modo de presentacion lectura y escritura */
	public static final int MODE_READWRITE = 0;
	/** Valor asigando al modo de presentacion solo lectura */
	public static final int MODE_READONLY = 1;
	/** Valor asigando al modo de presentacion oculto */
	public static final int MODE_NOTDISPLAYED = 2;

	// -----------------  Gestor Tablas y Codigos  ---------------------------
	/** Nombre del bean del Gestor de Tablas y Codigos */
	public static final String TABLAS_BEAN = "es.ejie.frmk.presentacion.iu.taglib.html.TABLAS_BEAN";

	// -----------------  Gestor Mensajes e Internacionalizacion  ------------
	/** Nombre de la clave del fichero de recursos de cada aplicacion. 
	 *  Si existe, sobreescribe las recursos por defecto definidos para Geremua.
	 *  Esta en el fichero de configuracion del Gestor de Mensajes. */
	public static final String APP_PROPS_FILENAME = "EjieAppResourcesKey";	
	/** Nombre de la clave del mensage de error de custom tag de Geremua */
	public static final String CUSTOMTAGS_FRMK_ERROR_KEY = "error.custom_tag";
	

	// -----------------  Validador Remoto y Listas Enlazadas  ------------
	/** Parte cte del nombre a asignar a los objetos Bridge de tipo javascript */
	public static final String BRIDGE_NAME = "frmkBridge";
	/** Key del contexto de pagina que indica el numero de objetos bridge generados por pagina */
	public static final String BRIDGE_COUNTER = "es.ejie.frmk.bridge_counter";
	/** ctes. que representan la tecnología empleada en el Validador Remoto y Listas Enlazadas  */
	public static final String AJAX_TECH = "ajax";
	public static final String IFRAME_TECH = "iframe";

	//	-----------------  MENUS  --------------------------------------------
	/** Ruta del fichero de configuracion de menus y tipos de menu, definidos a nivel de Geremua */ 
	public static String FRAMEWORK_MENU_CONFIG_PATH = "menu-config.xml";
	/** Nombre de la clave de contexto de servlet que contiene el repositorio de menus y tipos de menu de Geremua */
	public static String FRAMEWORK_MENU_REPOSITORY = "es.ejie.frmk.presentacion.iu.taglib.html.menu.base.FRAMEWORK_MENU_REPOSITORY";
	
	public static String COMPONENTE_CUSTOM_TAG = "CUSTOM_TAG";
}
