On Sat, Dec 4, 2010 at 10:23 AM, Senaka Fernando <[email protected]> wrote:

>
>
> On Sat, Dec 4, 2010 at 4:55 AM, Hiranya Jayathilaka <[email protected]>wrote:
>
>>
>>
>> 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.
>>
>
> These resources can be added to the registry, IIRC.
>

Should be able to access over http

Thanks,
Hiranya


>
> Thanks,
> Senaka.
>
>>
>> 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
>>
>>
>
>
> --
> *Senaka Fernando*
> Associate Technical Lead & Product Manager - WSO2 G-Reg;
> WSO2, Inc.; http://wso2.com
> *
> Member; Apache Software Foundation; http://apache.org
>
> E-mail: senaka AT wso2.com
> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
> Linked-In: http://www.linkedin.com/in/senakafernando
>
> *Lean . Enterprise . Middleware
>
>
> _______________________________________________
> 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