Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dynamic params in result annotation

 
Josep M Serrainat
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,
I have a method that performs an action according to the level in which the user is located (use scope). This can be done with xml as it says here.parameters in configuration results
But how does the same using annotacions?.
Currently do so, but I wonder if there is somehow more elegant / efficient to do so.



As you can see i define a new contant "scope_2" and do the redirection action.

Thank's for all.

Jep.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic