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 [EMAIL PROTECTED]  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: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to