Revision history [back]

click to hide/show revision 1
initial version

answered 2013-02-21 12:02:49 +0800

psingh gravatar image psingh flag of India

If you want to call js function from your view model class then you have to write below code: In view model class:

Clients.evalJavaScript("f_test();");

in zul file

     <script>

            function f_test()(){ 
                       alert("Test");
                    }
     </script>

If you want to call js function from your view model class then you have to write below code: In view model class:

Clients.evalJavaScript("f_test();");

in zul file

     <script>

            function f_test()(){ f_test(){ 
                       alert("Test");
                    }
     </script>
Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More