coffeescript ends up as javascript in the end, so just give the javascript version a go, if that is where you feel most comfortable.
These pages have also helped me get some t5.4 javascript going: http://people.apache.org/~hlship/t5api/ On Thu, Nov 21, 2013 at 6:55 PM, George Christman <gchrist...@cardaddy.com>wrote: > Hello, I'm trying to build a custom validator but noticed some changes > regarding the js in 5.4. Does anybody know of a simple approach to handling > the js piece of the code? > > javaScriptSupport.require("t5/core/validation"); > writer.attributes(DataConstants.VALIDATION_ATTRIBUTE, true, > "data-validate-maxscale", constraintValue.toString(), > "data-maxscale-message", buildMessage(formatter, field, > constraintValue)); > > I'm not sure if I should be using coffee or what I'm suppose to be doing. > > Thanks. >