<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to patches</title><link>https://sourceforge.net/p/widgetserver/patches/</link><description>Recent changes to patches</description><atom:link href="https://sourceforge.net/p/widgetserver/patches/feed.rss" rel="self"/><language>en</language><lastBuildDate>Wed, 16 Jan 2008 09:11:22 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/widgetserver/patches/feed.rss" rel="self" type="application/rss+xml"/><item><title>"ENTER" key event channels in Mozilla (ug2tLibMozilla.js)</title><link>https://sourceforge.net/p/widgetserver/patches/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;When adding an &amp;lt;eventChannel type="KEYACTION" key="(ENTER)"&amp;gt; to any component it is not recognized in Mozilla browsers. &lt;/p&gt;
&lt;p&gt;The reason is, that the JavaScript function eventChannelKey() in ug2tLibMozilla.js handling that pressed key is asking for the event.charCode instead for the event.keyCode. &lt;br /&gt;
Only in the keyCode is sent the key code 13 for the ENTER key - exactly the same  as in IE. &lt;br /&gt;
In ug2tLibIE.js the code is correctly checking for the keyCode (and not the charCode), so my patch is to do it exactly the same in the Mozilla version of that JS function:&lt;/p&gt;
&lt;p&gt;In release 1.8.1 change line no. 751 of ug2tLibMozilla.js from &lt;/p&gt;
&lt;p&gt;if (event.charCode==13)&lt;/p&gt;
&lt;p&gt;to &lt;/p&gt;
&lt;p&gt;if (event.keyCode==13)&lt;/p&gt;
&lt;p&gt;and the ENTER key works for key event channels also in Mozilla based browsers.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rene Zanner</dc:creator><pubDate>Wed, 16 Jan 2008 09:11:22 -0000</pubDate><guid>https://sourceforge.netf7418e2575380b0984c050922052119f62b9602f</guid></item><item><title>Use i18n in static plugin files</title><link>https://sourceforge.net/p/widgetserver/patches/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The mechanism to use xml files for internationalization of plugins currently is only supported for the standard plugin file. In case someone wants to use that mechanism also in the _static_ xml file of a plugin, he cannot use the plugin specific i18n file (denoted by "LANG_PlugInID", because the initialization of this registered variable is happening AFTER the processing of the static xml plugin file.&lt;/p&gt;
&lt;p&gt;The "if" block in UnComponentFactory::pcmf_createAggregatedPlugin():&lt;/p&gt;
&lt;p&gt;if (l_htmlDesc.pdm_textFile != null &amp;amp;&amp;amp; l_htmlDesc.pdm_defTextFile != null)&lt;/p&gt;
&lt;p&gt;must be moved before the "if" block checking for and processing the static xml file of the plugin:&lt;/p&gt;
&lt;p&gt;if (l_htmlDesc.pdm_staticInitialized == false &amp;amp;&amp;amp; l_htmlDesc.pdm_staticXmlConf != null)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rene Zanner</dc:creator><pubDate>Mon, 23 Jul 2007 11:22:47 -0000</pubDate><guid>https://sourceforge.nete84c43b357f580f8cd0a72fdd40b56157987a85e</guid></item></channel></rss>