Hi Joost,
there is one situation in which .validate() returns true even if there
are errors, when the widget (in this case the Group) or one of its
ancestors, are in any state different from ACTIVE. Looking your code
snippet it seems like you set the group state AFTER calling validate(),
but i
I use version 2.1.8..
-Oorspronkelijk bericht-
Van: Antonio Fiol Bonnín [mailto:[EMAIL PROTECTED]
Verzonden: Thursday, February 09, 2006 2:00 PM
Aan: users@cocoon.apache.org
Onderwerp: Re: setting a validation error on another field
Apparently, the current code on svn for
if
> (!blogchoice.getValue().equals("blogroom")){
>
> parent.lookupWidget("../page3").setState(WidgetState.ACTIVE);
> } else {
>
> parent.lookupWidget("../page2").setState(WidgetState.ACTIVE);
> }
> }
>
>
>
kelijk bericht-
Van: Andrew Timberlake [mailto:[EMAIL PROTECTED]
Verzonden: Thursday, February 09, 2006 9:59 AM
Aan: users@cocoon.apache.org
Onderwerp: Re: setting a validation error on another field
Joost Kuif wrote:
> Hi people,
>
>
> I have a formdefinition with multiple fiel
Joost Kuif wrote:
Hi people,
I have a formdefinition with multiple fields. For some of these fields
uniqueness must be checked against a table in a database. I want to
check this towards the database with the use of one stored procedure. I
tried to with something like the example below, but thi
Hi people,
I have a formdefinition with multiple fields. For some of these fields
uniqueness must be checked against a table in a database. I want to
check this towards the database with the use of one stored procedure. I
tried to with something like the example below, but this didn't work.
The p