equanda provided scripts


Can be used by adding the following annotation in your page class :

@IncludeJavaScriptLibrary( { "${tapestry.scriptaculous}/prototype.js",
"classpath:/org/equanda/tapestry5/resources/t5equanda.js" } )

It provides the following javascript functions


Get the browser window height (browser independent). This can for example be used to assure an Accordion fills the height of the window.


Get the browser window width (browser independent).

eqCC() (equandaConvertCase)

This function allow automatic case conversion on a input field. Use by adding a onkeyup event (extra parameter) handler on the input component.

onkeyup="eqCC( this, 2);"

This function eight does expects the form element to work on, and a value indicating how to convert the case.

  • 1 : convert everything to lower case
  • 2 : convert everything to upper case
  • 1. equanda provided scripts
  • 1.1. t5equanda.js
  • 1.1.1. equandaWindowHeight()
  • 1.1.2. equandaWindowWidth()
  • 1.1.3. eqCC() (equandaConvertCase)