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

com.jsftoolkit.base.ResourceConstants Maven / Gradle / Ivy

Go to download

The core classes for the JSF Toolkit Component Framework. Includes all framework base and utility classes as well as component kick-start/code-generation and registration tools. Also includes some classes for testing that are reused in other projects. They cannot be factored out into a separate project because they are referenced by the tests and they reference this code (circular dependence).

The newest version!
package com.jsftoolkit.base;

import com.jsftoolkit.base.ResourceInfo.Type;

/**
 * Constants related to resources.
 * 
 * @author noah
 * 
 */
public class ResourceConstants {

	/**
	 * The managed bean used to filter
	 */
	public static final String RESOURCE_FILTER = "com_jsftoolkit_resourceFilter";

	/**
	 * The default encoding.
	 */
	public static final String RESOURCE_ENCODING = "UTF-8";

	/**
	 * The currently supported DOJO version is 0.4.1, including other versions
	 * will cause conflicts between components.
	 */
	public static final ResourceInfo DOJO_JS = new ResourceInfo(
			"org.dojotoolkit.DOJO_JS", "/scripts/dojo/dojo.js", Type.SCRIPT,
			RESOURCE_ENCODING, null);

	public static final ResourceInfo JSFTK_JS = new ResourceInfo(
				"com.jsftoolkit.JSFTK_JS",
				"/scripts/jsfTk/src/jsfTk.js", Type.SCRIPT,
				RESOURCE_ENCODING, null);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy