cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Haul <>
Subject Re: [RT] BEans And Forms Framework (BEAFF)
Date Tue, 26 Nov 2002 12:53:07 GMT
On 22.Nov.2002 -- 12:19 PM, Bertrand Delacretaz wrote:
> > The DD could be used to generate javascript code that does the
> > validation. 
> >. . .
> Ok if you're speaking of server-side javascript. 
> Client-side javascript validations are too risky IMHO except for 
> "pre-validations" that cause no harm to the business data if they don't run 
> as expected or are hacked away by malicious users.

Perhaps the very same script could be used both for client side and
server side validation.

> > The DD should / could contain error messages as well. AFAIK xforms
> > does that already. Two types of error messages would be nice: a "short
> > error" and a "long error".
> >. . .
> How about a "text-key" property on fields, that is used to build i18n keys 
> for the various messages?

Good idea. Would it tie validation to i18n or could it still be used
without it? That might be the charm of allowing arbitrary tags as
error message.

C h r i s t i a n       H a u l
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

To unsubscribe, e-mail:
For additional commands, email:

View raw message