cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 15710] - [PATCH]: JellyGenerator for Cocoon
Date Mon, 30 Dec 2002 05:35:05 GMT
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=15710>.
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=15710

[PATCH]: JellyGenerator for Cocoon





------- Additional Comments From amal.sirvisetti@sirvisetti.com  2002-12-30 05:35 -------
Add the generator to sitemap
============================
<map:generator label="content,data" name="jelly" 
src="org.apache.cocoon.generation.JellyGenerator"/>

Add sample jelly patterns to sitemap
====================================
            <map:match pattern="jelly/*">
                <map:generate src="docs/samples/jelly/{1}" type="jelly">
                    <map:parameter name="name" value="Cocoon Jelly"/>
                    <map:parameter name="background" value="#003366"/>
                    <map:parameter name="hobbies" value="Reading"/>
			</map:generate>
                <map:serialize type="xml"/>
            </map:match>

NOTE: Couple of sample jelly scripts (hello1.jelly & hello2.jelly) attached. 
These scripts should be under docs/samples/jelly sub-directory.

Additional JARs
===============
Add the following JARs in WEB-INF/lib directory under Cocoon:

1. commons-jelly-1.0-beta-3.jar

To test the generator
=====================
http://localhost:8080/cocoon/jelly/hello1.jelly
http://localhost:8080/cocoon/jelly/hello2.jelly

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message