Skip to content
This repository has been archived by the owner on Jul 19, 2020. It is now read-only.

Idea: Standardized way to override HTTP methods in forms #219

Closed
erdlet opened this issue Sep 2, 2019 · 2 comments
Closed

Idea: Standardized way to override HTTP methods in forms #219

erdlet opened this issue Sep 2, 2019 · 2 comments
Milestone

Comments

@erdlet
Copy link
Contributor

erdlet commented Sep 2, 2019

Hi all,

a few months ago, a feature to was added to Krazo which enables developers to override the HTTP method used in HTML forms by setting a hidden field that is evaluated while the request is processed. This way, developers can implement controllers which are using the full power of HTTP verbs what results in clearer and more understandable APIs.

Therefore I wanted to ask what you think about standardizing this functionality in the MVC API to ensure every person using an MVC implementation can profit from it. Also, this is something which nearly all MVC frameworks I know support (e.g. Spring MVC, Rails, Grails, Django) very successfully.

@chkal
Copy link
Contributor

chkal commented Sep 6, 2019

Thanks for creating this issue.

If this is a feature provided by most of the other MVC frameworks, we should definitely support it. And it should be more or less easy to do.

I'll assign this issue to "Future" so we can consider it for MVC 1.1.

@chkal
Copy link
Contributor

chkal commented Jul 19, 2020

Moved to: jakartaee/mvc#39

@chkal chkal closed this as completed Jul 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants