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

Nested actions in action-sets do not execute





------- Additional Comments From [EMAIL PROTECTED]  2002-09-05 15:05 
-------
I am using the last CVS of 3-sep-2002 and still not work: 
 
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 
action!

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to