Gerhard: You are right!
This simple action is working fine: <map:act action="Borrar" type="dbDel"/> but: <map:act action="Crear Categoria" type="form-validator"> <map:parameter name="validate-set" value="add"/> <map:act type="dbAdd"/> </map:act> <map:act action="Actualizar" type="form-validator"> <map:parameter name="validate-set" value="update"/> <map:act type="dbUpd"/> </map:act> does not work. :( How to make a workaround about that? maybe trough a <map:redirect-to> or something like that? Antonio Gallardo. El Jueves, 05 de Septiembre de 2002 09:11, Antonio Gallardo Rivera escribió: > Gerhard: > > Many thanks, I put to it 3 points in the bugzilla ;) > > I hope it will be soon resolved. > > Regards > > Antonio Gallardo > > El Jueves, 05 de Septiembre de 2002 08:46, Gerhard Hipfinger escribió: > > Hi Antonio, > > > > This bug was reported from Ivan Luzyanin quite a long time ago. There is > > a bug report under > > > > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9835 > > > > Please, confirm this bug, I hope someone will investigate this issue. > > This bug is the reason I can't switch to 2.1 (and still use 2.0.3). > > > > Regards, > > Gerhard > > > > Antonio Gallardo Rivera wrote: > > > 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]> > > > > --------------------------------------------------------------------- > > 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]> > > --------------------------------------------------------------------- > 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]> --------------------------------------------------------------------- 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]>