Hi Ragu, AFAIU you want to add a menu item which needs to be shown only in G-Reg, correct? If so, editing the CarbonUIUtils.java is not the correct approach. You need to handle this via a separate ui component which needs to be bundled with G-Reg only.
Regards, AmilaM. On Thu, Mar 7, 2013 at 5:22 PM, Sriragu Arudsothy <[email protected]> wrote: > Hai , > > I want add a link under the user management. Which is displayed > currently on all the products. > > Current code is: by abstract > > if (CarbonUIUtil.isUserAuthorized(request, "/permission/admin/login")) > { > // link goes here > > } > > changed like below to display it only for Greg > > > if (CarbonUIUtil.isContextRegistered(config, "/resources/") && > CarbonUIUtil.isUserAuthorized(request, "/permission/admin/login")) > { > // link goes here > > } > > after I changed like above, it does not display anything under the user > management. Instead displays a blank page. > > Thanks! > Ragu > > > > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- *Amila Maharachchi* Technical Lead Member, Management Committee - Cloud & Platform TG WSO2, Inc.; http://wso2.com Blog: http://maharachchi.blogspot.com Mobile: +94719371446
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
