Class SymbolConstants


  • public class SymbolConstants
    extends java.lang.Object
    Defines the names of symbols used to configure Tapestry.
    See Also:
    SymbolSource
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String AJAX_FORM_LOOP_ADD_ROW_LINK_CSS_CLASS
      Defines the CSS class that will be given to the add row link generated by AjaxFormLoop.
      static java.lang.String APPLICATION_CATALOG
      The location of the application-wide component messages catalog, relative to the web application context.
      static java.lang.String APPLICATION_FOLDER
      The name of a folder in which the Tapestry application executes.
      static java.lang.String APPLICATION_VERSION
      Version number of the application.
      static java.lang.String ASSET_PATH_PREFIX
      Prefix to be used for all resource paths, used to recognize which requests are for assets.
      static java.lang.String ASSET_URL_FULL_QUALIFIED
      Boolean value to indicate if every Asset should be fully qualified or not.
      static java.lang.String BEAN_DISPLAY_CSS_CLASS
      Defines the CSS class that will be given to the <dl> HTML element generated by BeanDisplay.
      static java.lang.String BEAN_EDITOR_BOOLEAN_PROPERTY_DIV_CSS_CLASS
      Defines the CSS class that will be given to the <div> HTML element generated by BeanEditor/BeanEditForm for boolean properties.
      static java.lang.String BOOTSTRAP_ROOT
      The root asset path for Twitter Bootstrap; if your application uses a modified version of Bootstrap, you can override this symbol to have Tapestry automatically use your version.
      static java.lang.String CHARSET
      The charset used when rendering page markup; the charset is also used as the request encoding when handling incoming requests.
      static java.lang.String CLUSTERED_SESSIONS
      If "true" then at the end of each request the SessionPersistedObjectAnalyzer will be called on each session persisted object that was accessed during the request.
      static java.lang.String COMBINE_SCRIPTS
      If "true" then JavaScript files in a JavaScriptStack will be combined into a single virtual JavaScript file.
      static java.lang.String COMPACT_JSON
      If "true", then JSON page initialization content is compressed; if "false" then extra white space is added (pretty printing).
      static java.lang.String COMPONENT_DEPENDENCY_FILE
      Defines what file should be used to store and read component dependency information.
      static java.lang.String COMPONENT_RENDER_TRACING_ENABLED
      If "true" and TapestryHttpSymbolConstants.PRODUCTION_MODE is off, comments will be rendered before and after the rendering of any component allowing more visibility into which components rendered which markup.
      static java.lang.String COMPRESS_WHITESPACE
      Controls whether whitespace is compressed by default in templates, or left as is.
      static java.lang.String CONTEXT_PATH
      Identifies the context path of the application, as determined from ServletContext.getContextPath().
      static java.lang.String COOKIE_MAX_AGE
      The default time interval that cookies created by Tapestry will be kept in the client web browser.
      static java.lang.String CORS_ALLOW_CREDENTIALS
      Boolean value defining whether the Access-Control-Allow-Credentials HTTP header should be set automatically in the response for CORS requests.
      static java.lang.String CORS_ALLOW_METHODS
      Value to be used in the Access-Control-Allow-Methods in CORS preflight request responses.
      static java.lang.String CORS_ALLOWED_HEADERS
      Value to be used in the Access-Control-Allow-Headers in CORS preflight request responses.
      static java.lang.String CORS_ALLOWED_ORIGINS
      Comma-delimited of origins allowed for CORS.
      static java.lang.String CORS_ENABLED
      Defines whether the CORS (Cross-Origing Resource Sharing) support should be enabled or not.
      static java.lang.String CORS_EXPOSE_HEADERS
      Value to be used in the Access-Control-Expose-Headers in CORS request responses.
      static java.lang.String CORS_MAX_AGE
      Value to be used in the Access-Control-Max-Age in responses to preflight CORS requests.
      static java.lang.String DATEPICKER
      The Asset path to the embedded datepicker.
      static java.lang.String DEFAULT_STYLESHEET
      The default stylesheet automatically inserted into every rendered HTML page when no Bootstrap version is enabled (i.e both Trait.BOOTSTRAP_3 and Trait.BOOTSTRAP_4 traits are disabled, something done by NoBootstrapModule).
      static java.lang.String ENABLE_HTML5_SUPPORT
      Defines whether HTML5 features should be used.
      static java.lang.String ENABLE_PAGELOADING_MASK
      If true, then when a page includes any JavaScript, a script block is added to insert a pageloader mask into the page; the pageloader mask ensure that the user can't interact with the page until after the page is fully initialized.
      static java.lang.String ENCODE_LOCALE_INTO_PATH
      If "true" (the default), then the PersistentLocale will be encoded into the Link path by the ComponentEventLinkEncoder service.
      static java.lang.String ERROR_CSS_CLASS
      Defines the CSS class that will be given to the HTML element generated by Error.
      static java.lang.String ERRORS_BASE_CSS_CLASS
      Defines the prefix of the CSS class that will be given to the outer <div> element generated by Errors.
      static java.lang.String ERRORS_CLOSE_BUTTON_CSS_CLASS
      Defines the CSS class that will be given to the close <button> generated by Errors.
      static java.lang.String ERRORS_DEFAULT_CLASS_PARAMETER_VALUE
      Defines the default value of the Errors's class parameter.
      static java.lang.String EXCEPTION_REPORT_PAGE
      Name of page used to report exceptions; the page must implement ExceptionReporter.
      static java.lang.String EXCEPTION_REPORTS_DIR
      The directory to which exception report files should be written.
      static java.lang.String EXECUTION_MODE
      A comma separated list of execution modes used to control how the application is initialized.
      static java.lang.String FILE_CHECK_INTERVAL
      Time interval defining how often Tapestry will check for updates to local files (including classes).
      static java.lang.String FILE_CHECK_UPDATE_TIMEOUT
      Time interval that sets how long Tapestry will wait to obtain the exclusive lock needed to check local files.
      static java.lang.String FONT_AWESOME_ROOT
      The root asset path for Font Awesome; if your application uses a modified version of it, you can override this symbol to have Tapestry automatically use your version.
      static java.lang.String FORM_CLIENT_LOGIC_ENABLED
      Used as the default for the Form's autofocus and clientValidation parameters.
      static java.lang.String FORM_FIELD_CSS_CLASS
      Defines the CSS class that will be given to form field components which are AbstractField subclasses.
      static java.lang.String FORM_GROUP_FORM_FIELD_WRAPPER_ELEMENT_CSS_CLASS
      Defines the CSS class of the HTML element generated by the FormGroup mixin and the BeanEditForm and BeanEditor.
      static java.lang.String FORM_GROUP_FORM_FIELD_WRAPPER_ELEMENT_NAME
      Defines the name of the HTML element that will surround the HTML form field generated by the FormGroup mixin and the BeanEditForm and BeanEditor.
      static java.lang.String FORM_GROUP_LABEL_CSS_CLASS
      Defines the CSS class that will be given to <label> element generated by the FormGroup mixin and the BeanEditForm and BeanEditor components.
      static java.lang.String FORM_GROUP_WRAPPER_CSS_CLASS
      Defines the CSS class that will be given to HTML element (usually a div) <div> generated by the FormGroup mixin and the BeanEditForm and BeanEditor components surrounding the label and the field.
      static java.lang.String GZIP_COMPRESSION_ENABLED
      If "true" (the default) then GZip compression is enabled for dynamic requests and for static assets.
      static java.lang.String HMAC_PASSPHRASE
      A passphrase used as the basis of hash-based message authentication (HMAC) for any object stream data stored on the client.
      static java.lang.String HOSTNAME
      The hostname that application should use when constructing an absolute URL.
      static java.lang.String HOSTPORT
      The hostport that application should use when constructing an absolute URL.
      static java.lang.String HOSTPORT_SECURE
      The secure (https) hostport that application should use when constructing an absolute URL.
      static java.lang.String INCLUDE_CORE_STACK
      If true (the default), then Tapestry will automatically include the "core" stack in all pages.
      static java.lang.String JAVASCRIPT_INFRASTRUCTURE_PROVIDER
      Tapestry relies on an underlying client-side JavaScript infrastructure framework to handle DOM manipulation, event handling, and Ajax requests.
      static java.lang.String LENIENT_DATE_FORMAT
      Defines whether DateFormat instances created by Tapestry should be lenient or not by default.
      static java.lang.String MIN_GZIP_SIZE
      Minimum output stream size, in bytes, before output is compressed using GZIP.
      static java.lang.String MINIFICATION_ENABLED
      If "true", then resources (individually or when aggregated into stacks) will be minimized via the ResourceMinimizer service.
      static java.lang.String MODULE_PATH_PREFIX
      Prefix used for all module resources.
      static java.lang.String MULTIPLE_CLASSLOADERS
      Defines whether multiple classloaders will be used instead of one for smarter page invalidation.
      static java.lang.String OMIT_EXPIRATION_CACHE_CONTROL_HEADER
      When an asset (typically, a JavaScript module) is streamed without an explicit expiration header, then this value is sent as the Cache-Control header; the default is "max-age=60, must-revalidate".
      static java.lang.String OMIT_GENERATOR_META
      Used to omit the normal Tapestry framework generator meta tag.
      static java.lang.String OPENAPI_APPLICATION_VERSION
      Defines the version of this application in the generated OpenAPI description (i.e.
      static java.lang.String OPENAPI_BASE_PATH
      Defines a base path to the generated OpenAPI description relative to the application URL as defined by BaseURLSource.getBaseURL(boolean).
      static java.lang.String OPENAPI_DESCRIPTION
      Defines the description of this application in the generated OpenAPI description.
      static java.lang.String OPENAPI_DESCRIPTION_PATH
      Defines the path the OpenAPI description file of this application's REST endpoints will be published.
      static java.lang.String OPENAPI_TITLE
      Defines the title of this application in the generated OpenAPI description.
      static java.lang.String OPENAPI_VERSION
      Defines the OpenAPI version to be used in the generated OpenAPI description.
      static java.lang.String PERSISTENCE_STRATEGY
      Identifies the default persistence strategy for all pages that do not provide an override (using this value as key).
      static java.lang.String PRELOADER_MODE
      Controls in what environment page preloading should occur.
      static java.lang.String PRODUCTION_MODE
      Indicates whether Tapestry is running in production mode or developer mode.
      static java.lang.String PRODUCTION_MODE_VALUE
      A version of TapestryHttpSymbolConstants.PRODUCTION_MODE as a symbol reference.
      static java.lang.String PUBLISH_OPENAPI_DEFINITON
      Defines whether the OpenAPI description file of this application's REST endpoints should be published or not.
      static java.lang.String RESTRICTIVE_ENVIRONMENT
      A general switch for restrictive environments, such as Google App Engine, which forbid some useful operations, such as creating files or directories.
      static java.lang.String SCRIPTACULOUS
      The Asset path to the embedded copy of script.aculo.us packaged with Tapestry.
      static java.lang.String SECURE_ENABLED
      If "true" (which itself defaults to production mode), then the Secure annotation will be honored.
      static java.lang.String SESSION_LOCKING_ENABLED
      If true (the default), then Tapestry will apply locking semantics around access to the HttpSession.
      static java.lang.String START_PAGE_NAME
      The logical name of the start page, the page that is rendered for the root URL.
      static java.lang.String STRICT_CSS_URL_REWRITING
      Defines whether CSSURLRewriter will throw an exception when a CSS file references an URL which doesn't exist.
      static java.lang.String SUPPORTED_LOCALES
      The list of locales supported by the application; locales identified in the incoming request are "narrowed" to one of these values.
      static java.lang.String TAPESTRY_VERSION
      The version number of the core Tapestry framework, or UNKNOWN if the version number is not available (which should only occur when developing Tapestry).
    • Constructor Summary

      Constructors 
      Constructor Description
      SymbolConstants()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait