Quantcast
Channel: Latest Questions on Splunk Answers
Viewing all articles
Browse latest Browse all 13053

How is CustomeBehavior module working model is?

$
0
0

why is My application.js doesn't seem to work as intended?

I had my application.js look like this

Sideview.utils.declareCustomBehavior("NullModule", function(module)  {
    module.onContextChange  = function()  {
        alert("Haha");
    }
});

And then I have my view xml look like this:-

(module name="Table")
    (module name="CustomeBehaviour")
        (param name="customBehaviour")NullModule(/param)
    (/module)
(/module)

Those round brackets are suppose to be angle brackets.

When I click at the table row data, it doesn’t pop up an alert box. Am I missing something here?


Viewing all articles
Browse latest Browse all 13053

Trending Articles