How to call a method of jmaki component through 'id'
Created a jmaki component using the following tag in a page1.jsp:
mylib.floatingPane has a method called setContents(value) defined in component.js.
Need to call this method during event handling. i.e.
in the jsp page, I am subscribing to an event "mytopic/searchResults" & handling it in a function called handleSearchResults. Can get the access of the component through "var target = document.getElementById("searchResultArea");". But not knowing how to call the setContents(value) method now for this instance of the component.
Will anybody let me know the way to do it.