<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Extending jQuery UI Widgets</title>
	<atom:link href="http://bililite.nfshost.com/blog/extending-jquery-ui-widgets/feed/" rel="self" type="application/rss+xml" />
	<link>http://bililite.nfshost.com/blog</link>
	<description>Thoughts on web design and programming from a very occasional volunteer webmaster</description>
	<lastBuildDate>Thu, 10 May 2012 10:36:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: darkside</title>
		<link>http://bililite.nfshost.com/blog/extending-jquery-ui-widgets/comment-page-1/#comment-7826</link>
		<dc:creator>darkside</dc:creator>
		<pubDate>Thu, 15 Sep 2011 22:18:28 +0000</pubDate>
		<guid isPermaLink="false">http://bililite.nfshost.com/blog/?page_id=305#comment-7826</guid>
		<description>@inktri
You should use $.extend(true, ..., ...) for recursive extending objects</description>
		<content:encoded><![CDATA[<p>@inktri<br />
You should use $.extend(true, &#8230;, &#8230;) for recursive extending objects</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: links for 2010-11-14 at Here I Rule</title>
		<link>http://bililite.nfshost.com/blog/extending-jquery-ui-widgets/comment-page-1/#comment-2099</link>
		<dc:creator>links for 2010-11-14 at Here I Rule</dc:creator>
		<pubDate>Mon, 15 Nov 2010 00:36:26 +0000</pubDate>
		<guid isPermaLink="false">http://bililite.nfshost.com/blog/?page_id=305#comment-2099</guid>
		<description>[...] Hacking at 0300 : Extending jQuery UI Widgets (tags: extending jquery-ui widget howto)   VN:F [1.9.6_1107]please wait...Rating: 0.0/10 (0 votes cast)VN:F [1.9.6_1107]Rating: 0 (from 0 votes) [...]</description>
		<content:encoded><![CDATA[<p>[...] Hacking at 0300 : Extending jQuery UI Widgets (tags: extending jquery-ui widget howto)   VN:F [1.9.6_1107]please wait&#8230;Rating: 0.0/10 (0 votes cast)VN:F [1.9.6_1107]Rating: 0 (from 0 votes) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Saudi Jobs</title>
		<link>http://bililite.nfshost.com/blog/extending-jquery-ui-widgets/comment-page-1/#comment-1744</link>
		<dc:creator>Saudi Jobs</dc:creator>
		<pubDate>Fri, 10 Sep 2010 23:39:55 +0000</pubDate>
		<guid isPermaLink="false">http://bililite.nfshost.com/blog/?page_id=305#comment-1744</guid>
		<description>Nice work man.Thanks for sharing jQuery UI Widgets.</description>
		<content:encoded><![CDATA[<p>Nice work man.Thanks for sharing jQuery UI Widgets.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: http://bililite.nfshost.com/blog/extending-jquer&#8230; &#171; Social Game Programming Gems</title>
		<link>http://bililite.nfshost.com/blog/extending-jquery-ui-widgets/comment-page-1/#comment-1740</link>
		<dc:creator>http://bililite.nfshost.com/blog/extending-jquer&#8230; &#171; Social Game Programming Gems</dc:creator>
		<pubDate>Tue, 07 Sep 2010 04:34:25 +0000</pubDate>
		<guid isPermaLink="false">http://bililite.nfshost.com/blog/?page_id=305#comment-1740</guid>
		<description>[...] http://bililite.nfshost.com/blog/extending-jquer&#8230; http://bililite.nfshost.com/blog/extending-jquery-ui-widgets/ [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://bililite.nfshost.com/blog/extending-jquer&#038;#8230" rel="nofollow">http://bililite.nfshost.com/blog/extending-jquer&#038;#8230</a>; <a href="http://bililite.nfshost.com/blog/extending-jquery-ui-widgets/" rel="nofollow">http://bililite.nfshost.com/blog/extending-jquery-ui-widgets/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Danny</title>
		<link>http://bililite.nfshost.com/blog/extending-jquery-ui-widgets/comment-page-1/#comment-1633</link>
		<dc:creator>Danny</dc:creator>
		<pubDate>Thu, 22 Jul 2010 22:04:04 +0000</pubDate>
		<guid isPermaLink="false">http://bililite.nfshost.com/blog/?page_id=305#comment-1633</guid>
		<description>@Lee
Unfortunately, my life is kind of busy now, but I&#039;ll try to take a look at this. It looks like it ought to work, but there may be something going on where the event handler is being bound before the subclass really exists, so it&#039;s binding to the superclass.
Danny</description>
		<content:encoded><![CDATA[<p>@Lee<br />
Unfortunately, my life is kind of busy now, but I&#8217;ll try to take a look at this. It looks like it ought to work, but there may be something going on where the event handler is being bound before the subclass really exists, so it&#8217;s binding to the superclass.<br />
Danny</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lee</title>
		<link>http://bililite.nfshost.com/blog/extending-jquery-ui-widgets/comment-page-1/#comment-1625</link>
		<dc:creator>Lee</dc:creator>
		<pubDate>Mon, 19 Jul 2010 12:58:44 +0000</pubDate>
		<guid isPermaLink="false">http://bililite.nfshost.com/blog/?page_id=305#comment-1625</guid>
		<description>@Danny:
Hopefully this bit of code sums it up:

$.ui.widget.subclass(&#039;ui.superwidget&#039;,
	{
		_init: function()
		{
			// can&#039;t catch this
			this._trigger(&#039;anevent&#039;);

			// can catch this
			this.element.trigger(&#039;superwidgetanevent&#039;);
		}
	});

And creation and binding:
$(&#039;#test&#039;).bind(&#039;superwidgetanevent&#039;, function()
{
	console.log(&#039;an event happened&#039;)
});
$(&#039;#test&#039;).superwidget();</description>
		<content:encoded><![CDATA[<p>@Danny:<br />
Hopefully this bit of code sums it up:</p>
<p>$.ui.widget.subclass(&#8216;ui.superwidget&#8217;,<br />
	{<br />
		_init: function()<br />
		{<br />
			// can&#8217;t catch this<br />
			this._trigger(&#8216;anevent&#8217;);</p>
<p>			// can catch this<br />
			this.element.trigger(&#8216;superwidgetanevent&#8217;);<br />
		}<br />
	});</p>
<p>And creation and binding:<br />
$(&#8216;#test&#8217;).bind(&#8216;superwidgetanevent&#8217;, function()<br />
{<br />
	console.log(&#8216;an event happened&#8217;)<br />
});<br />
$(&#8216;#test&#8217;).superwidget();</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Danny</title>
		<link>http://bililite.nfshost.com/blog/extending-jquery-ui-widgets/comment-page-1/#comment-1612</link>
		<dc:creator>Danny</dc:creator>
		<pubDate>Wed, 14 Jul 2010 02:28:10 +0000</pubDate>
		<guid isPermaLink="false">http://bililite.nfshost.com/blog/?page_id=305#comment-1612</guid>
		<description>@Lee:
I haven&#039;t had any problems with event triggering, but I may not be using the code the same way you are. Can you post some more details?
--Danny</description>
		<content:encoded><![CDATA[<p>@Lee:<br />
I haven&#8217;t had any problems with event triggering, but I may not be using the code the same way you are. Can you post some more details?<br />
&#8211;Danny</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lee</title>
		<link>http://bililite.nfshost.com/blog/extending-jquery-ui-widgets/comment-page-1/#comment-1598</link>
		<dc:creator>Lee</dc:creator>
		<pubDate>Tue, 06 Jul 2010 14:25:41 +0000</pubDate>
		<guid isPermaLink="false">http://bililite.nfshost.com/blog/?page_id=305#comment-1598</guid>
		<description>I can&#039;t seem to catch any events I trigger in these widget subclasses. I call this._trigger as usual but can not seem to catch the event in the normal way.</description>
		<content:encoded><![CDATA[<p>I can&#8217;t seem to catch any events I trigger in these widget subclasses. I call this._trigger as usual but can not seem to catch the event in the normal way.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Interval an Objekt hängen (jQuery) - php.de</title>
		<link>http://bililite.nfshost.com/blog/extending-jquery-ui-widgets/comment-page-1/#comment-1576</link>
		<dc:creator>Interval an Objekt hängen (jQuery) - php.de</dc:creator>
		<pubDate>Wed, 09 Jun 2010 05:40:13 +0000</pubDate>
		<guid isPermaLink="false">http://bililite.nfshost.com/blog/?page_id=305#comment-1576</guid>
		<description></description>
		<content:encoded><![CDATA[<p>[...] ui factory. Insbesondere wäre wohl die ui.progressbar für dich interessanter.  ui developer guide extending ui widgets  richtig gutes Tutorial auf deutsch: ui factory am Beispiel einer canvas map I ui factory am [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Danny</title>
		<link>http://bililite.nfshost.com/blog/extending-jquery-ui-widgets/comment-page-1/#comment-1373</link>
		<dc:creator>Danny</dc:creator>
		<pubDate>Thu, 25 Mar 2010 03:01:07 +0000</pubDate>
		<guid isPermaLink="false">http://bililite.nfshost.com/blog/?page_id=305#comment-1373</guid>
		<description>@alpha:
jQuery UI 1.8 just came out and broke everything. I&#039;m going to have to rewrite this, sometime over the next two weeks, to use the new widget factory. I think it will be better, but don&#039;t count on anything working  (or go back to jQuery 1.7.2) until then.
--Danny</description>
		<content:encoded><![CDATA[<p>@alpha:<br />
jQuery UI 1.8 just came out and broke everything. I&#8217;m going to have to rewrite this, sometime over the next two weeks, to use the new widget factory. I think it will be better, but don&#8217;t count on anything working  (or go back to jQuery 1.7.2) until then.<br />
&#8211;Danny</p>
]]></content:encoded>
	</item>
</channel>
</rss>

