Apache Cocoon 2.1.5 Released ---------------------------- The Apache Cocoon Community is proud to announce the new release of Apache Cocoon. This release is licensed under the Apache License, Version 2.0.
Apache Cocoon is a web development framework built around the concept of separation of concerns (that is: allowing people to do their job without having to step on each other toes) and component-oriented web RAD. Cocoon implements these concepts around the notion of 'component pipelines' modelled after the 'process chain' concept where each worker specializes on a particular operation. This makes it possible to use a Lego(tm)-like approach in building web solutions where these components can be hooked together into pipelines without requiring further programming. We like to think at Cocoon as "web glue" for your web application development needs. But most important, a glue that can keep concerns separate and allow parallel evolution of the two sides, improving development pace and reducing the chance of conflicts. The latest version is downloadable from http://cocoon.apache.org/mirror.cgi For more information about Apache Cocoon 2.1.5, please go to http://cocoon.apache.org. The Apache Cocoon Project Carsten Carsten Ziegeler Open Source Group, S&N AG http://radio.weblogs.com/0107211/
Changes with Apache Cocoon 2.1.5 *) The store/caching system now uses JCS instead of Jisp. [CZ] *) The persistent store is now really persistent between two application runs. (Fixed a bug in the hash code calculation of the keys). [CZ] *) Updated Apache JCS to 1.0 dev 20040516 and util.concurrent to 1.3.3 [AG] *) Extended CocoonServlet to allow any org.apache.avalon.excalibur.logger.LoggerManager to be used. [JH] *) Deprecated getWidget from the Widget interface in cforms. People should consider using getChild(id) or lookupWidget(path) instead. On the level of the flowscript 'Form' API a semantical distinct getWidget() (notice: no arguments!) is still available to return the actual wrapped Java form instance. [MPO] *) Fixed jetty-4.2.19.jar compiled for +jdk1.4. The new version can run in 1.3 [AG] *) Fixed missing escapes of line feeds, carriage returns and tabs, that resulted in invalid Java code. [JH] *) Updated Joost to 20040330 [AG] *) RequestListener hook added, that is called before and after a request is processed. [JH] *) Enable XConfToolTask to modify multiple attributes. See the bug report for description of use. Also enable suppression of comments. [DC] *) Extended FOM so that cocoon.redirectTo("url", true) will do a global redirect. cocoon.redirectTo("url") will act as before. This enables FOM to redirect when it is called from within cocoon: protocol requests, aggregations, etc. [UV] *) Moving check on number of specified targets within CocoonBean. This was preventing the processURI(uri, outputStream) method from working. [UV] *) CForms: Remove custom flow level forms validators. [VG] *) Added the "tour" block: "Supersonic Tour of Apache Cocoon". Tutorial/example app focused on the Power Trio: Pipelines, Flow, Forms. [BD] *) XMLResourceBundleFactory was stopping when it encountered the first bundle name that does not have a locale, missing those that might be in one of the other locations. [DC] *) Moved storage of all flow-related data (viewData, continuation, request, etc) from request attributes to object model entries. This allows a view called by sendPage() to also use flowscript (using request attributes caused the two calls to mix up their data). [SW] *) Hopefully fixed the source resolving in JSP components finally by using standard Cocoon/Avalon Excalibur source resolving. This allows to use all known protocols and Cocoon pseudo protocols as long as the JSP file is inside the servlet's context. [JH] *) CForms: Change to generated instance xml <fi:form>. Nested widgets are now grouped in <fi:widgets> and no longer in <fi:children>. This aligns with other container-widgets. [MPO] *) LinkRewriter: Added support for rewriting URLs which are embedded into the attribute values (example: style attribute with background image URL). Such URLs can be extracted using RE expressions and re-written, leaving rest of the attribute value intact. [VG] *) Updated Velocity to 1.4 and iText to 1.02b [AG] *) Added standalone build target "validate-sitemaps". Added standalone build target "validate-stylesheets". [DC] *) Updated Xindice to 1.1b4, xmldb-api to 20030701, xmldb-common to 20030701 and xmldb-xupdate to 20040205 [AG] *) Updated Jetty to 4.2.19 [AG] *) CForms: <fi:styling type="date"/> is not needed (nor supported) anymore, the required information about the datatype and the pattern is now included in the widget instance XML. [BRD] *) CForms: it is now possible to store arbitrary data with each widget instance by using the new setAttribute and getAttribute methods of the Widget interface. [BRD] *) Groovy script generator support in BSF block [AG] *) Renamed validate-set to constraint-set for consistency (the element name is also constraint-set). [JH] *) Updated bsf to 2.3.0 [AG] *) "Fixed" bug 15841 by raising an exception when something is tried to add to elements before attributes. [JH] *) Changed blocks selection handling to allow more intuitive include.block.blockname syntax in (local.)blocks.properties. Old syntax exclude.block.blockname is still supported. [JH] *) Enabled use of nested sitemap variables, e.g. {request-param:{1}}. [UV] *) Updated antlr to 2.7.3 [AG] *) Deprecated Tokenizer and the methods count(), matchStrings(), replaceTokens() and both split() in StringUtils. The functionality of all this was replaced in favor of Apache commons-lang lib. They will be removed in Cocoon 2.2 [AG] *) Updated batik to 1.5.1, db-ojb to 1.0RC6 [AG] *) Removed xmlform and jxforms blocks as confirmed by a users poll. [TC] *) Removed precept block. Was dead code. [TC] *) Updated jdtcore to 2.1.3, update castor-xml to 0.9.5.3 [AG] *) DefaultIncludeCacheManager did not release xml-serializer under some circumstances. [CZ] *) DOMFactory can now create a document element. [CZ] *) Databases: The xml-encoding for the SQLTransformer is now configurable. [CZ] *) Build System: New property "loglevel" that can be used in the patch files. [CZ] *) Portal: Fix problems with minimizing/maximizing of portlets. [CZ] *) Portal: Fix problems with the portal block and using the CLI. [CZ] *) Portal: Add default PropertyManagerService implementation [CZ] *) Portal: Fix synchronization problem with JSR-168 portlets in IncludingHTMLSerializer. [CZ] *) Improvement for AbstractReader: Don't wrap an already buffered stream. [CZ] *) ForwardEnvironmentWrapper delegates isResponseModified/setResponseIsNotModified to wrapped environment. [CZ] *) CForms: Change the syntax for repeater row identity handling. [JH] *) An internal redirect is now handled the same way as an external redirect would be handled. This includes that the error handler of the called pipeline is invoked in case of an error. [CZ] *) Set the default encoding for the Portlet Environment. [CZ] *) Move XSP into an own block. [SMS] *) Licenses changed to ASF 2.0 in all source files which had a license, using the ReplaceLicense tool from the committers CVS module. [BD] *) Ant task (correctLinefeed) that corrects linefeed characters according to our standard (LF). [RP] *) Apples use the new CocoonForms classes [RP] *) Petstore samples use the new CocoonForms names [RP] *) New Ant task ("woody2CocoonForms-renaming") that updates namespaces, sitemap components and flowscript functions (details see tools/target/upgrade-build.xml) [RP] *) Renaming Woody to CocoonForms The Woody block (src/blocks/woody) has moved into the new Cocoon Forms block (src/blocks/forms). new namespaces: from xmlns:wd="http://apache.org/cocoon/woody/definition/1.0" to xmlns:fd="http://apache.org/cocoon/forms/1.0#definition" from xmlns:wb="http://apache.org/cocoon/woody/binding/1.0" to xmlns:fb="http://apache.org/cocoon/forms/1.0#binding" from xmlns:wi="http://apache.org/cocoon/woody/instance/1.0" to xmlns:fi="http://apache.org/cocoon/forms/1.0#instance" from xmlns:wt="http://apache.org/cocoon/woody/template/1.0" to xmlns:ft="http://apache.org/cocoon/forms/1.0#template" Java packages moved from org.apache.cocoon.woody to org.apache.cocoon.forms [RP] *) Updated Velocity engine to 1.4-rc1 [AG] *) Fix namespace handling in FilterTransformer. [JH] *) Added grayscaling and color transformation to the ImageReader. [JH] *) LinkStatusGenerator now handles also links with a specified charset. [JH] *) Avoid "CLOBs" when indexing XML without superfluous whitespace (Lucene). [JH] *) Allow streaming of uploaded files into a pipeline using StreamGenerator. [JH] *) Avoid accumulating of addresses and attachements in SendMailTransformer, when sending multiple mails, i.e. multiple sendmail elements at once. [JH] *) EncodeURLTransformer no longer creates a session. [JH] *) Added additional property <column-case> to the SQLTransformer with the possible values "preserve", "uppercase", and "lowercase". [JH] *) Fixed path separator handling in cocoon.bat/.sh and Loader.java. [JH] *) Fixed duplicate startDocument event in BetwixtTransformer. [JH] *) Updated POI to 2.5-final-20040302 [AG] *) Pass notification object to coplet error pipelines so it can react on it. [CZ] *) Updated xalan to 2.6.0 [AG] *) CForms: Support for multiple unique-row-id in a repeater [AG] *) CForms: Aggregate field supports both directions (split / combine), and arbitrary types (not strings only). [VG] *) CForms: Added String() function. Converts argument to string value. [VG] *) Update Avalon Excalibur packages to released versions. [CZ] *) Updated joost to 20031219, qdox to 1.3 and quartz to 1.3.2 [AG] *) Updated xerces to 2.6.2 [AG] *) Make the current sitemap service manager available through the component context. [CZ] *) Moving portlet environment to portal block. [CZ] *) Adding basket coplet to the portal. [CZ] *) Patch for allowing empty values in configuration of defaults input module. [CZ] *) Patch for disposing components in the properties in xml file module. [CZ] *) Updated commons-httpclient to 2.0-final [AG] *) Updated jdtcore to 2.1.2, and Ant to 1.6.1 [AG] *) Patch for any elemens inside a coplet:content element and not just only text. [CZ] *) Adding SAX recording to AbstractSAXTransformer. [CZ] *) Remove non-FOM flow classes and system.js [VG]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]