-
Notifications
You must be signed in to change notification settings - Fork 332
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
Use method syntax for linkTo #78
Comments
Totally agree!
|
THIS. |
Sounds like great. |
It's a pity that it won't work with void methods =( Not with this syntax, anyway |
But you will return a fake object, and not the real instance of method controller. |
I don't know if it's possible, but if it's not: |
Think of this invocation in java: class MyController {
public void method() {...}
}
linkTo(myController.method()); //compilation error |
|
Lucas, Leonardo is right, because we don't wanna execute the method, but only create a link. So a proxy is better solution. |
I have another idea. Because of this line: we can use so we can change the API to something like:
What do you think? |
I think it would be great =) |
I'm curious about the implementation :D On Wednesday, September 18, 2013, Rodrigo Turini wrote:
|
The first version, with the @garcia-jj idea of using proxy/fake objects isn't viable? |
No. We cannot proxy |
Closed by #143 |
Since everyone will use Servlet 3.0, we could support something like:
${linkTo[SomeController].method(arg1, arg2)}
The text was updated successfully, but these errors were encountered: