cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Haul <>
Subject Re: howto make use of default database add, delete, update action for mutilple table at a time
Date Tue, 26 Feb 2002 08:48:49 GMT
On 26.Feb.2002 -- 02:31 PM, marco wrote:
> I don't know exactly how to invoke action mutiple times with serveral
> descriptor files.
> Would you please demonstrate it?

out of my head (check syntax!):

	<map:match ......>
	    <map:act name="db-upd">
	       <map:parameter name="descriptor" value="one.xml"/>
	    <map:act name="db-upd">
	       <map:parameter name="descriptor" value="two.xml"/>
	    <map:generate ..../>

or have the same action available under two names:

	   <map:action name="upd1" class="org.apache....DatabaseUpdateAction">
	   <map:action name="upd2" class="org.apache....DatabaseUpdateAction">

	<map:match ......>
	    <map:act name="upd1"/>
	    <map:act name="upd2"/>
	    <map:generate ..../>



C h r i s t i a n       H a u l
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

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