cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "E. Martens" <">
Subject modular DatabaseAction and database description file
Date Sun, 30 Apr 2006 20:02:02 GMT
Hi all, I am trying to run a query.

    <map:action-set name="process">
      <map:act type="req-params">
         <map:parameter name="parameters" value="qry-node"/>
         <map:act type="mod-db-qry" mode="one">
            <map:parameter name="table-set" value="querytableset"/>
            <map:parameter name="dummy" value="123"/>


      <map:match pattern="*.html">
        <map:act set="process">
          <map:parameter name="use-request-parameters" value="true" />
        <map:aggregate element="site">
           <map:part src="cocoon:/menu"/>
           <map:part src="cocoon:/body/{1}"/>
        <map:transform src="context://stylesheets/site-to-xhtml.xsl"/>
        <map:serialize type="html"/>

database description file:

  <table name="querytable">
       <query mode="others">select id from node where id=?</query>
        <key name="id"          type="int" autoincrement="true">
           <mode name="auto"    type="autoincr"/>

I don't get any errors, but as well the XSP {1} does not get any attributes. In a future version
I would like to call SQL stored procedures. Can anyone help, with may be a description or
a DTD of the database description file? Thank you,

SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
kostenguenstig. Jetzt gleich testen!

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message