I'm somewhat new to cocoon and have inherited a site developed using cocoon
2.1.5. I have some experience with Struts, jsp's and portlets.

>From what I can see the original developer created a component that extends
ServiceableGenerator. This is basically used to handle all requests to the
website and perform any business logic.

Is this an established principal when using cocoon? The reason I ask is that
the code is rather clumsy and is akin to the Magic Servlet antipattern.

Also with flow control, given the following :

<map:generate type="WebsiteTxn"/>
<map:transform src="postForm.xsl"/>
<map:serialize type="html"/>

If there is an error using the generator we are committed to using
postForm.xsl, is there anyway one could redirect to another section in the
sitemap?

Thanks.

Reply via email to