I am using Ember.js in my application. In a .jsp page i have a button and when I click on the button i call the url = "emberapp/myproject/routename?isFromJSP=true&data=[1,2]".
This correctly routes to my "routename".
The problem is, I want to read the boolean parameter (isFromJSP) and list parameter (data) in my controller or route. How to do so?
Thanks for the help in advance.
Aucun commentaire:
Enregistrer un commentaire