onColorUpdate(selectedColor);
}
});
colorForm.add(colorField);
// colorpicker js
final JavaScriptTemplate jsTemplate = new JavaScriptTemplate(new PackageTextTemplate(ColorPickerPanel.class, "ColorPicker.js.template"));
final String javaScript = jsTemplate.asString(new MicroMap<String, String>("markupId", colorField.getMarkupId()));
add(new Label("template", javaScript).setEscapeModelStrings(false));
}