*{ * insert a script tag in the template to load a gwt2 module. * by convention, referred script must be put under the path defined in the conf file with gwt2.publicpath * module (required) : module name * id (opt.) : sets script id attribute * charset (opt.) : sets source encoding - defaults to UTF-8 * * #{gwt2.module id:'mymodule' , module:'mymodule', charset:'utf-8' /} }* %{ (_arg ) && (_module = _arg); if (!_module) { throw new play.exceptions.TagInternalException("module attribute cannot be empty for gwt2.module tag"); } _module = "/" + play.modules.gwt2.GWT2Plugin.publicDir() + "/" + _module + "/" + _module + ".nocache.js" try { _abs = play.mvc.Router.reverseWithCheck(_src, play.Play.getVirtualFile(_module), false); } catch (Exception ex) { throw new play.exceptions.TagInternalException("File not found: " + _module); } }%