Helma logo
helma.org » Home > faq > How can I call an action file from JavaScript?

How can I call an action file from JavaScript?

Because "Hop actions are JavaScript functions without declaration", you can call any action file you have created in your application by appending "_action" to its name, e.g.

root.actionJackson_action();

will call the file root/test.hac as if you entered a URL like http://localhost:8080/application1/actionJackson


Up: Frequently Asked Questions (FAQ)
Previous: Why do the image functions not work on Linux/Unix? Next: Can I create a Hop action with a function declaration?

... comment


Page last modified on 2002-08-26 16:05 by hns