Update of
/var/cvs/contributions/CMSContainer_Portlets/portlets-newsletter/src/webapp/editors/newsletter
In directory
james.mmbase.org:/tmp/cvs-serv3966/portlets-newsletter/src/webapp/editors/newsletter
Modified Files:
testinputform.jsp
Log Message:
CMSC-1315 - Stacktrace in Newsletter usage
See also:
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer_Portlets/portlets-newsletter/src/webapp/editors/newsletter
See also: http://www.mmbase.org/jira/browse/CMSC-1315
Index: testinputform.jsp
===================================================================
RCS file:
/var/cvs/contributions/CMSContainer_Portlets/portlets-newsletter/src/webapp/editors/newsletter/testinputform.jsp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- testinputform.jsp 4 Mar 2009 09:17:50 -0000 1.6
+++ testinputform.jsp 4 Mar 2009 10:06:21 -0000 1.7
@@ -8,6 +8,15 @@
<cmscedit:head title="testinput.title">
<style type="text/css">
input { width: 100px;}
+
+ #errorpublication {
+ letter-spacing:1px;
+ font-family:Arial,Verdana,Helvetica;
+ font-size:11px;
+ background-color:#CC0000 !important;
+ color:#FFFFFF;
+ margin:0 10px;
+ }
</style>
<script src="check.js" type="text/javascript"></script>
<script language="javascript">
@@ -66,12 +75,9 @@
</form>
</c:if>
<c:if test="${errormessage}">
- <p style="letter-spacing:1px;
- font-family:Arial,Verdana,Helvetica;
- font-size:11px;
- background-color:#CC0000 !important;
- color:#FFFFFF;
- margin:0 10px;">Could not send the email because the newsletter
publication isn't published.</p>
+ <div id="errorpublication">
+ <p><fmt:message key="testinput.errormessage"/></p>
+ </div>
</c:if>
</cmscedit:sideblock>
</body>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs