Sameera,
Wrapping all functions is not something which we could do. There should be
some common code which checks this, perhaps in header.jsp or template.jsp

Azeez

On Mon, Jan 31, 2011 at 7:33 AM, Sameera Jayasoma <same...@wso2.com> wrote:

> Hi Kasun/Azeez,
>
> We have a platform-wide solution for this issue. But it solves the 50% of
> the problem. :) Let me explain.
>
> 1) When the session has timed out, if you click on menu item on the left
> navigation bar, you will be redirected to sign-in page without any
> notifications. We need to fix this part of the problem.
>
> 2) But if you are in the middle of a workflow, i.e. a component UI page,
> you should get a notification saying "Your session has timed out. Please
> login". This part is solved.
>
> In your UI component, please wrap each and every javascript function(which
> talk to the backend) as illustrated below.
>
> function performInstallation(actionType) {
>     *sessionAwareFunction(function() {*
>             /// Your Javascript code
>     *});*
> }
>
> Component owners, please make sure that you've added this in your
> Javascript functions.
>
> Thanks
> Sameera
>
> On Sat, Jan 29, 2011 at 5:57 AM, Afkham Azeez <az...@wso2.com> wrote:
>
>> Yes, this is a small usability improvement which will vastly improve the
>> user experience. Any ideas how this could be done? Some sort of JavaScript
>> magic?
>>
>> On Wed, Jan 26, 2011 at 2:10 AM, Kasun Indrasiri <ka...@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> In all the wso2 products, there aren't any notification given in the
>>> management console when the session is time out. So a given user
>>> will realize that his session is time out only when he interacts with the
>>> Mgmt Console. (similar user experience @ [1]).
>>>
>>> IMO, we need to have this feature in management console of all carbon
>>> based products.
>>> WDYT?
>>>
>>> [1] https://wso2.org/jira/browse/CARBON-4115
>>>
>>> Thanks.
>>> --
>>> Kasun Indrasiri
>>> Senior Software Engineer
>>> WSO2, Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> cell: +94 71 536 4128 <tel:+94715364128>
>>> Blog : http://kasunpanorama.blogspot.com/
>>>
>>> _______________________________________________
>>> Carbon-dev mailing list
>>> carbon-...@lists.wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> *Afkham Azeez*
>> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,
>> *
>> *
>> *Member; Apache Software Foundation; 
>> **http://www.apache.org/*<http://www.apache.org/>
>> *
>> email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 
>> 3320919<tel:+94773320919>
>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>> *
>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>> *
>> *
>> *Lean . Enterprise . Middleware*
>>
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Sameera Jayasoma
> Technical Lead and Product Manager, WSO2 Carbon
>
> WSO2, Inc. (http://wso2.com)
> email: same...@wso2.com
> blog: http://tech.jayasoma.org
>
> Lean . Enterprise . Middleware
>
> _______________________________________________
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
*Afkham Azeez*
Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,
*
*
*Member; Apache Software Foundation;
**http://www.apache.org/*<http://www.apache.org/>
*
email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919
blog: **http://blog.afkham.org* <http://blog.afkham.org>*
twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to