registerDojoModulePathes(response, getDojoModules());
}
protected void renderConfig(IHeaderResponse response)
{
DojoPackagedTextTemplate template = new DojoPackagedTextTemplate(AbstractDefaultDojoBehavior.class, AbstractDefaultDojoBehavior.class.getSimpleName()+".js");
MiniMap map = new MiniMap(3);
map.put("debug", Application.DEVELOPMENT.equals(Application.get().getConfigurationType()));
map.put("baseUrl", DojoSettings.get().getDojoBaseUrl());
map.put("locale", ((IDojoApplication)Application.get()).getDojoSettings().getDefaultLocale().toString().replace('_', '-'));
response.renderJavascript(template.asString(map), template.getStaticKey());
}