```PLP.addChildView('GlobalViews.Pagination', func...
# suitecommerce
s
Copy code
PLP.addChildView('GlobalViews.Pagination', function(){
                    return new BannerView({
                        application: application
                    ,   comparisonList: collection
                    ,   facetModel: PLP.current_view.model
                    })
                });
// Child View Initialize method
initialize: function(options) {
            this.application = options.application;
            this.contextDataRequest = ['itemlist'];
            this.model = new Backbone.Model();
        }
Can someone tell me where I'm doing wrong ? I'm not receiving the item collection in childView's initialize method.
k
Is this one file?
s
@Kearobi no, its 2 different file.
The 1st few line of code (before comment) is from entry point file, and initialize() is from child Views file.
k
Is the child view rendering?
I would ensure application is passed as “container” in your entry point.
s
Yes, Child View is rendering. Also I'm passing the application to child view.
k
I can’t say if you’ll have access to the collection natively. If you need item information.. plp.getItemsInfo will return your item info. Otherwise you’d probably need to pass collection from the entry point to your child view.