cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <>
Subject [VOTE] Synchronize Descriptor Parameters for Actions
Date Thu, 12 Jul 2001 21:51:00 GMT
The Validator Actions and the Database Actions both reference
a file with compatible information.  The Validator Actions
use the parameter "descriptor" and the Database Actions
use the parameter "form-descriptor".

I propose to make all the Validator and Database Actions
use one parameter name: "descriptor".  This will allow
using one parameter to reference the same file.  Currently,
we have to do something like this:

<map:match pattern="*-dept.html">
  <map:act set="process">

    <map:parameter name="descriptor" value="context://docs/department-form.xml"/>
    <map:parameter name="form-descriptor" value="context://docs/department-form.xml"/>

    <map:generate type="serverpages" src="docs/confirm-dept.xsp"/>
    <map:transform src="stylesheets/ipms.xsl"/>
  <map:generate type="serverpages" src="docs/{1}-dept.xsp"/>
  <map:transform src="stylesheets/ipms.xsl"/>

My proposal will allow us to merge them into one reference.

Merge Parameters:    +1
In 2.0 AND 2.1:      +1
View raw message