Title: Nachricht
Sorry wrong attribute name - see Shawn's mail!!
 
Henner
-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von [EMAIL PROTECTED]
Gesendet: Montag, 4. Oktober 2004 22:32
An: [EMAIL PROTECTED]
Betreff: [dbforms] Bug in Interceptor with input type in fields

Hi ,

I have come to realize that in the newer versions of Dbforms:

If no (dbForms) input fields have been modified by the user, the form is not processed (validator is not invoked) when submitted.  This is a good optimization however for

Backwards compatibility, it would be necessary to still allow a call to the interceptor method.  This could be implemented via an extra parameter (forceSubmit)?

We are currently setting hidden fields with _javascript_ functions and then interpreting these fields in the interceptor method.  Often (dbForms) input fields are not required to be modified. Without this feature reinstated, we sort of have a problem migrating to the newer version!

-----------------------------------
Hi Henner,

Since version 2.3 updates of an table are only done if changes are done on the dbforms fields. You can override this with the updateAlways parameter of the dbforms tag - then the interceptors will be called always.

--------------------------
I put the tag updateAlways="true" in <db:dbform like this
<db:dbform
                        followUp="<%=followUp%>"
                        followUpOnError="<%=followUpOnError%>"
                        tableName="FICHES"
                        whereClause="<%=whereClause%>"
                        redisplayFieldsOnError="true"
                        readOnly="<%=classTypeReadOnly%>"
        ---->           updateAlways="true"
                        formValidatorName="DetailRegistre">

And I got this error : The attribut updateAlways is incorrect.

Is it the right place that I have to put this instruction, if not where ??

The definition of atttribut updateAlways  is absent in dbform.tld 2.4 and also I don't find this tag in the your site
Jdbforms.sourceforge.net/taglib

Thanks for your helps

Reply via email to