[Seaside-dev] Issue 247 in seaside: WAValidationDecoration>>#validate does not work on all platforms

codesite-noreply at google.com codesite-noreply at google.com
Fri Nov 28 15:35:25 UTC 2008


Comment #1 on issue 247 by philippe.marschall:  
WAValidationDecoration>>#validate does not work on all platforms
http://code.google.com/p/seaside/issues/detail?id=247

Aren't there some general rules that you shouldn't to a return from an  
exception handler?

what about:

validate: anObject
	| valid |
	valid := true
	[ validationBlock value: anObject.
	message contents: nil.  ]
		on: self exceptionClass
		do: [ :exception |
			message contents: exception messageText.
			valid := false  ].
	^ valid

Do we need a lint rule for this?

-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings


More information about the seaside-dev mailing list