<?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: struts2-jquery tabs calling pages with jgrid issue</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/struts2-jquery-tabs-calling-pages-with-jgrid-issue</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/struts2-jquery-tabs-calling-pages-with-jgrid-issue/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>ram2010 on struts2-jquery tabs calling pages with jgrid issue</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/struts2-jquery-tabs-calling-pages-with-jgrid-issue#p14632</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/struts2-jquery-tabs-calling-pages-with-jgrid-issue#p14632</guid>
        	        	<description><![CDATA[<p>Hi Tony</p>
</p>
<p>I tried your suggestion and set autoencode to false.&#160; The first tab loads fine, however when I click on the 2nd and 3rd tab, the grid doesnt display!.. I can see in my console that the action is executed and I arrive at the jsp containing the grid. However, the grid doesnt display. Other texts in that jsp do display but the grid! very strange.</p>
<p>If you have any further suggestions, I would be happy to try them.</p>
<p>The showcase for this plugin does give an example of remote ajax calls with tabs. However it doesnt include one for tabs that include the jqgrid. Im sure its just a setting I need to modify but its difficult when I dont know which one.</p>
</p>
<p>thanks</p></p>
]]></description>
        	        	<pubDate>Mon, 08 Feb 2010 14:42:53 +0200</pubDate>
        </item>
        <item>
        	<title>tony on struts2-jquery tabs calling pages with jgrid issue</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/struts2-jquery-tabs-calling-pages-with-jgrid-issue#p14532</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/struts2-jquery-tabs-calling-pages-with-jgrid-issue#p14532</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I&#39;m not sure, but this maybe should be addressed to the creators of this plugin (Maybe they say the same - that you should address the problem here)</p>
<p>Also short - I never worked with struts2, so I can not help. Try to see what options in the grid are diffrent from those set in the struts2 plugin. Maybe you will look here</p>
<p><a href="http://www.trirand.com/blog/?page_id=393/help/setrowdata-doesnt-insert-data-correctly-into-column-please-assist/" rel="nofollow" target="_blank"><a href="http://www.trirand.com/blog/?p" rel="nofollow">http://www.trirand.com/blog/?p</a>.....se-assist/</a></p>
<p>where the autoencode by default is false, but in this plugin is set to true.</p>
<p>Not sure if this will help a lot, but..</p>
<p>Best Regards</p>
<p>Tony</p></p>
]]></description>
        	        	<pubDate>Wed, 03 Feb 2010 20:35:19 +0200</pubDate>
        </item>
        <item>
        	<title>ram2010 on struts2-jquery tabs calling pages with jgrid issue</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/struts2-jquery-tabs-calling-pages-with-jgrid-issue#p14482</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/struts2-jquery-tabs-calling-pages-with-jgrid-issue#p14482</guid>
        	        	<description><![CDATA[<p>Has anyhone managed to get the a tabbed pane working whereby&#160;the remote contents of all the tabs displaying an sjgrid? If so, can you help me out please.</p>
<p>I still cant get this to work even with the new struts&#160;jquery plugin 1.8.2.</p>
</p>
<p>Looking at firebug I am getting an error on line 5927 in the jquery-ui-1.7.2.js</p>
<p>o.ajaxOptions.success is not a function</p>
</p>
<p>My jsp page which contains the tab is very simple as mentioned in the above post.</p>
<p>(please note all the grids load up fine when they are not in a tab, so dont think there is anything wrong in my grid jsps)</p>
</p>
<p>In plugin 1.8.1, my first tab loaded up fine but the other tabs didnt show. But now in this new plugin, none of the tabs show anything!</p>
</p>
<p>Thanks in advance for any assistance.</p></p>
]]></description>
        	        	<pubDate>Mon, 01 Feb 2010 22:34:40 +0200</pubDate>
        </item>
        <item>
        	<title>ram2010 on struts2-jquery tabs calling pages with jgrid issue</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/struts2-jquery-tabs-calling-pages-with-jgrid-issue#p14016</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/struts2-jquery-tabs-calling-pages-with-jgrid-issue#p14016</guid>
        	        	<description><![CDATA[<p>Hi</p>
<p>I am trying to implement the tabbing functionality&#160;using the struts2 jquery plugin.</p>
<p>As per the struts2-jquery-showcase 1.8.1, I have simpe a jsp page which has code like so to call 3 seperate jsp pages which should all execute an action to load a grid:</p>
<p><span style="color: #0000ff;">&#160;&#160; &#60;s:url id="remoteurl1" action="goToDocumentDistGridAction" namespace="/setup"/&#62;</span></p>
<p><span style="color: #0000ff;">&#160;&#160; &#60;s:url id="remoteurl2" action="goToDocumentTypeGridAction" namespace="/setup"/&#62;</span></p>
<p><span style="color: #0000ff;">&#160;&#160;&#160;&#60;s:url id="remoteurl3" action="goToDocumentStatusGridAction" namespace="/setup"/&#62;</span></p>
<p><span style="color: #0000ff;">&#160;&#160;&#160; &#60;sj:tabbedpanel id="remotetabs" spinner="Please wait ..."&#62;<br />&#160;&#160;&#160;&#160;&#160; &#60;sj:tab id="tab1" href="%{remoteurl1}" label="Remote Tab One" /&#62;<br />&#160;&#160;&#160;&#160;&#160; &#60;sj:tab id="tab2" href="%{remoteurl2}" label="Remote Tab Two"/&#62;<br />&#160;&#160;&#160;&#160;&#160; &#60;sj:tab id="tab3" href="%{remoteurl3}" label="Remote Tab Three" /&#62;<br />&#160;&#160;&#160; &#60;/sj:tabbedpanel&#62;&#160;</span></p>
</p>
<p>The problem is that only the 1st tab will load the jsp containing the grid information. When i click on the 2nd or 3rd tab, the jsp is partially loaded(as in the header text value &#60;h2&#62; shows on the page), however the code after that on the jsp page doesnt execute&#160;:</p>
<p align="left"><span style="color: #2a00ff; font-size: x-small;"></span><span style="color: #2a00ff; font-size: x-small;"></span></p>
<p align="left"><span style="color: #008080; font-size: x-small;"><span style="color: #008080; font-size: x-small;">&#60;</span></span><span style="color: #3f7f7f; font-size: x-small;"><span style="color: #3f7f7f; font-size: x-small;">s:url</span></span><span style="font-size: x-small;"> </span><span style="color: #7f007f; font-size: x-small;"><span style="color: #7f007f; font-size: x-small;">id</span></span><span style="font-size: x-small;">=</span><em><span style="color: #2a00ff; font-size: x-small;"><span style="color: #2a00ff; font-size: x-small;">"remoteurl"</span></span></em><span style="font-size: x-small;"> </span><span style="color: #7f007f; font-size: x-small;"><span style="color: #7f007f; font-size: x-small;">action</span></span><span style="font-size: x-small;">=</span><em><span style="color: #2a00ff; font-size: x-small;"><span style="color: #2a00ff; font-size: x-small;">"jsontable"</span></span></em><span style="color: #008080; font-size: x-small;"><span style="color: #008080; font-size: x-small;">/&#62;</span></span></p>
<p><span style="color: #008080; font-size: x-small;"><span style="color: #008080; font-size: x-small;">&#60;</span></span><span style="color: #3f7f7f; font-size: x-small;"><span style="color: #3f7f7f; font-size: x-small;">s:url</span></span><span style="font-size: x-small;"> </span><span style="color: #7f007f; font-size: x-small;"><span style="color: #7f007f; font-size: x-small;">id</span></span><span style="font-size: x-small;">=</span><em><span style="color: #2a00ff; font-size: x-small;"><span style="color: #2a00ff; font-size: x-small;">"editurl"</span></span></em><span style="font-size: x-small;"> </span><span style="color: #7f007f; font-size: x-small;"><span style="color: #7f007f; font-size: x-small;">action</span></span><span style="font-size: x-small;">=</span><em><span style="color: #2a00ff; font-size: x-small;"><span style="color: #2a00ff; font-size: x-small;">"editjsontable"</span></span></em><span style="color: #008080; font-size: x-small;"><span style="color: #008080; font-size: x-small;">/&#62;</span></span></p>
</p>
<p>When I debug the jsp page, I just seem to step over it in debug mode withouth the action classes execute() being called!</p>
</p>
<p>&#160;&#60;sj:grid&#62; tag to display the grid does not execute the remoteurl and thus the grid doesnt display!</p>
</p>
<p>If I call the actions individually and withouth any tab, they all work perfectly well!!</p>
<p>Does anyone know is there anything different I need to set to ensure that remote tabs which show up grids work? Would appreicate your help on this matter.</p>
</p>
<p>My struts actions are:</p>
<p>//action below gets called by the tab to take me to my jsp page</p>
<p>&#160;<span style="color: #0000ff;">&#160;&#160;&#60;action name="goToDocumentTypeGridAction" class="documentTypeTableAction" method="goToGrid"&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;result name="success"&#62;documentTypeGrid.jsp&#60;/result&#62;<br />&#160;&#160;&#60;/action&#62;<br /></span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</p>
<p>//as the jsp page loads up, this action should be executed to load the grid. its executed only when its the 1st tab &#38; not 2nd</p>
<p>//or 3rd tabs!!<br /><span style="color: #0000ff;">&#160;&#160;&#160; &#60;action name="jsontable" class="documentTypeTableAction"&#62;<br />&#160;&#160;&#160;&#160;&#160; &#60;result type="json" name="success"&#62;<br />&#160;&#160;&#160;&#160;&#160;&#60;/result&#62;<br />&#160; &#160;&#160;&#60;/action&#62;</span></p>
<p><span style="color: #ff0000;"><span style="color: #0000ff;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;action name="editjsontable" class="documentTypeTableAction" method="edit"&#62;<br />&#160;&#160;&#160;&#160;&#160; &#60;result type="json" name="success"&#62;<br />&#160;&#160;&#160;&#160;&#160;&#60;/result&#62;<br />&#160; &#160;&#160;&#60;/action&#62;</span><br /></span></p>
</p>
<p>Thanks in advance!</p>
]]></description>
        	        	<pubDate>Tue, 19 Jan 2010 01:35:21 +0200</pubDate>
        </item>
</channel>
</rss>