// inputAttributes changed to tempAttributes to enable running right js
// initialisation on return
Map<String, String> html = new TreeMap<String, String>();
Map<String, String> js = new TreeMap<String, String>();
SystemHolder sh = Dispatcher.getInstance().getSystemHolder();
Container container = null;
if (containerIds != null) {
for (String containerId : containerIds) {
container = sh.getContainer(containerId);
html.put(containerId, container.getOutput(elemParam, OutputFormat.HTML));
js.put(containerId, container.getOutput(elemParam,
OutputFormat.JAVASCRIPT).replaceAll("inputAttributes", "tempAttributes"));
}
}