on 2017 Jan 05 6:08 PM
Hi,
I have two views with two tables (a table in each view) - both views are visible at start.
The trigger for the servlet is the "onInit" of view1 controller.
The servlet (which returns two json arrays) sets view1 model.
How do I set view2 model ?
Aviad
are u using component based development?
if yes, you set the model to component, model will be available to all view
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
if you use component, call this.setModel() in the component should be enough. the model will be available to all view if the view are created by routing.
Use this.byId("ViewID").setModel(<JSON MODEL>) - You can set JSON model to view or table....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
72 | |
10 | |
8 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.