Jsp in OpenCms

View: New views
4 Messages — Rating Filter:   Alert me  

Jsp in OpenCms

by flavio841 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello everyone,
I put a JSP in the central perte OpenCms. Let me explain:
When I click on a file with the right mouse button and schelgo a command, that command must connect to a new jsp that I create myself. Only this jsp must be shown within the Explorer of the CMS. Does anyone know how to do??
thanks

Re: Jsp in OpenCms

by Mario Jäger :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello flavio841,

please have a look at the configuration file opencms-workplace.xml from
your OpenCms installation. Here the context menu entries and the belonging
Jsps are configured. Analogue to that you can create a new context menu
entry.

--
Kind Regards,
Mario.
 
-------------------
Mario Jäger
 
Alkacon Software GmbH  - The OpenCms Experts                    
http://www.alkacon.com - http://www.opencms.org       


flavio841 schrieb:
> Hello everyone,
> I put a JSP in the central perte OpenCms. Let me explain:
> When I click on a file with the right mouse button and schelgo a command,
> that command must connect to a new jsp that I create myself. Only this jsp
> must be shown within the Explorer of the CMS. Does anyone know how to do??
> thanks
>  


         


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

Re: Jsp in OpenCms

by flavio841 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

       
I added this:

     <entry key="GUI_EXPLORER_CONTEXT_PUT_IN_STAGE_0" uri="commons/stageresource.jsp" rule=""/>

I did this I simply create the JSP stageresource? With regard to rule, at the end of XML is a tag which lists the classes, these classes are the roles?
When I add a new item, I have to create the rule corresponding to classes that serve to me? Mica have a small example to offer me?
P.S. sorry my bad English

         

Re: Jsp in OpenCms

by Mario Jäger :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear flavio841,

the best is you take an already existing context menu entry as example.
Please, do not forget to restart your TomCat after changes in the
configuration file.

--
Kind Regards,
Mario.
 
-------------------
Mario Jäger
 
Alkacon Software GmbH  - The OpenCms Experts                    
http://www.alkacon.com - http://www.opencms.org     


flavio841 schrieb:

>
> I added this:
>
>      <entry key="GUI_EXPLORER_CONTEXT_PUT_IN_STAGE_0"
> uri="commons/stageresource.jsp" rule=""/>
>
> I did this I simply create the JSP stageresource? With regard to rule, at
> the end of XML is a tag which lists the classes, these classes are the
> roles?
> When I add a new item, I have to create the rule corresponding to classes
> that serve to me? Mica have a small example to offer me?
> P.S. sorry my bad English
>
>          
>
>  


         


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