Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
spring-operator opened this issue Dec 29, 2016 · 0 comments
Open
Labels
in: integration status: waiting-for-triage We need additional information before we can continue

Comments

@spring-operator
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: integration status: waiting-for-triage We need additional information before we can continue
Projects
None yet
Development

No branches or pull requests

1 participant