Initial version of a "copy to web project" action

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5387 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Gavin Cornwell
2007-03-15 10:49:26 +00:00
parent 83e8cf83b8
commit 0ceb9065ea
12 changed files with 751 additions and 9 deletions

View File

@@ -108,6 +108,13 @@ public class ErrorsRenderer extends BaseRenderer
renderMessageAttrs(fm, out, errorClass, infoClass);
out.write(">");
out.write(Utils.encode(fm.getSummary()));
String detail = fm.getDetail();
if (detail != null && detail.length() > 0)
{
out.write("&nbsp(");
out.write(Utils.encode(detail));
out.write(")");
}
out.write("</li>\n");
}
@@ -129,6 +136,13 @@ public class ErrorsRenderer extends BaseRenderer
renderMessageAttrs(fm, out, errorClass, infoClass);
out.write(">");
out.write(Utils.encode(fm.getSummary()));
String detail = fm.getDetail();
if (detail != null && detail.length() > 0)
{
out.write("&nbsp(");
out.write(Utils.encode(detail));
out.write(")");
}
out.write("</div>\n");
}