on 05-19-2017 3:23 PM
I noticed that in a view controller onAfterRendering method is called twice then I navigate to a page from another one by this.getRouter().getTargets().display("home", dataObject);
But if I open the page using hash(#home) in url it's called as expected only once.
Is it the way It's supposed to be or I have some code in controller that couses it?
Regards,
Common mistake i do 🙂
1.While copying view i forget to remove controller in my View.xml
2.Use attachRouteMatched instead of attachRoutePatternMatched
Hope you would already have solved but might others in same situation
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.