Update of
/var/cvs/contributions/CMSContainer_Portlets/portlets-newsletter/src/java/com/finalist/newsletter/publisher
In directory
james.mmbase.org:/tmp/cvs-serv7048/portlets-newsletter/src/java/com/finalist/newsletter/publisher
Modified Files:
NewsletterPublisher.java
Log Message:
CMSC-1146 Newsletter: add functionality to freeze and defrost a newsletter
edition remove the html-escaped of the static_html filed
See also:
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer_Portlets/portlets-newsletter/src/java/com/finalist/newsletter/publisher
See also: http://www.mmbase.org/jira/browse/CMSC-1146
Index: NewsletterPublisher.java
===================================================================
RCS file:
/var/cvs/contributions/CMSContainer_Portlets/portlets-newsletter/src/java/com/finalist/newsletter/publisher/NewsletterPublisher.java,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -b -r1.46 -r1.47
--- NewsletterPublisher.java 3 Dec 2008 09:00:31 -0000 1.46
+++ NewsletterPublisher.java 23 Feb 2009 10:20:09 -0000 1.47
@@ -67,7 +67,7 @@
// if needed to prompt user this validate will be remove to Action
String originalBody = "";
String status =
newsletterEditionNode.getStringValue("process_status");
- String static_html = null;
+ String static_html = "";
if (newsletterEditionNode.getValueWithoutProcess("static_html") !=
null)
static_html =
(String)newsletterEditionNode.getValueWithoutProcess("static_html");
if (EditionStatus.INITIAL.value().equals(status) &&
StringUtils.isEmpty(static_html)) {
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs