Hi all,
My team is having problems with some buttons (specifically “dijit/form/Button” from dojo toolkit), and the ValidateAllDecoration from Spring JS.
Currently we’re using the ME4S’ Spring MVC Scaffolding (spring js version 2.3.0.RELEASE, ME4S 10.0.0 build 7).
The behavior consist in: the dijit’s decoration for buttons, adds in runtime, some “span” objects to surround the html button itself. The thing is that the outer span is not acting on the ‘onclick’ event, just the inner one (with the same id as the original button) reacts to that event.
It implies that, whenever the user clicks the button, the form validation will be triggered depending if the click was inside the inner span, or will not be triggered if the click hits the space between the outer span and the exterior limit of the inner span.
The submit event will work in both cases, but the validation won’t be triggered all the time.
Any suggestion or bugfix will be welcome!