On Sat, Dec 4, 2010 at 2:03 AM, Chintana Wilamuna <[email protected]> wrote:

> Hi,
>
> How can a gadget author find what are the libraries available to him
> when writing a gadget (things beside gadget.* API)?
>
> The BAM gadgets seems to be including swfobject.js and some other
> Javascript files with relative paths. Are those relative to the JAR
> file that they're included in?
>

JS libraries are loaded by their URL. It can be a relative or absolute URL.
I think in case of BAM, gadgets are referring libraries using relative URLs.
This is generally relative to the location where the gadget XML is located.

Thanks,
Hiranya


>
> If I want to add a URL gadget to BAM do I have to bundle them in a JAR
> file and deploy?
>
>    -Chintana
>
> --
> Chintana Wilamuna
> Associate Technical Lead
> WSO2, Inc.; http://wso2.com
> lean.enterprise.middleware
>
> phone: +94 75 211 1106
> blog: http://engwar.com/
> photos: http://flickr.com/photos/chintana
> linkedin: http://www.linkedin.com/in/engwar
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>



-- 
Hiranya Jayathilaka
Senior Software Engineer;
WSO2 Inc.;  http://wso2.org
E-mail: [email protected];  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
_______________________________________________
Carbon-dev mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to