Class ConfigConstants


  • public class ConfigConstants
    extends java.lang.Object
    Contains access to all properties from the configuration. They are loaded dynamically.
    Since:
    3.0
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static interface  ConfigConstants.DEFAULTS
      Defines the default values of all properties.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int BUFFERSIZE
      Change the hmc response buffer here (in kb).
      boolean CASEINSENSITIVESTRINGSEARCH
      Make search for string attributes case-insensitive (should be set to false if your database searches case-insensitive anyway).
      java.lang.String CONTENTTYPE
      Contenttype of the hmc response.
      boolean DEBUG_SHOWJSPCOMMENTS
      HMC Debugging -> show jsp start and end comments: true | false.
      boolean DEFAULT_AUTOLOGIN
      Default hmc login name and password (does only make sense during development) and if you will be automatically logged in.
      int DEFAULT_COLUMNLAYOUT_COLUMNWIDTH
      Default attribute and editor width settings in hMC only change these values, if you exactly know what you are doing see documentation for further details.
      int DEFAULT_LABELWIDTH
      Default attribute and editor width settings in hMC only change these values, if you exactly know what you are doing see documentation for further details.
      java.lang.String DEFAULT_LOGIN
      Default hmc login name and password (does only make sense during development) and if you will be automatically logged in.
      java.lang.String DEFAULT_PASSWORD
      Default hmc login name and password (does only make sense during development) and if you will be automatically logged in.
      int DEFAULT_TABLE_COLUMNWIDTH
      Default attribute and editor width settings in hMC only change these values, if you exactly know what you are doing see documentation for further details.
      int DEFAULT_VALUEWIDTH
      Default attribute and editor width settings in hMC only change these values, if you exactly know what you are doing see documentation for further details.
      boolean DEVELOPERMODE
      Setting hmc.developermode to true enables exception texts in the 'oops' page and the highlighting of missing localization texts (using square brackets).
      boolean ENABLE_SCROLLBAR
      hMC scrollbar mode.
      java.lang.String ENCODING
      Encoding of the hmc request.
      java.lang.String HMC_MEDIA_FOLDER
      Sub folder name of the media folder in which the hmc stores its internal media files, such as the media containing the hmc.xml.
      boolean HMC_ORGANIZERLIST_SCROLLHEADER
      Set this to 'true' to force the organizer search result list to show up in one table instead of separating the table header and the table body.
      boolean HTML_ESCAPE
      If true (default) the appropriate html content will be escaped in some places in the hmc (like labels etc.).
      boolean REDIRECT_ABSOLUTE  
      java.lang.String RESULT_RANGES
      List of all possible values of items per page in result lists.
      java.lang.String RESULT_RANGES_DEFAULT
      Default value of items per page in result lists.
      int RESULTLIST_MINHEIGHT
      Minimum height of resultlist in pixels.
      boolean SHOW_ITEMHISTORY
      Turn off item history by setting this to false.
      boolean SHOWQUERY
      If true the query attribute of a savedquery will be shown in the head of the search section.
      int STORING_MODIFIEDVALUES_SIZE
      Advanced.
      boolean STRUCTURE_DB
      Load structure (hmc.xml) from database?
      java.lang.String STRUCTURE_FILENAME  
      boolean TOUCHFORREPLICATION
      If set to false, the setAttribute() for each session parameter in the WebChips MasterServlet is turned off.
      boolean USERPROFILE_ACTIVE
      Activates/disactivates usage of userprofile data.
      java.lang.String WINDOW_ABOUT  
      java.lang.String WINDOW_ACTIONRESULT
      Set this to configure the window dimensions of hmc popup windows when not set, the window size will be relative to the actual screen resolution.
      java.lang.String WINDOW_EDITOR
      Set this to configure the window dimensions of hmc popup windows when not set, the window size will be relative to the actual screen resolution.
      java.lang.String WINDOW_ORGANIZER
      Set this to configure the window dimensions of hmc popup windows when not set, the window size will be relative to the actual screen resolution.
      java.lang.String WINDOW_SHORTCUT
      Set this to configure the window dimensions of hmc popup windows when not set, the window size will be relative to the actual screen resolution.
      java.lang.String WINDOW_TYPEEXPORT_RESULT
      Set this to configure the window dimensions of hmc popup windows when not set, the window size will be relative to the actual screen resolution.
      long WINDOWTIMEOUT
      Timeout in minutes.
    • Field Detail

      • BUFFERSIZE

        public int BUFFERSIZE
        Change the hmc response buffer here (in kb).
      • CASEINSENSITIVESTRINGSEARCH

        public boolean CASEINSENSITIVESTRINGSEARCH
        Make search for string attributes case-insensitive (should be set to false if your database searches case-insensitive anyway).
      • CONTENTTYPE

        public java.lang.String CONTENTTYPE
        Contenttype of the hmc response. Per default no charset is set, therefore the default charset 8859-1 should be used (see servlet apidoc).
      • DEBUG_SHOWJSPCOMMENTS

        public boolean DEBUG_SHOWJSPCOMMENTS
        HMC Debugging -> show jsp start and end comments: true | false.
      • DEFAULT_AUTOLOGIN

        public boolean DEFAULT_AUTOLOGIN
        Default hmc login name and password (does only make sense during development) and if you will be automatically logged in.
      • DEFAULT_COLUMNLAYOUT_COLUMNWIDTH

        public int DEFAULT_COLUMNLAYOUT_COLUMNWIDTH
        Default attribute and editor width settings in hMC only change these values, if you exactly know what you are doing see documentation for further details.
      • DEFAULT_LABELWIDTH

        public int DEFAULT_LABELWIDTH
        Default attribute and editor width settings in hMC only change these values, if you exactly know what you are doing see documentation for further details.
      • DEFAULT_LOGIN

        public java.lang.String DEFAULT_LOGIN
        Default hmc login name and password (does only make sense during development) and if you will be automatically logged in.
      • DEFAULT_PASSWORD

        public java.lang.String DEFAULT_PASSWORD
        Default hmc login name and password (does only make sense during development) and if you will be automatically logged in.
      • DEFAULT_TABLE_COLUMNWIDTH

        public int DEFAULT_TABLE_COLUMNWIDTH
        Default attribute and editor width settings in hMC only change these values, if you exactly know what you are doing see documentation for further details.
      • DEFAULT_VALUEWIDTH

        public int DEFAULT_VALUEWIDTH
        Default attribute and editor width settings in hMC only change these values, if you exactly know what you are doing see documentation for further details.
      • DEVELOPERMODE

        public boolean DEVELOPERMODE
        Setting hmc.developermode to true enables exception texts in the 'oops' page and the highlighting of missing localization texts (using square brackets).
      • ENABLE_SCROLLBAR

        public boolean ENABLE_SCROLLBAR
        hMC scrollbar mode.
      • ENCODING

        public java.lang.String ENCODING
        Encoding of the hmc request. Per default this is UTF-8.
      • HTML_ESCAPE

        public boolean HTML_ESCAPE
        If true (default) the appropriate html content will be escaped in some places in the hmc (like labels etc.).
      • REDIRECT_ABSOLUTE

        public boolean REDIRECT_ABSOLUTE
      • RESULT_RANGES

        public java.lang.String RESULT_RANGES
        List of all possible values of items per page in result lists.
      • RESULT_RANGES_DEFAULT

        public java.lang.String RESULT_RANGES_DEFAULT
        Default value of items per page in result lists.
      • RESULTLIST_MINHEIGHT

        public int RESULTLIST_MINHEIGHT
        Minimum height of resultlist in pixels.
      • SHOW_ITEMHISTORY

        public boolean SHOW_ITEMHISTORY
        Turn off item history by setting this to false.
      • SHOWQUERY

        public boolean SHOWQUERY
        If true the query attribute of a savedquery will be shown in the head of the search section.
      • STORING_MODIFIEDVALUES_SIZE

        public int STORING_MODIFIEDVALUES_SIZE
        Advanced.
      • STRUCTURE_DB

        public boolean STRUCTURE_DB
        Load structure (hmc.xml) from database?
      • STRUCTURE_FILENAME

        public java.lang.String STRUCTURE_FILENAME
      • TOUCHFORREPLICATION

        public boolean TOUCHFORREPLICATION
        If set to false, the setAttribute() for each session parameter in the WebChips MasterServlet is turned off. Note that session replication may not work if disabled (default is true).
      • USERPROFILE_ACTIVE

        public boolean USERPROFILE_ACTIVE
        Activates/disactivates usage of userprofile data.
      • WINDOW_ABOUT

        public java.lang.String WINDOW_ABOUT
      • WINDOW_ACTIONRESULT

        public java.lang.String WINDOW_ACTIONRESULT
        Set this to configure the window dimensions of hmc popup windows when not set, the window size will be relative to the actual screen resolution.
      • WINDOW_EDITOR

        public java.lang.String WINDOW_EDITOR
        Set this to configure the window dimensions of hmc popup windows when not set, the window size will be relative to the actual screen resolution.
      • WINDOW_ORGANIZER

        public java.lang.String WINDOW_ORGANIZER
        Set this to configure the window dimensions of hmc popup windows when not set, the window size will be relative to the actual screen resolution.
      • WINDOW_SHORTCUT

        public java.lang.String WINDOW_SHORTCUT
        Set this to configure the window dimensions of hmc popup windows when not set, the window size will be relative to the actual screen resolution.
      • WINDOW_TYPEEXPORT_RESULT

        public java.lang.String WINDOW_TYPEEXPORT_RESULT
        Set this to configure the window dimensions of hmc popup windows when not set, the window size will be relative to the actual screen resolution.
      • WINDOWTIMEOUT

        public long WINDOWTIMEOUT
        Timeout in minutes.
      • HMC_MEDIA_FOLDER

        public java.lang.String HMC_MEDIA_FOLDER
        Sub folder name of the media folder in which the hmc stores its internal media files, such as the media containing the hmc.xml.
      • HMC_ORGANIZERLIST_SCROLLHEADER

        public boolean HMC_ORGANIZERLIST_SCROLLHEADER
        Set this to 'true' to force the organizer search result list to show up in one table instead of separating the table header and the table body. This makes sense for search result lists with many columns because these will otherwise break up the horizontal scrolling (as the header doesn't scroll along with the table body).