You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Christian Haul <ha...@informatik.tu-darmstadt.de> on 2004/05/01 12:56:52 UTC
Re: Database Insert Across Multiple Tables
Mike Dickson wrote:
> <mode name="request-param" type="request"/> means that there is a param
> named request?
No - it means that the value should be obtained from an input module
called "request-param" but only if the table-set indicated to use
the modes labled "request". IOW, "request" is just an arbitrary lable
with no inherent meaning.
<table-set name="user_groups">
<table name="user_groups" others-mode="request"/>
</table-set>
Chris.
>>-----Original Message-----
>>From: Christian Haul [mailto:haul@informatik.tu-darmstadt.de]
>>
>>Please have a look at the descriptor.xml (I've removed the comments):
>>
>> <table name="user_groups">
>> <keys>
>> <key name="uid" type="int">
>> <mode name="request-param" type="request"/>
>> <mode name="request-attr" type="attrib">
>>
>><parameter>org.apache.cocoon.components.modules.output.OutputM
>>odule:user.uid[0]</parameter>
>> </mode>
>> </key>
>> <key name="gid" type="int" set="master">
>> <mode name="request-param" type="all"/>
>> </key>
>> </keys>
>> </table>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org