<?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: How to trigger custom error to fire up loadError</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-trigger-custom-error-to-fire-up-loaderror</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/help/how-to-trigger-custom-error-to-fire-up-loaderror/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>josepk on How to trigger custom error to fire up loadError</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-trigger-custom-error-to-fire-up-loaderror#p1092</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-trigger-custom-error-to-fire-up-loaderror#p1092</guid>
        	        	<description><![CDATA[<p>In our project , we utilize struts and Jsp, j2ee, java, and when an error</p>
<p>ocurs we dont generate any http header error, we are calling the same</p>
<p>page that has generated the error but with some message in a div.</p>
<p>Then when the server responds and the grid method are called, the</p>
<p>response of the server can be catched and parsed to see if there is an</p>
<p>error and then&#160; show this error or doing whatever else.</p>
</p>
<p>Josep Escofet</p>
]]></description>
        	        	<pubDate>Wed, 16 Jul 2008 04:27:17 +0300</pubDate>
        </item>
        <item>
        	<title>interlee on How to trigger custom error to fire up loadError</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-trigger-custom-error-to-fire-up-loaderror#p1025</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-trigger-custom-error-to-fire-up-loaderror#p1025</guid>
        	        	<description><![CDATA[<p>Thank you Tony. It worked.</p>
<p>/**<br />&#160;* If not logged on, display error message<br />&#160;*/<br />if ($session-&#62;checkAuthentication(false) == false)<br />{<br />&#160;&#160;&#160; header("HTTP/1.0 404 Not found error");<br />&#160;&#160;&#160; print &#39;The session has been expired. Please sign out and sign in again.&#39;;<br />&#160;&#160;&#160; exit;<br />}</p>
</p>
<p>Best,</p>
<p>Daniel</p>
]]></description>
        	        	<pubDate>Tue, 08 Jul 2008 13:36:41 +0300</pubDate>
        </item>
        <item>
        	<title>tony on How to trigger custom error to fire up loadError</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-trigger-custom-error-to-fire-up-loaderror#p1013</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-trigger-custom-error-to-fire-up-loaderror#p1013</guid>
        	        	<description><![CDATA[<p>header("HTTP/1.0 404 Not Found");</p>
<p>if you use php</p>
]]></description>
        	        	<pubDate>Tue, 08 Jul 2008 02:52:49 +0300</pubDate>
        </item>
        <item>
        	<title>interlee on How to trigger custom error to fire up loadError</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-trigger-custom-error-to-fire-up-loaderror#p1010</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-trigger-custom-error-to-fire-up-loaderror#p1010</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
<p>I know that loadError fires up when there is an error in the server script. Is there a way to trigger my own custom error message so that the loadError fuction can fire up and display the error message?</p>
<p>Let&#39;s say that there is an SQL in a server script and its syntax is correct.</p>
<p>But, its semantics are wrong and I would like to trigger an error with my own message in the server script so that the loadError in the grid fires up and display the error message.</p>
<p>Would there be a way for this kind thing?</p>
</p>
<p>Thank you!</p>
<p>Daniel</p>
]]></description>
        	        	<pubDate>Mon, 07 Jul 2008 16:02:00 +0300</pubDate>
        </item>
</channel>
</rss>