org.apache.beehive.netui.tags
Class TagConfig

Object
  extended by TagConfig

public final class TagConfig
extends Object

This class implements a series of static method that will return configuration information. The information is buffered, and config properties values defined here. The document type configuration is not found in this class. It is found TagRenderBase TagRenderingBase and the HTML tag Html.


Constructor Summary
TagConfig()
           
 
Method Summary
static String getTreeImageLocation()
          This method returns the default location for the tree images.
static boolean isDefaultJavaScript()
          Return true if the default JavaScript support should be written to the output stream.
static boolean isLegacyJavaScript()
          Return true if the legacy JavaScript support should be written to the output stream.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagConfig

public TagConfig()
Method Detail

isLegacyJavaScript

public static boolean isLegacyJavaScript()
Return true if the legacy JavaScript support should be written to the output stream.

Returns:

isDefaultJavaScript

public static boolean isDefaultJavaScript()
Return true if the default JavaScript support should be written to the output stream.

Returns:

getTreeImageLocation

public static String getTreeImageLocation()
This method returns the default location for the tree images. This may be configured by setting the <tree-image-location> element in the netui.config file to the location of the images. This location should not include the context path of the webapp or the leading '/', but should be an absolute path within the webapp.

<tree-image-location>resources/images</tree-image-location>

Returns:
the default location of the tree images.