On 08.Oct.2002 -- 02:49 AM, Antonio Gallardo Rivera wrote:
> El Martes, 08 de Octubre de 2002 01:09, Christian Haul escribió:
> > On 07.Oct.2002 -- 11:32 PM, Antonio Gallardo Rivera wrote:

> The problem is into the dbAddAction, because if I put the cli_id into the 
> descriptor as part of the <values> of the table the action raise me an error 
> that said that cli_id cannot be null. For example:

This error message is generated by the DBMS. The database actions do
not care.

Hence it follows that a null value is passed to the DBMS, thus there
is a problem obtaining the value.

> > I assume you are running a recent CVS snapshot?
> 
> Yes. I am using the lastest CVS.
> >
> > If so, please note that the name of some modules have been changed and
> > that the compiled in default is rendered useless. There should be a
> > warning in your logs indicating this. Please add a
> > <output>request-attr</output> and <input>request-param</input> at the
> > action declaration to restore the old behaviour.
> 
> Please explain me more about that.

          <map:action name="vq-dbadd" 
src="org.apache.cocoon.acting.modular.DatabaseAddAction">
                <descriptor>resources/database.xml</descriptor>
                <throw-exception>false</throw-exception>
                <input>request-param</input>
                <output>request-attr</output>
          </map:action>

> I saw a similar approach in some Java generator to improve performance of the 
> parameters. Is this similar approach that are you doing here? I will be glad 
> of that :).

Don't think so.

        Chris.
-- 
C h r i s t i a n       H a u l
[EMAIL PROTECTED]
    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.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to