/src/main/java/org/got5/tapestry5/jquery/JQuerySymbolConstants.java

https://github.com/thepes/tapestry5-jquery · Java · 85 lines · 18 code · 17 blank · 50 comment · 0 complexity · ddf3a7cf32be0418fd3d5ee766a1bcdb MD5 · raw file

  1. package org.got5.tapestry5.jquery;
  2. import org.got5.tapestry5.jquery.components.AjaxUpload;
  3. public class JQuerySymbolConstants {
  4. /**
  5. * The base path of the replaced version for tapestry.js. Also the
  6. * resources-base for {@link AjaxUpload}.
  7. */
  8. public static final String TAPESTRY_JQUERY_PATH = "tapestry.jquery.path";
  9. /**
  10. * Path to the overridden tapestry.js. The file re-implements the bare API
  11. * that is given by the original T5 tapestry.js.
  12. */
  13. public static final String TAPESTRY_JS_PATH = "tapestry.js.path";
  14. /**
  15. * Base path for jQuery. jquery-${jquery.version}.js is assumed to be in
  16. * there.
  17. */
  18. public static final String JQUERY_CORE_PATH = "jquery.core.path";
  19. /**
  20. * The jQuery version number. Must match the normal jQuery file name
  21. * pattern: <code>jquery-${jquery.version}.js</code> or
  22. * <code>jquery-${jquery.version}.min.js</code>
  23. */
  24. public static final String JQUERY_VERSION = "jquery.version";
  25. /**
  26. * Base path for jQuery UI. Must include a "minified" directory that
  27. * contains the .min-files for production mode.
  28. */
  29. public static final String JQUERY_UI_PATH = "jquery.ui.path";
  30. /**
  31. * Path to the theme-css file for jQuery UI.
  32. */
  33. public static final String JQUERY_UI_DEFAULT_THEME = "jquery.ui.default-theme.path";
  34. /**
  35. * Base path for jQuery validation plugin.
  36. *
  37. * @see <a href="http://docs.jquery.com/Plugins/Validation">jQuery
  38. * Validation mecanism</a>
  39. */
  40. public static final String JQUERY_VALIDATE_PATH = "jquery.validate.path";
  41. /**
  42. * Indicates that we want to drop out prototype and use only jquery
  43. */
  44. public static final String SUPPRESS_PROTOTYPE = "suppress.prototype";
  45. /**
  46. * Indicates that we want to drop out prototype and use only jquery
  47. */
  48. public static final String ASSETS_PATH = "assets.path";
  49. /**
  50. * Indicates the jQuery Alias we want to use : $, jQuery, ...
  51. */
  52. public static final String JQUERY_ALIAS = "jquery.alias";
  53. public static final String PROTOTYPE_STACK = "prototype.js.stack";
  54. public static final String PARAMETER_PREFIX = "parameter.prefix";
  55. /**
  56. * Indicates that we want use the minified version of JavaScript files
  57. */
  58. public static final String USE_MINIFIED_JS = "use.minified.js";
  59. /**
  60. *
  61. * Indicates if your application should manage the mousewheel event, from
  62. * the
  63. *
  64. * the jQuery Mouse Wheel Plugin
  65. * (http://brandonaaron.net/code/mousewheel/demos)
  66. */
  67. public static final String ADD_MOUSEWHEEL_EVENT = "jquery.mousewheel";
  68. }