DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25517>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25517 [Patch] module source Summary: [Patch] module source Product: Cocoon 2 Version: Current CVS 2.1 Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: Other Component: sitemap components AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Readable source that are accessed with URI:s like: module:<input-module>:<attribute-name>[#xpath] For reading the object that is found by applying the XPath (JXPath), on the attribute from the input-module. If the object is a String or an InputStream, it made available in form of an InputStream otherwise an exception is thrown. The module source can be used for various things e.g. instead of the StreamGenerator: <map:generate type="file" src="module:request:inputStream"/> For reading html from a input field in a form: <map:generate type="html" src="module:request-param:html-field"/> Instead of the PartSource for reading multi part mime data: module:raw-request-param:foo It can also be used for more advanced things like reading Wiki content from a textarea <map:generate type="text" src="module:request-param:wiki-field"/> <map:transform type="lexer" src="cocoon:/wiki.xlex"/> <map:transform type="parser" src="cocoon:/wiki.xgrm"/> <map:transform src="stylesheets/wiki2xdoc.xsl"/>