<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>jQuery Grid Plugin - jqGrid - Topic: loadComplete event function takes no arguments</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/loadcomplete-event-function-takes-no-arguments</link>
	<description><![CDATA[Grid plugin]]></description>
	<generator>Simple:Press Version 5.7.5.3</generator>
	<atom:link href="http://www.trirand.com/blog/?page_id=393/bugs/loadcomplete-event-function-takes-no-arguments/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on loadComplete event function takes no arguments</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/loadcomplete-event-function-takes-no-arguments#p7900</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/loadcomplete-event-function-takes-no-arguments#p7900</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>In the 3.5 version to the loadComplete event we pass the request.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 20 Jul 2009 10:28:30 +0300</pubDate>
        </item>
        <item>
        	<title>icfantv on loadComplete event function takes no arguments</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/loadcomplete-event-function-takes-no-arguments#p7874</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/loadcomplete-event-function-takes-no-arguments#p7874</guid>
        	        	<description><![CDATA[<p>Crap, didn&#39;t mean to post this in the bugs section - moved to Feature Requests.</p>
]]></description>
        	        	<pubDate>Thu, 16 Jul 2009 11:53:45 +0300</pubDate>
        </item>
        <item>
        	<title>icfantv on loadComplete event function takes no arguments</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/loadcomplete-event-function-takes-no-arguments#p7872</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/loadcomplete-event-function-takes-no-arguments#p7872</guid>
        	        	<description><![CDATA[<p>I realize that the problem we are trying to solve here is because of our authentication mechanism (we are using JAAS), but I&#39;m wondering if anyone has any argument against adding the XMLHttpRequest object to the <em>loadComplete</em>() function call?</p>
<p>Looking at the source code, it&#39;s a VERY easy change as the <em>populate</em> function simply defers to jQuery&#39;s $.ajax(&#8230;) function and the code that calls the jqGrid <em>loadComplete</em> function can simply take the first parameter passed (the request object) to the $.ajax(&#8230;).complete(&#8230;) function.</p>
<p>The problem is that when JAAS detects that a request is made to a protected resource and the user&#39;s session has expired, it redirects the request to the login page.&#160; Agreeably in a somewhat hacky fashion, we add a response header indicating that the user&#39;s session is still valid &#8211; if the header is missing, we know it&#39;s not and can redirect the browser to the login page.</p>
<p>However, because we don&#39;t have access to the request object, we can&#39;t look for this header.&#160; Obviously, by modifying the grid.base.js file we can &#8220;fix&#8221; this, but then we have to remember to do this every time we upgrade jqGrid.</p>
<p>So, I&#39;m wondering if anyone has any pushback on making this modification.&#160; Comments are welcome.</p>
<p>&#8211;adam</p>
]]></description>
        	        	<pubDate>Thu, 16 Jul 2009 11:50:42 +0300</pubDate>
        </item>
</channel>
</rss>