[opencms-dev] Access to JSP files

Pramila Thakur pthakur at hstcglobal.com
Wed Feb 2 17:12:33 CET 2005


Thank for your reply.

Actually I wanted to put the property file in classes folder and use it in jsp.

I see something like this.
out.print(cms.buildNavigationHead(cms.key("link.home"), "navtop", "navspacer"));

But I dont know if I have to make a class to read this or it does by itself.

Thanks


-----Original Message-----
From: Xavier Ottolini [mailto:xavier.ottolini at adelis.com]
Sent: February 2, 2005 11:03 AM
Cc: The OpenCms mailing list
Subject: Re: [opencms-dev] Access to JSP files


I just set the group of the following file to "Projectmanager".

/system/workplace/restypes/jsp

It succeeded. Thanks !

Xavier

Xavier Ottolini
Développeur multimédia

Adelis
37, rue d'Engwiller
67350 La Walck
Téléphone : +33 (0) 3 88 72 29 10
Télécopie : +33 (0) 3 88 72 29 19
http://www.adelis.com




Claus Priisholm a écrit :

> Hi
>
> The solution that I outlined turned out to be the safest approach 
> anyway, ie. letting the projectmanager edit a simple setup-file rather 
> than having them getting anywhere near the JSP. So I did not really 
> try it out, but the key to allowing others is in the 
> /system/workplace/restypes (at least for v. 5). Try searching the 
> mailing archive for "restypes".
>
>
> On 1/2-2005, at 13.56, Xavier Ottolini wrote:
>
>> Hi !
>>
>> In /September 2003 the 9th, /*Claus Priisholm wrote : *
>>
>> "I have a JSP file which includes some common definitions and I would 
>> like members of the projectmanager group to be able to edit that 
>> particular file. The settings are owner=Admin, group=Projectmanager, 
>> access=rwvrwvr-v-, but a projectmanager cannot access the file - it 
>> is grey'ed out. This is both the case for the generic Offline project 
>> as well as other specific projects.
>>
>> If it is supposed to work like this I can of course make some non-JSP 
>> file (unless other types are protected similarly) and then    
>> include/parse it from my JSP, but it looks like a workaround..."
>>
>> Has anybody found any solution about how to enable JSP to the 
>> Projectmanager ?
>> Is there a way to enable the Projectmanager to flush the cache ?
>>
>> Regards
>>
>> -- 
>> Xavier Ottolini
>> Développeur multimédia
>>
>> Adelis
>> 37, rue d'Engwiller
>> 67350 La Walck
>> Téléphone : +33 (0) 3 88 72 29 10
>> Télécopie : +33 (0) 3 88 72 29 19
>> http://www.adelis.com
>>
>>
>>
>>
>> _______________________________________________
>> This mail is send to you from the opencms-dev mailing list
>> To change your list options, or to unsubscribe from the list, please 
>> visit
>> http://mail.opencms.org/mailman/listinfo/opencms-dev
>>
>>
> -- 
> Claus Priisholm, CodeDroids ApS
> +45 48 22 46 46
> email: cpr (you-know-what) interlet.dk - cpr (you-know-what) 
> codedroids.com
> skype: claus_priisholm
> http://www.interlet.dk - http://www.codedroids.com
>


_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev



More information about the opencms-dev mailing list