cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Gallardo Rivera <>
Subject The dbAdd action not working
Date Thu, 05 Sep 2002 14:37:26 GMT
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"/>

The actions are declared:

<map:action logger="sitemap.action.dbAdd"
<map:action logger="sitemap.action.form-validator"

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"
                    <!-- if success -->
                    <map:generate src="docs/cat-confirm.xsp"
                    <map:transform src="stylesheets/agssa.xsl"/>
                </map:act> <!-- if fail -->
                <map:generate src="docs/cat-{1}.xsp" type="serverpages"/>
                <map:transform src="stylesheets/agssa.xsl"/>
        <map:transform src="stylesheets/agssa.xsl"/>

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.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message