<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
<channel>
	<title>Comments for Stickblog</title>
	
	<link>http://the-stickman.com</link>
	<description>Random developer notes</description>
	<lastBuildDate>Wed, 03 Aug 2011 09:35:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
	<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/StickblogComments" /><feedburner:info uri="stickblogcomments" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:browserFriendly>This is an XML content feed. It is intended to be viewed in a newsreader or syndicated to another site, subject to copyright and fair use.</feedburner:browserFriendly><item>
		<title>Comment on Using .htaccess to suspend an entire site while still working on it by Stickman</title>
		<link>http://the-stickman.com/web-development/using-htaccess-to-suspend-an-entire-site-while-still-working-on-it/comment-page-1/#comment-1612</link>
		<dc:creator>Stickman</dc:creator>
		<pubDate>Wed, 03 Aug 2011 09:35:01 +0000</pubDate>
		<guid isPermaLink="false">http://the-stickman.com/?p=244#comment-1612</guid>
		<description>Thanks for pointing this out Michael, I've updated the post to include a redirect with the appropriate status code.</description>
		<content:encoded><![CDATA[<p>Thanks for pointing this out Michael, I&#8217;ve updated the post to include a redirect with the appropriate status code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using .htaccess to suspend an entire site while still working on it by Michael</title>
		<link>http://the-stickman.com/web-development/using-htaccess-to-suspend-an-entire-site-while-still-working-on-it/comment-page-1/#comment-1611</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Wed, 03 Aug 2011 09:23:10 +0000</pubDate>
		<guid isPermaLink="false">http://the-stickman.com/?p=244#comment-1611</guid>
		<description>You have to send back 503 Service Unavailable HTTP response code unil the end of maintenance.</description>
		<content:encoded><![CDATA[<p>You have to send back 503 Service Unavailable HTTP response code unil the end of maintenance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Upload multiple files with a single file element by Vishwajeet</title>
		<link>http://the-stickman.com/web-development/javascript/upload-multiple-files-with-a-single-file-element/comment-page-11/#comment-1610</link>
		<dc:creator>Vishwajeet</dc:creator>
		<pubDate>Tue, 02 Aug 2011 11:49:51 +0000</pubDate>
		<guid isPermaLink="false">http://the-stickman.com/?p=8#comment-1610</guid>
		<description>Unfortunately, the code is not working when tested in IE8 with java servlet as server side entity. I tried this with jakarta commons file uploader package to access the uploaded files in the servlet. 
I get the following log info at server side-
&gt;Field Name = file_1, File Name = , Content type = &gt;application/octet-stream, File Size = 0

 Even if I try and upload, say, 5 files at server side it just receives the last uploaded file name, in this case fifth, as 'Field Name' without any uploaded file.
I hope I make my point clear here. The same code just works fine if I comment out the JavaScript code in the provided example.html and just upload a single file(which is a default behaviour). 
I hope this problem has nothing to do with choice of Java servlet as server side component or the jakarta file uploader package.</description>
		<content:encoded><![CDATA[<p>Unfortunately, the code is not working when tested in IE8 with java servlet as server side entity. I tried this with jakarta commons file uploader package to access the uploaded files in the servlet.<br />
I get the following log info at server side-<br />
&gt;Field Name = file_1, File Name = , Content type = &gt;application/octet-stream, File Size = 0</p>
<p> Even if I try and upload, say, 5 files at server side it just receives the last uploaded file name, in this case fifth, as &#8216;Field Name&#8217; without any uploaded file.<br />
I hope I make my point clear here. The same code just works fine if I comment out the JavaScript code in the provided example.html and just upload a single file(which is a default behaviour).<br />
I hope this problem has nothing to do with choice of Java servlet as server side component or the jakarta file uploader package.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Upload multiple files with a single file element by Toko Bunga Alam</title>
		<link>http://the-stickman.com/web-development/javascript/upload-multiple-files-with-a-single-file-element/comment-page-11/#comment-1609</link>
		<dc:creator>Toko Bunga Alam</dc:creator>
		<pubDate>Sat, 30 Jul 2011 17:05:30 +0000</pubDate>
		<guid isPermaLink="false">http://the-stickman.com/?p=8#comment-1609</guid>
		<description>wow... great.
but i prefer the real multiple file uploader, not 3 times click. :)</description>
		<content:encoded><![CDATA[<p>wow&#8230; great.<br />
but i prefer the real multiple file uploader, not 3 times click. <img src='http://the-stickman.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Finding selection start and end position in a textarea, in Internet Explorer by Jerry B.</title>
		<link>http://the-stickman.com/web-development/javascript/finding-selection-cursor-position-in-a-textarea-in-internet-explorer/comment-page-1/#comment-1607</link>
		<dc:creator>Jerry B.</dc:creator>
		<pubDate>Thu, 14 Jul 2011 17:46:55 +0000</pubDate>
		<guid isPermaLink="false">http://the-stickman.com/uncategorized/finding-selection-cursor-position-in-a-textarea-in-internet-explorer/#comment-1607</guid>
		<description>I revised my solution to handle the issue noted by Simon Sanderson.

It moves a bookmark from the document.selection textrange to an element textrange. It correctly calculates the start and end positions regardless of where the element is in the page. It now handles end of field bookmarks with no selection.

function getSelectionRange(oElm)
{
	var $r	= { text: "", start: 0, end: 0, length: 0 };
	if (oElm.setSelectionRange)
	{	/* W3C/Gecko/IE9+ */
		$r.start= oElm.selectionStart;
		$r.end	= oElm.selectionEnd;
		$r.text	= ($r.start !== $r.end) ? oElm.value.substring($r.start, $r.end): "";
	}
	else if (document.selection)
	{	/* IE8- */
		var $oS, $oR, $oT;
		if (oElm.tagName &amp;&amp; oElm.tagName === "TEXTAREA")
		{
			$oS	= document.selection.createRange().duplicate();
			$oR	= oElm.createTextRange();
			$oR.collapse(false);
			$oR.moveToBookmark($oS.getBookmark());
			if ($oS.text === "")
			{
				$oT	= $oR.duplicate();
				$oT.moveEnd("character", 1);
				if ($oS.boundingWidth === $oT.boundingWidth &amp;&amp; $oS.boundingHeight === $oT.boundingHeight)
				{
					$oR	= $oT;
				}
			}
		}
		else
		{
			$oR	= document.selection.createRange().duplicate();
		}
		$r.text		= $oR.text;
		$r.start	= Math.abs($oR.moveStart("character", -1000000));
			$r.end		= $r.text.length + $r.start;
	}
	else if (document.getSelection)
	{	/* Netscape 4 */
		$r.text	= document.getSelection();
		$r.end	= $r.text.length;
	}
	$r.length	= $r.text.length;
	return $r;
}</description>
		<content:encoded><![CDATA[<p>I revised my solution to handle the issue noted by Simon Sanderson.</p>
<p>It moves a bookmark from the document.selection textrange to an element textrange. It correctly calculates the start and end positions regardless of where the element is in the page. It now handles end of field bookmarks with no selection.</p>
<p>function getSelectionRange(oElm)<br />
{<br />
	var $r	= { text: &#8220;&#8221;, start: 0, end: 0, length: 0 };<br />
	if (oElm.setSelectionRange)<br />
	{	/* W3C/Gecko/IE9+ */<br />
		$r.start= oElm.selectionStart;<br />
		$r.end	= oElm.selectionEnd;<br />
		$r.text	= ($r.start !== $r.end) ? oElm.value.substring($r.start, $r.end): &#8220;&#8221;;<br />
	}<br />
	else if (document.selection)<br />
	{	/* IE8- */<br />
		var $oS, $oR, $oT;<br />
		if (oElm.tagName &amp;&amp; oElm.tagName === &#8220;TEXTAREA&#8221;)<br />
		{<br />
			$oS	= document.selection.createRange().duplicate();<br />
			$oR	= oElm.createTextRange();<br />
			$oR.collapse(false);<br />
			$oR.moveToBookmark($oS.getBookmark());<br />
			if ($oS.text === &#8220;&#8221;)<br />
			{<br />
				$oT	= $oR.duplicate();<br />
				$oT.moveEnd(&#8220;character&#8221;, 1);<br />
				if ($oS.boundingWidth === $oT.boundingWidth &amp;&amp; $oS.boundingHeight === $oT.boundingHeight)<br />
				{<br />
					$oR	= $oT;<br />
				}<br />
			}<br />
		}<br />
		else<br />
		{<br />
			$oR	= document.selection.createRange().duplicate();<br />
		}<br />
		$r.text		= $oR.text;<br />
		$r.start	= Math.abs($oR.moveStart(&#8220;character&#8221;, -1000000));<br />
			$r.end		= $r.text.length + $r.start;<br />
	}<br />
	else if (document.getSelection)<br />
	{	/* Netscape 4 */<br />
		$r.text	= document.getSelection();<br />
		$r.end	= $r.text.length;<br />
	}<br />
	$r.length	= $r.text.length;<br />
	return $r;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Upload multiple files with a single file element by powerpoint45</title>
		<link>http://the-stickman.com/web-development/javascript/upload-multiple-files-with-a-single-file-element/comment-page-11/#comment-1605</link>
		<dc:creator>powerpoint45</dc:creator>
		<pubDate>Wed, 13 Jul 2011 20:03:08 +0000</pubDate>
		<guid isPermaLink="false">http://the-stickman.com/?p=8#comment-1605</guid>
		<description>does anyone know how to make it so the file sends to an Email</description>
		<content:encoded><![CDATA[<p>does anyone know how to make it so the file sends to an Email</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Dynamic forms and tables in Mozilla by Shashi</title>
		<link>http://the-stickman.com/web-development/dynamic-forms-and-tables-in-mozilla/comment-page-1/#comment-1604</link>
		<dc:creator>Shashi</dc:creator>
		<pubDate>Sat, 09 Jul 2011 21:01:02 +0000</pubDate>
		<guid isPermaLink="false">http://the-stickman.com/web-development/dynamic-forms-and-tables-in-mozilla/#comment-1604</guid>
		<description>Bingooooooooo....it solved my problem... Had been struggling with this issue for almost a week now..... thank u so much for posting this...it helped me after been posted for more than 6 years now...thanks a ton</description>
		<content:encoded><![CDATA[<p>Bingooooooooo&#8230;.it solved my problem&#8230; Had been struggling with this issue for almost a week now&#8230;.. thank u so much for posting this&#8230;it helped me after been posted for more than 6 years now&#8230;thanks a ton</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Upload multiple files with a single file element by centos</title>
		<link>http://the-stickman.com/web-development/javascript/upload-multiple-files-with-a-single-file-element/comment-page-11/#comment-1603</link>
		<dc:creator>centos</dc:creator>
		<pubDate>Fri, 08 Jul 2011 03:58:46 +0000</pubDate>
		<guid isPermaLink="false">http://the-stickman.com/?p=8#comment-1603</guid>
		<description>Great job for the multiple file selector but can you help me with the multiple file fields in the same page with multiple file selector for each.</description>
		<content:encoded><![CDATA[<p>Great job for the multiple file selector but can you help me with the multiple file fields in the same page with multiple file selector for each.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Multiple file uploader: Mootools version by Tute</title>
		<link>http://the-stickman.com/web-development/multiple-file-uploader-mootools-version/comment-page-2/#comment-1601</link>
		<dc:creator>Tute</dc:creator>
		<pubDate>Wed, 15 Jun 2011 06:52:46 +0000</pubDate>
		<guid isPermaLink="false">http://the-stickman.com/web-development/javascript/multiple-file-uploader-mootools-version/#comment-1601</guid>
		<description>I have some problems whit IE9 because this browser doesnt support HTML Elements creation from mootools 1.1
In mootools 1.2.5 the problem is fixed, but this script only work whit mootools 1.1 
some help?</description>
		<content:encoded><![CDATA[<p>I have some problems whit IE9 because this browser doesnt support HTML Elements creation from mootools 1.1<br />
In mootools 1.2.5 the problem is fixed, but this script only work whit mootools 1.1<br />
some help?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Upload multiple files with a single file element by Nour</title>
		<link>http://the-stickman.com/web-development/javascript/upload-multiple-files-with-a-single-file-element/comment-page-11/#comment-1598</link>
		<dc:creator>Nour</dc:creator>
		<pubDate>Thu, 26 May 2011 12:55:33 +0000</pubDate>
		<guid isPermaLink="false">http://the-stickman.com/?p=8#comment-1598</guid>
		<description>Thanx, this is really helpful, but is this supported by all web browsers?</description>
		<content:encoded><![CDATA[<p>Thanx, this is really helpful, but is this supported by all web browsers?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

