[opencms-dev] Content element creation with PDF button

Jane Austen Stardust stardustja at gmail.com
Thu May 18 15:40:10 CEST 2017


Hello!

I'm using OpenCms 10.5.1.

I can't add a content element by the page editor add wizard if it contains
the PDF creation button script.

But I can create it in the Explorer and then drag it from the page editor
add wizard, and works correctly.

Here is the PDF creation button script that I use:

<c:set var="PDF">/system/modules/myModule/elements/PDF-formatter.jsp</c:set>
<a href="<cms:pdf format='${PDF}' content='${content.filename}'
locale='${cms.locale}' />" target="pdf" class="btn">PDF</a>


What's wrong?

Thanks a lot!
JA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20170518/f012e3a3/attachment.htm>


More information about the opencms-dev mailing list