cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Quinn <jer...@media.demon.co.uk>
Subject [woody] validation error messages
Date Tue, 11 Nov 2003 11:47:03 GMT
Dear All

I noticed that when you use something like :

	form.getWidget ("email").setValidationError (
		new ValidationError ("validation.email.inuse")
	);

then the i18n tag output by setValidationError() looks like this:

	<i18n:text catalogue="woody">validation.email.inuse</i18n:text>

which means that any custom validation errors pretty much have to be 
kept in WoodyMessages which could well be inconvenient ....

Is it really necessary for Woody to set the catalogue attribute in this 
situation?

BTW. Is there a plan to add a generic form validation message tag to 
woody?
ie. not tied to a particular field widget.

Thanks

regards Jeremy


Mime
View raw message