Another question :)
I really like the @Action annotation to map urls to the methods.

But its not clear to me how the results are choosen.
If there are 2 methods in the class UserAction:

@Action("login")
public String login() {
return SUCCESS;
}

and 

@Action("register")
public String register() {
return SUCCESS;
}


is the result user-success.ftl or ist it user-login-success.ftl or 
login-success.ftl? After trying around it seems to be neither one. But to 
define alle the @Result for every method seems to be a bit noisy.

One other thing I realized is that "location=" of @Result does not use the 
namespace path, you have to write the whole path (/auth/login.ftl) instead of 
just "login.ftl".

I will have a closer look at the code tomorrow ;)

Ciao,
        Piero

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to