Skip to main content

loading JMaki widgets within an AJAX snippet

No replies
Joined: 2008-02-06


We are trying to load an html snippet which contains JMaki widgets via AJAX (e.g. via dojo.xhrGet()).
For example we are trying to refresh part of the page with a JSP which contains a JMaki widget.
Obviously replacing the inner html of some div in the outer page with what we got from the XHR request won’t work. (Some java script code needs to be executed – parsing of the widget template and CSS, etc.). We also want to stay in the Jmaki writing convention.
How can this be done?