Hello List! I am looking at the chat-embedding example from the blog post:
https://www.webtoolkit.eu/wt/blog/2010/12/17/widgetset_mode_and_cross_origin_requests (Thanks Koen for the link to this post.) I am browsing the chat code: https://www.webtoolkit.eu/wt/src/simplechat and I don't see any js source. I copied the js link in the blog post: <div id="chat"></div> <script src="http://www.webtoolkit.eu/wt/examples/simplechat/chat.js?div=chat"> </script> into a local html file that I am experimenting with, and the embedding seems to work. But where does the js file come from? Is it part of the chat example? Does it get generated automatically? I've downloaded chat.js, but that didn't give me much insight. It begins, for what it's worth:: if (typeof window.$ === 'undefined') {/*! * jQuery JavaScript Library v1.4b1pre * http://jquery.com/ * * Copyright 2010, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://docs.jquery.com/License ... ... (function(z,w){function la(){if(!c.isReady){try{s.documentElement.doScroll("left")}catch(a){setTimeout(la,1);return}c.ready()}}function Ia(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function Z(a,b,d, My practical question is: If I want to embed my own Wt widget into some non-Wt html, what do I need for my js "glue" (presumably analogous to chat.js), and how do I create it? (By the way, I never see any text in any of the embedded chat widgets, neither in those on the www.webtoolkit.eu web pages nor in my local embedding test. I do see text in the simplechat example: https://www.webtoolkit.eu/wt/examples/simplechat/simplechat.wt including text entered into the embedded chat widgets. That is, the behavior I see is that the embedded chat widgets can "transmit" but don't "receive".) Thanks. K. Frank ------------------------------------------------------------------------------ Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched! https://ad.doubleclick.net/ddm/clk/304595813;131938128;j _______________________________________________ witty-interest mailing list witty-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/witty-interest