spring-webflow
spring-webflow copied to clipboard
RemotingHandler.submitForm - button value not used [SWF-1691]
Jason BOURLARD opened SWF-1691 and commented
Hello,
I just have a problem using the method Spring.RemotingHandler defined in Spring-Dojo.js.
Why the value of the button is ignored when the type of the button is a "submit", "reset" or "button" ?
For my example, i have a button with a name value equals to "_eventId". So, the request contains always _eventId=_eventId instead of _eventId=MyTransition
In html, we can't have a button with a type different of submit, reset and button. Is it an error ?
("button,submit,reset").indexOf(sourceComponent.type) strong text>=strong text 0
Jason
Reference URL: https://github.com/spring-projects/spring-webflow/blob/master/spring-js-resources/src/main/resources/META-INF/web-resources/spring/Spring-Dojo.js#L209