+
${cms:trimToSize(cms:stripHtml(paragraph.value.Text), 300)} diff --git a/modules/org.opencms.dev.demo.customwidget/resources/system/modules/org.opencms.dev.demo.customwidget/resources/mywidget.js b/modules/org.opencms.dev.demo.customwidget/resources/system/modules/org.opencms.dev.demo.customwidget/resources/mywidget.js index 344bc1df..fd7cb6d2 100644 --- a/modules/org.opencms.dev.demo.customwidget/resources/system/modules/org.opencms.dev.demo.customwidget/resources/mywidget.js +++ b/modules/org.opencms.dev.demo.customwidget/resources/system/modules/org.opencms.dev.demo.customwidget/resources/mywidget.js @@ -36,7 +36,13 @@ function myWidgetInitializationCall(){ /** * Will be called once the widget element is attached to the DOM. */ - onAttachWidget: function(){}, + onAttachWidget: function(){ + cmsAddEntityChangeListener({ + onChange: function(entity){ + // do something + } + }, "path to content field to watch eg. '/Title'") + }, /** * Activates or deactivates the widget. */ @@ -61,8 +67,8 @@ function myWidgetInitializationCall(){ * Delegates the value change event to the editor. * This function will be attached to the widget by the editor. * - * It is required to call this function everytime the widget value changes. - * Changes that are propagated through this function won't be saved. + * It is required to call this function every time the widget value changes. + * Changes that are not propagated through this function won't be saved. */ onChangeCommand: null, /** diff --git a/modules/org.opencms.dev.demo/resources/system/modules/org.opencms.dev.demo/pages/solr-collector.jsp b/modules/org.opencms.dev.demo/resources/system/modules/org.opencms.dev.demo/pages/solr-collector.jsp index e56855b1..ecad036e 100644 --- a/modules/org.opencms.dev.demo/resources/system/modules/org.opencms.dev.demo/pages/solr-collector.jsp +++ b/modules/org.opencms.dev.demo/resources/system/modules/org.opencms.dev.demo/pages/solr-collector.jsp @@ -1,6 +1,6 @@ <%@page buffer="none" session="false" taglibs="c,cms" %>
Install this module as a simple demonstration for the template capabilities of OpenCms 8.0.
+Install this module as a simple demonstration for the template capabilities of OpenCms 8.5.
Note: Deleting this module will remove the "/release" folder and all pages there.
(c) 2013 by Alkacon Software GmbH (http://www.alkacon.com).
]]>We recommend everyone who uses OpenCms to update to this 8.5.2 release.
+OpenCms 8.5.2 is fully backward compatible to all prior 8.x and 7.x versions. Templates and other OpenCms developed code from these versions should work "out of the box" with version 8.5.2.
+Notice for users of Alkacon OCEE:Â OpenCms version 8.5.2 requires Alkacon OCEE version 3.5.2 or later. In case you want to update your OpenCms installation to 8.5.2, please make sure you update Alkacon OCEE to 3.5.2 or later first!
+OpenCms 8.5.2 has been written and tested for Java 6 and 7. We have tested only with ORACLEs version of the JDK. OpenCms should run with all compliant JVMs.
+We have tested this release on the Tomcat servlet engine. OpenCms works "out of the box" with Tomcat 7, which we recommend. Others have reported deploying OpenCms successfully on other servlet containers like JBoss, BEA, Websphere, Glassfish and Resin Professional.
+On the database side, we have tested with MySQL, Oracle, PostgreSQL, MS SQL Server, DB2 and HSQLDB. The automatic update wizard for OpenCms 8 supports MySQL, Oracle and PostgreSQL.
+In case you want to check out OpenCms from Git, please keep the following in mind: The tag numbers for all OpenCms 8.5 final releases are "build_8_5_x", so the 8.5.2 release is tagged "build_8_5_2".
+The main OpenCms Git repository is available on Github at github.com/alkacon/opencms-core.
+Contributions to the OpenCms core development are most welcome. Please send us your pull requests directly on GitHub.
+Please use our Bugzilla to report bugs in this release:Â http://bugzilla.opencms.org/
+Â
+Thank you for using OpenCms and have fun with OpenCms 8.5 :-)
]]>