<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hello,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I'm trying to write my own native editor widget. The basics, following the example [1], do work.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">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.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I've tried to use getDialogHtmlEnd to append some contents, but it seems to me that this is not called.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Is there a "right" way to do this?</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Thanks in advance!</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">[1] <a href="https://github.com/alkacon/opencms-documentation/tree/branch_10_5_x/com.alkacon.opencms.documentation.examples.contenteditor.nativewidget">https://github.com/alkacon/opencms-documentation/tree/branch_10_5_x/com.alkacon.opencms.documentation.examples.contenteditor.nativewidget</a></font><br></div></div>