May be I'm not getting what you trying to do..
But hard coding the framework for specific usage pattern  is not seems to
be correct.

--Pradeep
sent from my phone
On Mar 8, 2013 6:47 AM, "Samisa Abeysinghe" <[email protected]> wrote:

>
>
> On Thu, Mar 7, 2013 at 10:55 PM, Senaka Fernando <[email protected]> wrote:
>
>> Hi Amila,
>>
>> This is not a menu, but a part of a page. This is like the registry
>> resource browser that shows additional things based on what you have
>> installed.
>>
>
> What additional "things"?
>
>
>>
>> Hi Ragu,
>>
>> I believe that the approach sounds correct. Did you DEBUG and try to
>> understand what goes wrong?
>>
>> Thanks,
>> Senaka.
>>
>>
>> On Thu, Mar 7, 2013 at 6:31 AM, Amila Maha Arachchi <[email protected]>wrote:
>>
>>> 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
>>>
>>>
>>
>>
>> --
>> * <http://wso2con.com/>
>> *
>> *
>>
>> Senaka Fernando*
>> Member - Integration Technologies Management Committee;
>> Technical Lead; WSO2 Inc.; http://wso2.com*
>> Member; Apache Software Foundation; http://apache.org
>>
>> E-mail: senaka AT wso2.com
>> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
>> Linked-In: http://linkedin.com/in/senakafernando
>>
>> *Lean . Enterprise . Middleware
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>> Thanks,
> Samisa...
>
> Samisa Abeysinghe
> VP Engineering
> WSO2 Inc.
> http://wso2.com
> http://wso2.org
>
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to