[opencms-dev] Native widget: pass data from server

Sven Hüser s.hueser at gmail.com
Fri Aug 3 14:37:05 CEST 2018


Hello,

I'm trying to write my own native editor widget. The basics, following the
example [1], do work.
I have a JavaScript file that does render the widget. Now I would like to
query some database in the serverside part of the widget and make that
available to the client part.

I've tried to use getDialogHtmlEnd to append some contents, but it seems to
me that this is not called.

Is there a "right" way to do this?

Thanks in advance!

[1]
https://github.com/alkacon/opencms-documentation/tree/branch_10_5_x/com.alkacon.opencms.documentation.examples.contenteditor.nativewidget
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20180803/d1c680ef/attachment.htm>


More information about the opencms-dev mailing list