Update of 
/var/cvs/contributions/CMSContainer_Portlets/portlets-newsletter/src/webapp/editors/newsletter
In directory james.mmbase.org:/tmp/cvs-serv4756/src/webapp/editors/newsletter

Modified Files:
      Tag: b1_6
        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.5.4.1
retrieving revision 1.5.4.2
diff -u -b -r1.5.4.1 -r1.5.4.2
--- testinputform.jsp   27 Feb 2009 16:39:47 -0000      1.5.4.1
+++ testinputform.jsp   4 Mar 2009 10:26:48 -0000       1.5.4.2
@@ -7,6 +7,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">
@@ -30,6 +39,7 @@
 <mm:cloud jspvar="cloud" rank="basic user" loginpage="../login.jsp">
 <body>
 <cmscedit:sideblock title="testinput.title" titleClass="side_block_green">
+       <c:if test="${!errormessage}">
        <p>
                <fmt:message key="testinput.subtitle" />
        </p>
@@ -61,7 +71,12 @@
          <input type="button" onclick="sendEmail()" value='<fmt:message 
key="testinput.send"/>'/>
          <input type="button" onclick="cancel()" value='<fmt:message 
key="testinput.cancel"/>'/>
        </form>
-
+       </c:if>
+       <c:if test="${errormessage}">
+       <div id="errorpublication">
+               <p><fmt:message key="testinput.errormessage"/></p>
+       </div>
+       </c:if>
 </cmscedit:sideblock>
 </body>
 </mm:cloud>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to