[opencms-dev] v10.0.0 /handleStatic/ issue

vswm at free.fr vswm at free.fr
Fri Jun 3 14:20:30 CEST 2016


Hi Tobias,

Thank you very much for your quick answer.

I now understand my mistake :
The static resources do are in the org.opencms.editors.codemirror.jar ; 
I compiled the opencms-core-build_10_0_0 sources and modules in eclipse, generating a single jar file. I did not include these static resources.
Once added, all work perfectly !

Thanks again for your help !

----- Mail original -----
De: "Tobias Herrmann" <t.herrmann at alkacon.com>
À: "The OpenCms mailing list" <opencms-dev at opencms.org>
Envoyé: Vendredi 3 Juin 2016 11:04:02
Objet: Re: [opencms-dev] v10.0.0 /handleStatic/ issue

Hi Frank,

in OpenCms 10 we introduced a mechanism to deliver static resources from the class path. This way, JavaScript, CSS or image files that are used by the OpenCms workplace don't need to be imported into the database, but are stored in JAR files.
There should be a request handler configured in /WEB-INF/config/opencms-system.xml to do this. Check the file for the element opencms/system/requesthandlers/requesthandler[@class='org.opencms.main.CmsStaticResourceHandler'].

Regards, Tobias

--

Alkacon Software GmbH - The OpenCms Experts

http://www.alkacon.com
http://www.opencms.org
Am 03.06.2016 um 10:50 schrieb vswm at free.fr:
> Hi List,
>
> I can see a lot of 404 errors while trying to edit a file in opencms v10.0.0 explorer :
>
> http://www.myexample.com/opencms/opencms/handleStatic/editors/codemirror/images/word_wrap.gif
> http://www.myexample.com/opencms/opencms/handleStatic/editors/codemirror/dist/addon/edit/closebrackets.js
>
> what /handleStatic/ stands for ?
> I can't see such a handler nor a directory with that name :(
>
> Any hint on this would be a greatfull help for me
>
> Regards,
> Franck.
>
>
> _______________________________________________
> 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/cgi-bin/mailman/listinfo/opencms-dev
>
>
>

---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus

_______________________________________________
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/cgi-bin/mailman/listinfo/opencms-dev






More information about the opencms-dev mailing list