public HTMLNode createErrorBox(List<String> errors) {
return createErrorBox(errors, null, null, null);
}
public HTMLNode createErrorBox(List<String> errors, String path, FreenetURI retryUri, String extraParams) {
InfoboxNode box = pluginContext.pageMaker.getInfobox("infobox-alert", "ERROR");
HTMLNode errorBox = box.content;
for (String error : errors) {
errorBox.addChild("#", error);
errorBox.addChild("br");
}