Apache Cocoon 2.1.6 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
(Please use the mirrors to download the release - it might take
a little bit more time until the latest release is available on
all mirrors, so give the mirrors some time - approx. 24h to update.)
For more information about Apache Cocoon 2.1.6, please go to
http://cocoon.apache.org.
The Apache Cocoon Project
Carsten
Carsten Ziegeler
Open Source Group, S&N AG
http://www.s-und-n.de
http://www.osoco.net/weblogs/rael/
Changes with Apache Cocoon 2.1.6
*) Lucene: SearchGenerator incorrectly counts previous-index. Reported by:
Tomasz Nowak ([EMAIL PROTECTED]) [AG]
*) Updated iText to 1.1. [AG]
*) Fix: buildList() in AbstractDatabaseAction generates incorrect parameter
list. [AG]
*) Fix: Webmail sample broken. [AG]
*) Fix: Context directory not required to be writable by the CLI. [AG]
*) Portal: If a coplet has an error, the error-uri has been called twice. This
is fixed now. [CZ]
*) Flowscript: Deprecated support for passing sitemap parameters into
flowscript function as positional arguments. Use cocoon.parameters instead.
Support will be removed completely in Cocoon 2.2. [VG]
*) Portal: Request content length and content type are required in portlet
ActionRequest for custom upload handling. [RG]
*) Portal: Added support for page labels. [RG]
*) Javaflow: JavaInterpreter initialize method was not thread safe. [RG]
*) Portal: Generate subnavigation for non-selected tabs. [RG]
*) Scratchpad block: Restored CastorTransformer support for context beans,
restored bean lookup logic, fixed sample. [VG]
*) The CocoonBean now creates its own private logger hierarchy, thus avoiding
to pollute the CocoonServlet hierarchy when called in that context (e.g. when
generating a static site from a CMS). [SW]
*) Added replacement for Excalibur Event package in
org.apache.cocoon.components.thread and migrated most classes using their own
threads to that package. [GP]
*) Updated antlr to 2.7.4, db-ojb to 1.0.1. [AG]
*) Javaflow block: Support inherited methods. [TC]
*) Javaflow block: Add parameter support. [TC]
*) CForms block: added widget states. All widgets can now have an "active"
(default), "disabled" or "invisible" state. Updated the stylesheets accordingly
to use HTML's disabled inputs. [SW]
*) Scratchpad block: BetwixtTransformer: removed deprecation warning with
latest betwixt. [AG]
*) Flowscript: enforce the explicit declaration of variables in the global
scope (attached to the session). This avoids the implicit declaration of
variables in the global scope when the 'var' keyword is missing, which leads to
weird bugs difficult to track down, especially with continuations. [SW]
*) Deprecated the PHP block since the PHP servlet the generator depends on
never worked properly. Explicitly excluded the PHP block from
blocks.properties. [ATC]
*) XSP Block: Add space="strip" attribute support for <xsp:page> element. When
present, all extra whitespace from XSP source is stripped. [VG]
*) XMLDB Block: Fix NullPointerException in XMLDBTransformer if specified
collection does not exist. [VG]
*) XSP - JXPath logicsheet: Allow use relative contexts in <jxpath:for-each>.
Add a new tag <jpath:set-lenient lenient="true|false">. [AG]
*) Updated commons-httpclient to 2.0.2, groovy to 1.0-beta-7, commons-betwixt
to 0.6. [AG]
*) Flow invocations (function calls or continuation invocations) should always
result in a response. Flowscripts with no response are prohibited. [VG]
*) Portal block: Apply batch for configuring the type handling in the Castor
converter. [CZ]
*) Fix bug in SessionPropagatorAction. [CZ]
*) Fix syntax error in build.bat on Windows ME. [CZ]
*) Portal block: Apply patch for rendering a link of the selected tab in
TabContentAspect. [CZ]
*) Portal block: Apply patch for handling GET method when no enctype is set in
CopletTransformer. [CZ]
*) Throw a more meaningful exception if charset classes are missing. [TC]
*) Fixes the SQLTransformer not to close the statement twice. [TC]
*) Change constructor to be public in order to fix bug 30270. [TC]
*) Forms block: added possibility to add a SelectionList based on Java. [JH]
*) HTML serialization has no space between publicId and systemId. Updated xalan
to 2.6.1-dev-20041008T0304. [AG]
*) Scratchpad block: Implemented support of parallel loading of included
sources in the IncludeTransformer. [VG]
*) Updated commons-lang to 2.0-20041007T2305. Now cocoon compiles in java 1.5.
[AG]
*) Updated jdt-core to 3.0.1. [AG]
*) Faces block: Added JSF CarStore demo. [VG]
*) Flow preserves global variables on sitemap reload. [VG]
*) Forms block: Implementation of the CForm template language using JX macros,
allowing smart page layout that depends on the widgets state and value. [SW]
*) Remove jisp from distribution. [AG]
*) XSP logicsheet jpath.xsl: incorrect call to JXPathContext.compile. [AG]
*) Mail block: Support multiple SMTP servers, not only default one. [VG]
*) Mail block: Add support for authenticated SMTP server connections. [VG]
*) Cron block: JobScheduler's fireJob method now supports jobs calling Cocoon
pipelines. [VG]
*) Allow recursive Flow invocations with processPipelineTo. [VG]
*) Forms block: rename fd:on-activate to fd:on-action on fd:row-action and
fd:repeater-action for consistency with fd:action and fd:submit. [SW]
*) Cache the mime-type of readers and serializers. [CZ]
*) The daylight time cause error when timezone is CST. Updated icu4j to 3.0.
[AG]
*) Upgrading DELI block from version 0.9.8 to x020904. [AG]
*) Add support for translating attribute values which contain i18n expressions
rather than complete i18n key. [VG]
*) Forms block: allow widget attributes which were only accessible
programmatically to be set in the form definition. This allows e.g. generic
form processing code to find widgets having a particular attribute. [SW]
*) Mail block: the MailSender now gets its source resolver from the service
manager. This allows its use from flowscript where the old SourceResolver is
not available. [SW]
*) AbstractSAXTransformer namespaceURI and defaultNamespaceURI must never be
null. When extending AbstractSAXTransformer make sure to set
defaultNamespaceURI in the constructor. [VG]
*) Faces block: Initial implementation of JavaServer Faces for Cocoon. [VG]
*) Taglib block: Initial implementation of BodyTag. [VG]
*) Portal block: Changed pathInfo and servletPath logic. pathInfo always starts
with '/', while servletPath always has no '/' at the end. [VG]
*) JXPathMetaModule incorrectly checks for null parameter (can't happen)
instead of empty string. [AG]
*) Cron block: Fixed memory leak, QuartzJobExecutor was not releasing
pipelines. [VG]
*) Updated jexl to 1.0, lucene to 1.4.1. [AG]
*) Selector for matching the request headers using a regular expression. Simple
content negotiation, e.g. serve XHTML if browser indicates it accepts
application/xhtml+xml and HTML otherwise; potentially do automatic i18n
according to the accept-language header. [DC]
*) New @pass-through attribute for the sitemap mount node. If true, processing
will resume in the base sitemap just after the mount node if the mounted
sitemap has not already generated output (usually if no match is found).
Previous behaviour was always to throw a ResourceNotFoundException. The
attribute defaults to "false" for backwards compatibility. [NKB]
*) Portal block: New Group Based Profile Manager. [CZ]
*) Cron block: Add support for persistent job stores, type "tx" and "cmt". [VG]
*) Cron block: Fix TestCronJob pipeline call functionality. [VG]
*) GetInstance don't work with upgrade from db-ojb-1.0rc6. [AG]
*) Updated rhino to 1.5r4-20040629T1232, xreporter-expression to 20040701,
ehcache to 0.9. [AG]
*) A redirect is now possible, if it's called from flow. This also fixes bug
#26571. [CZ]
*) Mail block: Add ability to specify mime-type for email body text parameter
in the mail transformer. [CZ]
*) Fix potential memory leaks in CForms/Woody Template Transformer and
JXTemplateGenerator. [CZ]
*) XMLDB Block: Add ability to delete collections with XMLDBTransformer. [VG]
*) Reworked LocaleAction and LocaleMatcher to have similar logic and
configuration. NOTE: Sitemap variable "lang" renamed to "language", removed
configuration parameters: "language-attribute", "country-attribute",
"variant-attribute". [VG]
*) Added LocaleMatcher for file based internationalization. [UV]
*) Make implementation of Cocoon protocol compliant with the Source interface.
[CZ]
*) Update ant to 1.6.2, commons-jxpath to 1.2, commons-beanutils to 1.7, POI to
2.5.1-final-20040804, commons-httpclient to 2.0.1, nekohtml to 0.9.3, hsqldb to
1.7.2, jcs to 1.1-dev-20040811, quartz to 1.4.2, asm to 1.4.3, asm-util to
1.4.3 and groovy to 1.0-beta6. [AG]
*) Mail block: The mail transformer ignored configured toAddresses from a
pipeline parameter. This is fixed now. [CZ]
*) Fixing BetwixtTransformer does not marshal Collections properly
(java.lang.OutOfMemoryError). [AG]
*) Update qdox to 1.5 and jdt-core to 3.0.0. [AG]
*) Fixing lucene-block samples dependencies. [AG]
*) Update lucene to 1.4. [AG]
*) Enhanced JMS support by adding a JMSConnectionManager component to the JMS
block. This component replaces the JMSConnection component which only supported
publish/subscribe messaging and which mixed some concerns. Two abstract
classes: AbstractMessageListener and AbstractMessagePublisher should be used as
basis for custom publish/subscribe components. [UH]
*) Still in the scratchpad area at the time of this writing, added a
CachedSource proxy subclass for Sources that implement TraversableSource and
InspectableSource (for instance WebDAVSource). [UH]
*) Added a NekoHTMLGenerator to HTML block. This is a simpler HTML parser than
JTidy, which preserves more of the original HTML, primarily just balancing
closing tags. [UV]
*) Added support for stripping root elements in the CIncludeTransformer. [TC]
*) Portal block: Added ManagedCocoonPortlet, to be used together with
CocoonServlet or CocoonPortlet. [VG]
*) POI block: cell spanning. [TC]
*) POI block: processing of tags "vcenter", "hcenter", "monochrome", "draft",
"Header", "Footer" in "gmr:PrintInformation". Initial support for "Margins"
("top", "bottom", "left", "right", "header", "footer"). [AG]
*) POI block: processing of tags "grid", "orientation and "paper" in
"gmr:PrintInformation". [AG]
*) Fix JXTemplate generator does not handle format-number(number, '$#,##0.00').
[AG]
*) Forms block: Implement setValue method for the upload widget. [JH]
*) Forms block: Handle variants of datatype date correctly (i18n, styling). [JH]
*) Update commons-digester to 1.5, commons-betwixt to 0.5, commons-pool to 1.2,
commons-dbcp to 1.2.1 and db-ojb to 1.0.0. [AG]
*) Update commons-collections to 3.1. [AG]
*) Fix JXTemplateGenerator eating backslash characters. [AG]
*) Add new <jx:comment> tag to the JXTemplate. XML comments are not parsed
anymore. See the bug description for a sample. [AG]
*) Move commons-logging-1.0.4.jar to lib/core as jcs.jar depends on it. [AG]
*) Apply patch: Cached resources don't have Expires-Header. [AG]
*) Apply patch: Caching JXTemplateGenerator. [AG]
*) ResourceReader can now take configuration elements, parameters are
deprecated. [VG]
*) Fix byte ranges support in ResourceReader. [VG]
*) Portal: CocoonPortlet has new configuration parameter,
default-session-scope. [VG]
*) Updated commons-logging to 1.0.4 [AG]
*) NamingInputModule provides access to the JNDI context. [VG]
*) Updated quartz to 1.4 [AG]
*) Add configuration support for log4j. [CZ]
*) New Input modules: URLEncodeModule and URLDecodeModule [ATC]
*) Apply patch to fix some memory leaks in the tree processor. [CZ]
*) Portal: Fix NPE when non-caching pipelines are used for the portal profile.
[CZ]
*) Portal: Fix transformation of non-external html links
(HTMLEventLinkTransformer) [CZ]
*) Portal: Fix problem with bookmarks and CachingURICoplet [CZ]
*) A new build property, "include.sources-in-jars", allows to include java
source files in jar archives. Useful when using a non-released version to know
what sources are used. [SW]
*) Refactor TreeProcessor to avoid constant reloading of sitemap if its
modification date is in the future and occasional ECM-related exceptions when a
sitemap is reloaded. [SW]
*) Tour block: added Java shapes sample. [BD]
*) Updated Groovy to 1.0-beta5, qdox to 1.4 and util.concurrent to 1.3.4. [AG]
*) Serializers block: Fixed the namespace handling of the XMLSerializer. [TC]
*) Serializers block: Added support for indentation to the XMLSerializer. [TC]
*) Chaperon block: Improvements for Chaperon JSPWiki to xdocs conversion:
Handle nested bullet lists (number lists already supported) If 'name' parameter
is specified, use it as title (and add spaces between WikiWords) instead of
first section title Handle images with alt text 'spaceless-filenames' parameter
will squash out spaces in relative links Fix anchors to use 'id' instead of
'name' Emphasize anchors a bit selftest.txt tests for lists and tables More
known issues listed in selftest.txt [DC]
*) Added instrumentation support to ContinuationsManager. [VG]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]