<?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? Display server response in bottominfo *on success*???</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-display-server-response-in-bottominfo-on-success</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-display-server-response-in-bottominfo-on-success/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>jboss on HOW TO? Display server response in bottominfo *on success*???</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-display-server-response-in-bottominfo-on-success#p20668</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-display-server-response-in-bottominfo-on-success#p20668</guid>
        	        	<description><![CDATA[<p>how dou you send the data from the server?</p>
]]></description>
        	        	<pubDate>Thu, 04 Nov 2010 13:43:16 +0200</pubDate>
        </item>
        <item>
        	<title>Trober on HOW TO? Display server response in bottominfo *on success*???</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-display-server-response-in-bottominfo-on-success#p19895</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-display-server-response-in-bottominfo-on-success#p19895</guid>
        	        	<description><![CDATA[<p>We find the side-effect.</p>
</p>
<p>bottominfo has &#160;to be &#62; 1 length set when create form:</p>
<p>&#160;&#160; &#160;bottominfo: &#39; &#160;&#39; &#160; // &#60;=== at least one space.</p>
</p>
<p>if zero-length, e.g.</p>
<p>&#160;&#160; &#160;bottominfo: &#39;&#39; &#160; &#160;// &#60;=== zero-length string, but sets it in DOM bottominfo. &#160;If not in initilialize, then not in DOM, then never works.</p>
<p><img class="spSmiley" style="margin:0" title="Confused" src="/blog/wp-content/forum-smileys/sf-confused.gif" alt="Confused" /></p>
<p>For sake of community we post our find.</p></p>
]]></description>
        	        	<pubDate>Tue, 21 Sep 2010 09:13:48 +0300</pubDate>
        </item>
        <item>
        	<title>Trober on HOW TO? Display server response in bottominfo *on success*???</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-display-server-response-in-bottominfo-on-success#p19893</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-display-server-response-in-bottominfo-on-success#p19893</guid>
        	        	<description><![CDATA[<p>Sorry to post we have a solution so quick. &#160;We do not. &#160;<img class="spSmiley" style="margin:0" title="Frown" src="/blog/wp-content/forum-smileys/sf-frown.gif" alt="Frown" /></p>
</p>
<p>Bottominfo never displays message even when successful, e.g.</p>
</p>
<p>afterSubmit: function(response, postdata) {<br />&#160;&#160; &#160;var ss = response.responseText.split(&#39;:&#39;);</p>
<p>&#160;&#160; &#160;var tf = (ss[0] == &#39;1&#39;) ? true : false;&#160;&#160;&#160; &#160;$(&#39;.bottominfo&#39;).text(ss[1]); &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#60;== We want "Item successfully created". &#160;How???&#160;&#160; &#160;var newid = (ss[2] != undefined) ? ss[2] : null;&#160;&#160;&#160; &#160;return [tf, ss[1], newid];<br />&#160;&#160;}</p>
]]></description>
        	        	<pubDate>Tue, 21 Sep 2010 08:48:47 +0300</pubDate>
        </item>
        <item>
        	<title>Trober on HOW TO? Display server response in bottominfo *on success*???</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-display-server-response-in-bottominfo-on-success#p19891</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-display-server-response-in-bottominfo-on-success#p19891</guid>
        	        	<description><![CDATA[<p>We find our answer, but not sure why it didn&#39;t work.</p>
<p>Another page in our app DID update .bottominfo on success.</p>
<p>We compare the two, and found no difference other than order of setting parameters prior to display form.</p>
<p>Debugging in browser showed no errors of any kind, working or non-working page.</p>
<p>We copy working page to non-working and just have to close this.</p>
<p>Sorry, we cannot debug it to find out our time must go on our app.</p>
]]></description>
        	        	<pubDate>Tue, 21 Sep 2010 07:57:10 +0300</pubDate>
        </item>
        <item>
        	<title>Trober on HOW TO? Display server response in bottominfo *on success*???</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-display-server-response-in-bottominfo-on-success#p19890</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-display-server-response-in-bottominfo-on-success#p19890</guid>
        	        	<description><![CDATA[<p>I see others asking &#160;same question, &#160;but no answer I found in their threads posted.</p>
</p>
<p>PROBLEM: DISPLAY MESSAGE ON FORM (FORM EDITING) &#160;IF &#160;*SUCCESS OR FAILURE* &#160;IN SERVER RESPONSE.</p>
</p>
<p>Like doc says, if afterSubmit return true, message is NOT displayed. &#160; WHY??? &#160;We MUST have message on form for success,</p>
</p>
<p>Maybe jQuery selector is wrong below? &#160;</p>
</p>
<p>afterSubmit: function (resp, pdata) {</p>
<p>&#160;&#160; &#160;var m = resp.responseText.split(&#39;:&#39;);</p>
<p>&#160;&#160; &#160;$(&#39;bottominfo&#39;).text(m[1]); &#160;// &#60;=== PUT MESSAGE ON FORM *REGARDLESS* OF SUCCESS/FAILURE.</p>
<p>&#160;&#160; &#160;return(m[0] == &#39;true&#39; ? true : false, m[1], m[2] != undefined &#160;? m[2] : null); &#160;// &#60;== RETURN MESSAGE EVEN WHEN SUCCESS, BUT NEVER DISPLAYS (AS DOC SAYS IT WILL NOT IF RETURNING TRUE....AGAIN, WHY???)</p>
<p>}</p>
<p><img class="spSmiley" style="margin:0" title="Cry" src="/blog/wp-content/forum-smileys/sf-cry.gif" alt="Cry" /></p>
<p>Thanks in advance for help. &#160;</p>
]]></description>
        	        	<pubDate>Tue, 21 Sep 2010 07:16:29 +0300</pubDate>
        </item>
</channel>
</rss>