[opencms-dev] Xmlcontent problem when editing contents. Validation rules aren't triggered at the right time
Cayetano
hnzekto at gmail.com
Mon Nov 20 09:53:00 CET 2006
> > At the time you select another language, the validation rules are triggered.
> > The fields are empty the first time you edit a content in a language.
> > As the fields for the language we've selected are empty, the validation
> > engine throws an error (the Title field mus not be empty).
>
> Why not provide a default value for the field ?
>
IMHO ugly solution, in that case the validation has no sense, because
the fields never will be empty by default.
I've seen a partial solution for this in the bug report:
http://www.opencms.org/bugzilla/show_bug.cgi?id=1222
where you can add a type="warning" on each validation rule.
Cheers
--
Cayetano
More information about the opencms-dev
mailing list