Please help me: I am using Cocoon 2.1:
In the sitemap I have: <map:action-set name="process"> <map:act action="Crear Categoria" type="form-validator"> <map:parameter name="validate-set" value="add"/> <map:act type="dbAdd"/> </map:act> <map:action-set> The actions are declared: <map:action logger="sitemap.action.dbAdd" name="dbAdd" <map:action logger="sitemap.action.form-validator" name="form-validator" src="org.apache.cocoon.acting.FormValidatorAction"/> The match in the pipeline is: <map:match pattern="cat-*.html"> <map:act type="auth-protect"> <map:parameter name="handler" value="agshandler"/> <map:match pattern="cat-*.html"> <map:act set="process"> <map:parameter name="descriptor" value="docs/cat-form.xml"/> <!-- if success --> <map:generate src="docs/cat-confirm.xsp" type="serverpages"/> <map:transform src="stylesheets/agssa.xsl"/> <map:serialize/> </map:act> <!-- if fail --> <map:generate src="docs/cat-{1}.xsp" type="serverpages"/> <map:transform src="stylesheets/agssa.xsl"/> <map:serialize/> </map:match> </map:act> <map:transform src="stylesheets/agssa.xsl"/> <map:serialize/> </map:match> The form-validator is working well, but the data are not going to the database. I saw in the logs and there was not any logger activity to dbAdd. What I am doing wrong? Antonio Gallardo --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>