spring-webflow icon indicating copy to clipboard operation
spring-webflow copied to clipboard

RemotingHandler.submitForm - button value not used [SWF-1691]

Open spring-operator opened this issue 8 years ago • 0 comments

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

spring-operator avatar Dec 29 '16 13:12 spring-operator