I have an s:link with an action calling a method that I have annotated as:
@Restrict("#{identity.loggedIn}")
- If I am not logged in when clicking the link I am redirected to the login page, as expected.
- After having logged in I am returned to the page I was coming from, as expected again.
The action did not perform however.
Is there any way I could make it so. Have I missed some feature/setting?
I am very thankful for any suggestions/comments on this!