thanks On Mon, Dec 6, 2010 at 5:36 PM, Nuwan Bandara <nu...@wso2.com> wrote:
> Hi Supun, > > What you can do is, deploy a carbon ui bundle with an ajaxprocessor jsp and > do an ajax call from the gadget to that jsp. that page will have the loging > session, where you can retrieve user information. > > Regards, > /Nuwan > > > On Mon, Dec 6, 2010 at 4:49 PM, supun wickramasinghe < > pulasthi...@gmail.com> wrote: > >> i am already running some servlets that run on the google app engine to >> manage the database needed for my gadget and they are accessed using post >> call from javascript. so is it possible for me to run a servlet on the app >> engine to access the data? >> >> >> On Mon, Dec 6, 2010 at 4:23 PM, Sumedha Rubasinghe <sume...@wso2.com>wrote: >> >>> On Mon, Dec 6, 2010 at 3:35 PM, supun wickramasinghe >>> <pulasthi...@gmail.com> wrote: >>> > hi >>> > i'm developing a Gadget for the WSO2 Gadget Server as my L3 project at >>> > UOM.i'd like to know if there is a way to access the user details of >>> the >>> > current user from a gadget using JavaScript such as email,username and >>> other >>> > details. >>> > thanks in advance. >>> >>> You cannot access this from JS. But can access within a servlet. >>> Write a servlet which accesses these data & the return into front end >>> so that JS can process them. >>> /sumedha >>> >>> >>> > >>> > -- >>> > Pulasthi Supun >>> > www.99gears.com >>> > >>> > _______________________________________________ >>> > Carbon-dev mailing list >>> > Carbon-dev@wso2.org >>> > https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>> > >>> > >>> >>> _______________________________________________ >>> Carbon-dev mailing list >>> Carbon-dev@wso2.org >>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>> >> >> >> >> -- >> Pulasthi Supun >> www.99gears.com >> >> >> _______________________________________________ >> Carbon-dev mailing list >> Carbon-dev@wso2.org >> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev >> >> > > > -- > Thanks & Regards, > > Nuwan Bandara > WSO2 Inc. | http://wso2.com > lean . enterprise . middleware > > http://www.nuwanbando.com > > <http://www.nuwanbando.com/> > > _______________________________________________ > Carbon-dev mailing list > Carbon-dev@wso2.org > https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > -- Pulasthi Supun www.99gears.com
_______________________________________________ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev