<div dir="ltr"><div class="gmail_extra">Hi all,<br><br>I have created a custom template with javascript references that look like this:-<br><br><script type="text/javascript" src="/static/scripts/charts.js" /><br><script type="text/javascript" src="/static/scripts/map.js" /><br><br>I have created a static/scripts folder in my Tomcat webapps directory where OpenCMS is also installed. However, when I do a static export, these lines disappear from the exported template.<br><br>Can anyone explain why this is so?<br><br>Clement Wee<br>Singapore<br><br><div class="gmail_quote">On Sat, May 20, 2017 at 6:00 PM, <span dir="ltr"><<a href="mailto:opencms-dev-request@opencms.org" target="_blank">opencms-dev-request@opencms.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Send opencms-dev mailing list submissions to<br>
<a href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" rel="noreferrer" target="_blank">http://lists.opencms.org/cgi-<wbr>bin/mailman/listinfo/opencms-<wbr>dev</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:opencms-dev-request@opencms.org">opencms-dev-request@opencms.<wbr>org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:opencms-dev-owner@opencms.org">opencms-dev-owner@opencms.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of opencms-dev digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Context Menu Item (Patric Dosch)<br>
<br>
<br>
------------------------------<wbr>------------------------------<wbr>----------<br>
<br>
Message: 1<br>
Date: Fri, 19 May 2017 05:59:42 -0700 (MST)<br>
From: Patric Dosch <<a href="mailto:patric.dosch@virtual-identity.com">patric.dosch@virtual-<wbr>identity.com</a>><br>
To: <a href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</a><br>
Subject: [opencms-dev] Context Menu Item<br>
Message-ID: <<a href="mailto:1495198782418-26874.post@n3.nabble.com">1495198782418-26874.post@n3.<wbr>nabble.com</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
Hey Tobias Herrmann, hey list,<br>
<br>
I found this answer for a context menu entry from 2013 ;)<br>
<a href="http://opencms.996256.n3.nabble.com/How-to-customize-ADE-menu-on-a-containerpage-tc23270.html#a23273" rel="noreferrer" target="_blank">http://opencms.996256.n3.<wbr>nabble.com/How-to-customize-<wbr>ADE-menu-on-a-containerpage-<wbr>tc23270.html#a23273</a><br>
<br>
But with this config in opencms-modules.xml for the exploretype<br>
containerpage<br>
<br>
<entry key="Assign module"<br>
name="org.opencms.gwt.client.<wbr>ui.contextmenu.<wbr>CmsContextMenuDialog"<br>
uri="commons/assign.jsp" params="dialogHeight=600|<wbr>dialogWidth=800"<br>
rule="containerpage"/><br>
<br>
I got the exception [Error reading resource from path "/null".].<br>
<br>
<br>
<br>
When adding the config for the exploretype xmlcontent in<br>
opencms-workplace.xml I got an display issue in the menu.<br>
<<a href="http://opencms.996256.n3.nabble.com/file/n26874/context-menu.png" rel="noreferrer" target="_blank">http://opencms.996256.n3.<wbr>nabble.com/file/n26874/<wbr>context-menu.png</a>><br>
<br>
And where can I add my key to translate the display name?<br>
<br>
<br>
Regards, Patric<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://opencms.996256.n3.nabble.com/Context-Menu-Item-tp26874.html" rel="noreferrer" target="_blank">http://opencms.996256.n3.<wbr>nabble.com/Context-Menu-Item-<wbr>tp26874.html</a><br>
Sent from the OpenCMS mailing list archive at Nabble.com.<br>
<br>
<br>
------------------------------<br>
<br>
______________________________<wbr>_________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" rel="noreferrer" target="_blank">http://lists.opencms.org/cgi-<wbr>bin/mailman/listinfo/opencms-<wbr>dev</a><br>
<br>
End of opencms-dev Digest, Vol 289, Issue 2<br>
******************************<wbr>*************<br>
</blockquote></div><br></div></div>