<?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: Problem with update and add URL</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/problem-with-update-and-add-url</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/problem-with-update-and-add-url/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Problem with update and add URL</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/problem-with-update-and-add-url#p3548</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/problem-with-update-and-add-url#p3548</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>It should work. Please clear the cache.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 15 Dec 2008 04:19:19 +0200</pubDate>
        </item>
        <item>
        	<title>E. on Problem with update and add URL</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/problem-with-update-and-add-url#p3547</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/problem-with-update-and-add-url#p3547</guid>
        	        	<description><![CDATA[<p>How can I correct the incorrect behavior?</p>
<p>I donwloaded the last release but I don&#39;t found any change.</p>
<p>Is any SVN available, or the correction will be a part or the next release?</p>
<p>Meanwhile, how can I correct it?</p>
</p>
<p>Thank you very much,</p>
<p>E.</p>
]]></description>
        	        	<pubDate>Mon, 15 Dec 2008 04:00:53 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Problem with update and add URL</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/problem-with-update-and-add-url#p3445</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/problem-with-update-and-add-url#p3445</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thanks. Fixed.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 09 Dec 2008 06:43:41 +0200</pubDate>
        </item>
        <item>
        	<title>E. on Problem with update and add URL</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/problem-with-update-and-add-url#p3433</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/problem-with-update-and-add-url#p3433</guid>
        	        	<description><![CDATA[<p>I tried with custom buttons like this, but the behavior is the same.</p>
<p>Example of custom add button, the edit button is equal whith an other URL:</p>
<p>.navButtonAdd("#pager",<br />{ <br />&#160;&#160;&#160; caption: &#39;Add&#39;, buttonimg: jq_img+&#39;row_add.gif&#39;, <br />&#160;&#160;&#160; onClickButton: function(rowid)<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; jQuery("#list").editGridRow("new",<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; reloadAfterSubmit:true, <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; closeAfterAdd: true,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; clearAfterAdd: true<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; url:&#39;/contacts/add/&#39;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; }) <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; , position: "last", title: &#39;New&#39; } )<br />;</p>
<p>The first time I click on add button, the record is sent and stored in database. Then if I select a row (without reload the whole page), edit&#160; and send it, a new record is created, because the URL /contacts/add/ is called again (I can see it with Firebug). Also happens in Safari.</p>
]]></description>
        	        	<pubDate>Fri, 05 Dec 2008 11:31:46 +0200</pubDate>
        </item>
        <item>
        	<title>E. on Problem with update and add URL</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/problem-with-update-and-add-url#p3430</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/problem-with-update-and-add-url#p3430</guid>
        	        	<description><![CDATA[<p>Hi</p>
<p>In the jQuery(&#39;#id&#39;).navGrid I have a custom URL for each action, like this:</p>
<p>jQuery(&#39;#list&#39;).navGrid(&#39;#pager&#39;,<br />// options<br />{},<br />// edition<br />{url:&#39;/contacts/update/idperson/&#60;?php echo $this-&#62;id; ?&#62;&#39;},<br />// add<br />{url:&#39;/contacts/add/&#39; },<br />// delete<br />{ url:&#39;/contacts/delete&#39;},<br />// search;<br />{} <br />);</p>
<p>The URL works fine the first time I click to update or add a record.</p>
<p>After update, even if I click on the add button, the update URL is called. After an add action, the URL stay in update even if I click the add button.</p>
<p>I can&#39;t use the same URL with the &#39;oper&#39; or &#39;add&#39; parameter, because we need different URL for each action to better integration into Zend Framework. I think is easy to change this behavior in JS than to change all the structure or ZF and our application.</p>
<p>Is there any way to "reset" the form action or other solution?</p>
<p>Thank you,<br />Escrig</p>
]]></description>
        	        	<pubDate>Fri, 05 Dec 2008 03:37:56 +0200</pubDate>
        </item>
</channel>
</rss>