I'm attempting to create a html link from one mashlet to another. The calling mashlet is building the html and I'd like to use the mashlets url in the link. Through Firebug's dom inspector I go to Ema > container > http://x.x.x.x. I see at the bottom there are 4 urls. I'd like to use "mashletsUrl" in my mashlet. How do I leverage this? Thanks.
Ok I figured it out. In main.js in the render function I assigned the value of this.container.mashletsUrl to a global variable. This same concept can of course be applied to prestoUrl, serverUrl, etc.
I'm attempting to create a html link from one mashlet to another. The calling mashlet is building the html and I'd like to use the mashlets url in the link. Through Firebug's dom inspector I go to Ema > container > http://x.x.x.x. I see at the bottom there are 4 urls. I'd like to use "mashletsUrl" in my mashlet. How do I leverage this? Thanks.