Exiting html page

0
0

Is there any easy way without using an iframe to put a wisej usercontrol on an existing html page? Like place a div with the right class in the html page?

  • You must to post comments
0
0

We have support for data-wisej but it’s not completed. If you look inside wisej.js you will find the function createEmbeddedControls. It will work like this:

<div data-wisej=”MyApp.CoolTreeView”></div>

It creates in inline root (qooxdoo widgets are hosted on a root container always, there is one for the entire application and then you can have inline roots for custom element, which is what we use to host controls in datagrid cells) in the div and places the control in there.

If you call Wisej.Core.createEmbeddedControls() manually you can test it. The outstanding issue is the lifetime of the component. Now it’s not rooted to the GC will destroy it.

So, the short answer is not yet. 🙂

 

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.