haul        2003/01/31 08:12:02

  Modified:    src/documentation/xdocs/userdocs/actions
                        database-actions.xml
  Log:
  reflow + modify sample
  
  Revision  Changes    Path
  1.3       +10 -4     
xml-cocoon2/src/documentation/xdocs/userdocs/actions/database-actions.xml
  
  Index: database-actions.xml
  ===================================================================
  RCS file: 
/home/cvs/xml-cocoon2/src/documentation/xdocs/userdocs/actions/database-actions.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- database-actions.xml      6 Nov 2002 18:18:29 -0000       1.2
  +++ database-actions.xml      31 Jan 2003 16:12:01 -0000      1.3
  @@ -296,11 +296,17 @@
      <table name="user_groups">
         <keys>
            <key name="uid" type="int">
  -            <mode name="request" parameter="user_groups.uid" type="request"/>
  -            <mode name="attribute" 
parameter="org.apache.cocoon.components.modules.output.OutputModule:user.uid[0]" 
type="attrib"/>
  +            <mode name="request" type="request">
  +               <parameter>user_groups.uid</parameter>
  +            </mode>
  +            <mode name="attribute" type="attrib">
  +               
<parameter>org.apache.cocoon.components.modules.output.OutputModule:user.uid[0]</parameter>
  +            </mode>
            </key>
            <key name="gid" type="int" set="master">
  -            <mode name="request" parameter="user_groups.gid" type="all"/>
  +            <mode name="request" type="all">
  +               <parameter>user_groups.gid</parameter>
  +            </mode>
            </key>
         </keys>
      </table>
  @@ -308,7 +314,7 @@
                  </source>
                  <p>
                        The above example shows just that: the <code>parameter</code>
  -                     attribute is not read by the database action itself but the
  +                     element is not read by the database action itself but the
                        complete <code>mode</code> configuration object is passed to 
the
                        input module. Both the request attribute and the request 
parameter
                        input modules understand this parameter attribute which takes
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to