Le Tue, 16 Apr 2002 11:03:15 +0200, Christian Haul a écrit:

>On 16.Apr.2002 -- 12:43 AM, Matthieu Sozeau wrote:
>>   <map:action-sets>
>>     <map:action-set name="guestbook-process">
>>       <map:act type="form" action="Add-guestbook-entry">
>>            <map:parameter name="validate-set" value="add"/>
>>            <map:act type="mydbAdd"/>   
>>       </map:act>
>>     </map:action-set>
>>   </map:action-sets>
>
>> But cocoon acts as if it only wanted just one at a time. I see my form parameters 
>are succesfully valitated, but cocoon pass to the map:generate part directly. 
>
>I fear that nesting does not work with action-sets. Check by looking
>in the logs for the invocation of the db action. If there's none, look
>at the code generated for your sitemap. I bet that you won't find any
>reference to your db action in there.
>
>       Chris.
>
>From cocoon/tutorial/sitemap.xmap:

 <map:action-sets>
  <map:action-set name="process">
   <map:act type="form" action="Create Department">
     <map:parameter name="validate-set" value="add"/>
     <map:act type="dbAdd"/>
   </map:act>
  ...
So?
-- 
"Black holes are where God divided by zero." - Steven Wright

MaT|TaM

Attachment: msg11104/pgp00000.pgp
Description: PGP signature

Reply via email to