Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ko.applyBindings not working

Narasimha D-OracleMay 2 2016 — edited May 3 2016

Hi

     I am new to Oracle JET , When i am using

                    function ViewModel()

                      {}

                      return ViewModel;

it is working fine.

But when i am using

                              function ViewModel()

                              {}

                              var vm = new viewModel;

 

                                $(document).ready

                                 (

                                  function()

                                     {

                                      ko.applyBindings(vm, document.getElementById('table'));

                                       } );

I am getting following error:

Uncaught Error: ojModule failed to load viewModels

Please help me on this.

Thanks

Narasimha

Comments
Post Details
Added on May 2 2016
1 comment
824 views