return;
}
for (IPluginResolver pluginResolver : resolvers)
{
IPlugin iPlugin = pluginResolver.getPlugin(plugin);
if (iPlugin != null)
{
// wiQueryResourceManager.addJavaScriptResource(iPlugin.getJavaScriptResourceReference());
headerResponse.render(JavaScriptHeaderItem.forReference(iPlugin
.getJavaScriptResourceReference()));
return;
}
}
throw new IllegalArgumentException("Unknown plugin '" + plugin + "'");