on 06-28-2016 12:13 PM
Hi Anyone,
Please help me. By using the aggregation binding concept, I need to bind the vertical Layout in xml view. In vertical Layout under "Content" trying to call the Factory Function while I am facing the above mentioned error. For your reference kindly find the below screen snap.
View.xml
Controller.js
data.json File
@Thanks In Advance.
Hi Sravya,
A similar kind of sample: Plunker
In the above sample, I have used table as my container where I create different controls based on model data.
Few things to check in your code:
1. Check the file path for factory function.
2. Did you declare the factory function path in controller definition to which the view is associated, something like this:
Regards,
Sai.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sravya,
I don't think you can call the factory function from controller like that, as you can see it is not able to recognize the same. (I am not sure, may be some one else can help you on that).
But, here is an alternative if you wish to place the factory definition in controller: Plunker
Regards,
Sai Vellanki.
Hi Sravya,
I am not sure whether my guess is correct or not.
The way you defined content might be wrong.
The error you got is the syntax error.
Please go through the below link.
Hope you will find a solution.
Thanks,
Deepak Raj.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.