Hi Gregory,
Gregory Murphy wrote:
> Will HTTP verbs other than GET ever be supported with implicit views?
>
The reason why i avoided other HTTP methods was because i thought the
request entity should not be processed by the view. Architecturally it
fits better if the controller does such processing such that the view is
more declarative.
I was pondering allowing an annotation for explicit views such as:
@View("form")
@POST
public Model post(Form form) {
// process form
Model m = ...
return m;
}
Rather than having to return:
return new Viewable("form", m);
Do you have a requirement to support such processing by views? maybe
implicit views for processing for POSTing forms is useful?
Paul.
--
| ? + ? = To question
----------------\
Paul Sandoz
x38109
+33-4-76188109