Thank you, I will look into these.

regards,
Inosh

On Wed, Sep 17, 2014 at 10:23 AM, Manuranga Perera <m...@wso2.com> wrote:

> setTimeout(function(){
>     Packages.org.my.ClassName.method();
> },1);
>
> this will call it in a new thread.
>
> On Wed, Sep 17, 2014 at 9:57 AM, Kasun Dissanayake <kas...@wso2.com>
> wrote:
>
>> Hi Inosh,
>>
>> AFAIY there is no way to do that. But you can easily use AJAX methods.
>> Just follow these demos [1].
>>
>> [1] http://jaggeryjs.org/samples.jag
>>
>> Cheers
>>
>> On Wed, Sep 17, 2014 at 9:43 AM, Inosh Perera <ino...@wso2.com> wrote:
>>
>>> Hi all,
>>> I need to call java method inside Jaggery. But this has to be done in an
>>> asynchronous way. Is there a way to do this in Jaggery? Is there a way to
>>> deal with threads in Jaggery?
>>>
>>> Regards,
>>> Inosh
>>>
>>> --
>>> Inosh Perera
>>> Software Engineer, WSO2 Inc.
>>> Tel: 0785293686
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Kasun Dissanayake
>> Software Engineer
>> WSO2 Inc.
>> Lean | Enterprise | Middleware
>> Tel - +94 77 086 2860
>> Skype - kasun.dissanayake4
>> LinkedIn - lk.linkedin.com/in/kasundis/
>>
>
>
>
> --
> With regards,
> *Manu*ranga Perera.
>
> phone : 071 7 70 20 50
> mail : m...@wso2.com
>



-- 
Inosh Perera
Software Engineer, WSO2 Inc.
Tel: 0785293686
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to