Hi Thiwanka, We had holidays from 23rd to the 5th but we are still looking into this (will update you soon).
Thank You, Sameera On Fri, Dec 12, 2014 at 3:24 AM, Tanya Madurapperuma <[email protected]> wrote: > Hi Thiwanka, > > I was able to reproduce your issue. Will check how does that occur and get > back to you. > > Thanks, > Tanya > > On Fri, Dec 12, 2014 at 1:15 PM, Thiwanka Makumburage < > [email protected]> wrote: >> >> Hi Guys, >> I have a another question regarding UES. >> >> When we remove the >> >> <% >> var user = require('/modules/user.js').current(); >> if (!user) { >> response.sendRedirect('/vv/login'); >> } >> %> >> >> snippet from a dashboard index.jag page, the gadgets will not show on the >> 1st page load. After a page refresh the gadgets will load normally. When we >> clear the browser cache and go directly to the dashboard, the same thing >> happens. Any idea how to avoid this issue? When we checked with firebug,and >> we have found the requests for the gadgets are not generating from the >> dashboard app at the 1st load. After a page reload, gadget requests are >> generated normally until we clear the browser cache. >> >> Thanks >> >> Best Regrads, >> Thiwanka >> LSF >> >> On 18 November 2014 at 15:57, Thiwanka Makumburage < >> [email protected]> wrote: >>> >>> Thanks Tanya & Manuranga. >>> >>> On 17 November 2014 11:56, Manuranga Perera <[email protected]> wrote: >>> >>>> Hi Thiwanka, >>>> >>>> We currently only support personalize but not edits through the >>>> dashboard UI. Currently you can only edit in code mode. However supporting >>>> edits are in our road-map. >>>> >>>> Personalize - adding changers to my (current user's) view of the >>>> dashboard. the changes are not reflected in other users dashboards. >>>> Edit - change the dashboard for all users. >>>> >>>> On Mon, Nov 17, 2014 at 11:41 AM, Tanya Madurapperuma <[email protected]> >>>> wrote: >>>> >>>>> Hi Thiwaka, >>>>> >>>>> If you edit a dashboard in the personalize mode, those changes will be >>>>> visible only to that particular user. So even if the admin changes the >>>>> dashboard in the personalize mode, those changes will be stored in admin's >>>>> user registry and will be visible only for admin, not the other users. >>>>> >>>>> AFAIK dashboard design is a one time task, where edits done after >>>>> publishing cannot be made global. >>>>> @ Ruchira, Manu, SameeraM : please correct me if I am wrong. >>>>> >>>>> Thanks, >>>>> Tanya >>>>> >>>>> >>>>> On Mon, Nov 17, 2014 at 11:32 AM, Thiwanka Makumburage < >>>>> [email protected]> wrote: >>>>> >>>>>> Hi Tanya, >>>>>> >>>>>> Thanks for the help. Also we wanted to give dashboard edit rights >>>>>> only to the admin.So we removed the personalize button from the >>>>>> dashboard, >>>>>> for the rest of the users by checking username from the session. Is >>>>>> there a >>>>>> better way to do that? >>>>>> >>>>>> Best Regards, >>>>>> Thiwanka >>>>>> LSF >>>>>> >>>>>> On 14 November 2014 15:40, Tanya Madurapperuma <[email protected]> >>>>>> wrote: >>>>>> >>>>>>> Hi Thiwanka, >>>>>>> >>>>>>> A dashboard is basically a jaggery app. If you navigate to the >>>>>>> created dashboard ( at >>>>>>> UES_HOME/repository/deployment/server/jaggeryapps/<your_dashboard> ), >>>>>>> you >>>>>>> will find an *index.jag* file. If you remove the below snippet from >>>>>>> that file, any user will be able to see the dashboard without >>>>>>> authentication if your gadgets doesn't require a logged in user. >>>>>>> >>>>>>> <% >>>>>>> var user = require('/modules/user.js').current(); >>>>>>> if (!user) { >>>>>>> response.sendRedirect('/vv/login'); >>>>>>> } >>>>>>> %> >>>>>>> >>>>>>> Thanks, >>>>>>> Tanya >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Wed, Nov 12, 2014 at 10:48 AM, Thiwanka Makumburage < >>>>>>> [email protected]> wrote: >>>>>>> >>>>>>>> Hi All, >>>>>>>> I'm Thiwanka Makumburage from Lanka Software Foundation, a member >>>>>>>> of a opensource project called 'SriLanka Innovation Dashboard'. For the >>>>>>>> project we use WSO2 UES product and customized gadgets on top of it. >>>>>>>> As per >>>>>>>> a client request we want to develop some specific dashboards like >>>>>>>> following, >>>>>>>> >>>>>>>> 1) Common dashboard - >>>>>>>> >>>>>>>> - View by all the users without authentication. >>>>>>>> - Gadgets to included will be decided by the client team. >>>>>>>> >>>>>>>> 2) User dashboards >>>>>>>> >>>>>>>> - Each user can have their own customizable dashboard with >>>>>>>> authentication. (to achieve this do we need to automatically >>>>>>>> create >>>>>>>> dashboards with unique name such as username, for each user at >>>>>>>> the point of >>>>>>>> registration? ) >>>>>>>> - Users will be able to save their preferences with gadgets. >>>>>>>> >>>>>>>> Could we create No.1 type of a common dashboard using UES? If >>>>>>>> possible, how to achieve that? Thanks! >>>>>>>> >>>>>>>> Best Regards, >>>>>>>> Thiwanka >>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> Dev mailing list >>>>>>>> [email protected] >>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Tanya Madurapperuma >>>>>>> >>>>>>> Software Engineer, >>>>>>> WSO2 Inc. : wso2.com >>>>>>> Mobile : +94718184439 >>>>>>> Blog : http://tanyamadurapperuma.blogspot.com >>>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Tanya Madurapperuma >>>>> >>>>> Software Engineer, >>>>> WSO2 Inc. : wso2.com >>>>> Mobile : +94718184439 >>>>> Blog : http://tanyamadurapperuma.blogspot.com >>>>> >>>> >>>> >>>> >>>> -- >>>> With regards, >>>> *Manu*ranga Perera. >>>> >>>> phone : 071 7 70 20 50 >>>> mail : [email protected] >>>> >>> >>> > > -- > Tanya Madurapperuma > > Software Engineer, > WSO2 Inc. : wso2.com > Mobile : +94718184439 > Blog : http://tanyamadurapperuma.blogspot.com > -- Sameera Medagammaddegedara Software Engineer Contact: Email: [email protected] Mobile: + 94 077 255 3005
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
