<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title><![CDATA[Sencha Forum - Ext GWT: Q&A]]></title>
		<link>http://www.sencha.com/forum/</link>
		<description>Get helpful answers from community members using Ext GWT</description>
		<language>en</language>
		<lastBuildDate>Sun, 19 May 2013 01:02:31 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.sencha.com/forum/images/misc/rss.png</url>
			<title><![CDATA[Sencha Forum - Ext GWT: Q&A]]></title>
			<link>http://www.sencha.com/forum/</link>
		</image>
		<item>
			<title>Callback from Javascript</title>
			<link>http://www.sencha.com/forum/showthread.php?263964-Callback-from-Javascript&amp;goto=newpost</link>
			<pubDate>Sat, 18 May 2013 08:40:35 GMT</pubDate>
			<description>Hi All, 
 
I must communicate applet by javascript api. 
 
If Applet has any action, applet call javascript function webphonetojs(varr); 
 
At this...</description>
			<content:encoded><![CDATA[<div>Hi All,<br />
<br />
I must communicate applet by javascript api.<br />
<br />
If Applet has any action, applet call javascript function webphonetojs(varr);<br />
<br />
At this point I must callback this varr from GWT method, to show user about the action.<br />
<br />
I can send my commands to applet by (JSNI) native methods. But I couldn't get callback from applet. <br />
<br />
I want to ask you how can I implement <font color="#FF0000">webphonetojs</font> javascript method from GWT, and how can call GWT method.<br />
<br />
Working javascript code is following:<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">&lt;SCRIPT LANGUAGE=&quot;javascript&quot;&gt;<br />
&nbsp;  <font color="#ff0000">function webphonetojs(varr)<br />
&nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; alert(varr);<br />
&nbsp; &nbsp; &nbsp; &nbsp; //todo: handle incoming calls and other events here<br />
&nbsp; &nbsp; }</font><br />
<br />
<br />
<br />
<br />
&nbsp; &nbsp; function voipRegister(username, password)<br />
&nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; document.applets[0].API_Register(&quot;&quot;, username, password);&nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; }<br />
<br />
<br />
&nbsp; &nbsp; function voipCall(number)<br />
&nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; document.applets[0].API_Call(-1, number); <br />
&nbsp; &nbsp; }<br />
<br />
<br />
&nbsp; &nbsp; function voipHangup()<br />
&nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; document.applets[0].API_Hangup(-2);&nbsp; &nbsp;  <br />
&nbsp; &nbsp; }<br />
&nbsp; &nbsp; <br />
&lt;/SCRIPT&gt;</code><hr />
</div> </div>

 ]]></content:encoded>
			<category domain="http://www.sencha.com/forum/forumdisplay.php?88-Ext-GWT-Q-amp-A"><![CDATA[Ext GWT: Q&A]]></category>
			<dc:creator>harun</dc:creator>
			<guid isPermaLink="true">http://www.sencha.com/forum/showthread.php?263964-Callback-from-Javascript</guid>
		</item>
		<item>
			<title>Override Grid GroupinView/GroupingStore sort</title>
			<link>http://www.sencha.com/forum/showthread.php?263217-Override-Grid-GroupinView-GroupingStore-sort&amp;goto=newpost</link>
			<pubDate>Wed, 08 May 2013 20:17:39 GMT</pubDate>
			<description><![CDATA[I'm using a grid with GroupingStore and GroupingView. The three groups are  
 
Core 
Alternate Core 
Additional Measures 
 
I need to order the...]]></description>
			<content:encoded><![CDATA[<div>I'm using a grid with GroupingStore and GroupingView. The three groups are <br />
<br />
Core<br />
Alternate Core<br />
Additional Measures<br />
<br />
I need to order the groups in the above order, but they're showing up in the following order<br />
<br />
Additional Measures<br />
Alternate Core<br />
Core<br />
<br />
Anyone know what I need to do to override the alphabetical sort?<br />
<br />
Thanks.</div>

 ]]></content:encoded>
			<category domain="http://www.sencha.com/forum/forumdisplay.php?88-Ext-GWT-Q-amp-A"><![CDATA[Ext GWT: Q&A]]></category>
			<dc:creator>ssinai</dc:creator>
			<guid isPermaLink="true">http://www.sencha.com/forum/showthread.php?263217-Override-Grid-GroupinView-GroupingStore-sort</guid>
		</item>
		<item>
			<title>How to handle the button click in Dialog box</title>
			<link>http://www.sencha.com/forum/showthread.php?262991-How-to-handle-the-button-click-in-Dialog-box&amp;goto=newpost</link>
			<pubDate>Mon, 06 May 2013 14:03:41 GMT</pubDate>
			<description>I have an app where I create a dialog box if one button clicked. But then, when I created buttons like this: 
 
Code: 
---------...</description>
			<content:encoded><![CDATA[<div>I have an app where I create a dialog box if one button clicked. But then, when I created buttons like this:<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">Dialog.setButtons(Dialog.OKCANCEL)</code><hr />
</div>  how to handle the event that the &quot;ok&quot; Button is clicked</div>

 ]]></content:encoded>
			<category domain="http://www.sencha.com/forum/forumdisplay.php?88-Ext-GWT-Q-amp-A"><![CDATA[Ext GWT: Q&A]]></category>
			<dc:creator>Mike_javaJunior</dc:creator>
			<guid isPermaLink="true">http://www.sencha.com/forum/showthread.php?262991-How-to-handle-the-button-click-in-Dialog-box</guid>
		</item>
		<item>
			<title>GXT 2.2.5 NumericFilter extention</title>
			<link>http://www.sencha.com/forum/showthread.php?262843-GXT-2.2.5-NumericFilter-extention&amp;goto=newpost</link>
			<pubDate>Fri, 03 May 2013 12:33:06 GMT</pubDate>
			<description>Hi every one, 
 
 
I have a grid that show some information and some colums of this grid shows the duration of some task. the duration is in seconds...</description>
			<content:encoded><![CDATA[<div>Hi every one,<br />
<br />
<br />
I have a grid that show some information and some colums of this grid shows the duration of some task. the duration is in seconds so for a better looking I apply a render that convert the value in this format &quot;hh: mm: ss&quot;. And all works perfect. Now I add the filter plugin to the grid and I chose NumericFilter for these colums, The problem is that the number that the user enter for the filter I want to rapresent the number of minutes and not the number of second, so I extend the NumericFilter class and override the getValue method with the following code:<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">&nbsp; &nbsp; &nbsp;  @Override<br />
&nbsp; &nbsp; &nbsp; &nbsp; public List&lt;FilterConfig&gt; getValue()<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Debug();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; List&lt;FilterConfig&gt; filteList = super.getValue();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; List&lt;FilterConfig&gt; retval = new ArrayList&lt;FilterConfig&gt;();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for (FilterConfig filter : filteList) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; String value = String.valueOf(filter.getValue());<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; try {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; double timeValue = 60 * Double.parseDouble(value);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; value = String.valueOf(timeValue);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } catch (NumberFormatException e) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; retval = super.getValue();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; filter.setValue(value);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; retval.add(filter);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return retval;<br />
&nbsp; &nbsp; &nbsp; &nbsp; }</code><hr />
</div> When I use server filtering all works perfect because I call this method, but when I use local filtering this method is ignored.<br />
<br />
<br />
Can some one tell me which method I should override or which event I should catch???<br />
<br />
<br />
Thanks in advance</div>

 ]]></content:encoded>
			<category domain="http://www.sencha.com/forum/forumdisplay.php?88-Ext-GWT-Q-amp-A"><![CDATA[Ext GWT: Q&A]]></category>
			<dc:creator>BobbyGe</dc:creator>
			<guid isPermaLink="true">http://www.sencha.com/forum/showthread.php?262843-GXT-2.2.5-NumericFilter-extention</guid>
		</item>
		<item>
			<title>Grid alignment issue in Google Chrome</title>
			<link>http://www.sencha.com/forum/showthread.php?262827-Grid-alignment-issue-in-Google-Chrome&amp;goto=newpost</link>
			<pubDate>Fri, 03 May 2013 09:04:50 GMT</pubDate>
			<description>As soon as i update a value of a BeanModel in the Gxt Grid the alignment of that row goes awful. It only happens in Chrome (Version 26.0.1410.64 m)....</description>
			<content:encoded><![CDATA[<div>As soon as i update a value of a BeanModel in the Gxt Grid the alignment of that row goes awful. It only happens in Chrome <font color="#303942"><span style="font-family: Segoe UI">(Version 26.0.1410.64 m</span></font>). It works fine in IE9 and Firefox 20.0.1. Here i have attached the screenshot of the grid<br />
<br />
Development environment:<br />
GWT = 2.4<br />
GXT = 2.2.5<br />
JDK = 1.6<br />
<br />
Any suggestions please?</div>


	<div style="padding:10px">

	

	

	
		<fieldset class="fieldset">
			<legend>Attached Images</legend>
			<ul>
			<li>
	<img class="inlineimg" src="/jpg.gif" alt="File Type: jpg" />
	<a href="http://www.sencha.com/forum/attachment.php?attachmentid=43503&amp;d=1367571428">Grid Alignment.jpg&lrm;</a> 
(18.2 KB)
</li> 
			</ul>
			</fieldset>
	

	

	</div>
 ]]></content:encoded>
			<category domain="http://www.sencha.com/forum/forumdisplay.php?88-Ext-GWT-Q-amp-A"><![CDATA[Ext GWT: Q&A]]></category>
			<dc:creator>alarifth0</dc:creator>
			<guid isPermaLink="true">http://www.sencha.com/forum/showthread.php?262827-Grid-alignment-issue-in-Google-Chrome</guid>
		</item>
		<item>
			<title>Sencha GXT 2.x discontinued?</title>
			<link>http://www.sencha.com/forum/showthread.php?262773-Sencha-GXT-2.x-discontinued&amp;goto=newpost</link>
			<pubDate>Thu, 02 May 2013 15:10:01 GMT</pubDate>
			<description>Hi. 
 
We are currently using Sencha GXT 2.x 
We want to know any news about 2.x discontinuation. 
Is Sencha planning to relase new versions or they...</description>
			<content:encoded><![CDATA[<div>Hi.<br />
<br />
We are currently using Sencha GXT 2.x<br />
We want to know any news about 2.x discontinuation.<br />
Is Sencha planning to relase new versions or they will just stop releasing more 2.x versions?<br />
When the support for 2.x versions will expire?<br />
<br />
Any information would help, <br />
Thanks<br />
<br />
Arturo.</div>

 ]]></content:encoded>
			<category domain="http://www.sencha.com/forum/forumdisplay.php?88-Ext-GWT-Q-amp-A"><![CDATA[Ext GWT: Q&A]]></category>
			<dc:creator>arturo.duran</dc:creator>
			<guid isPermaLink="true">http://www.sencha.com/forum/showthread.php?262773-Sencha-GXT-2.x-discontinued</guid>
		</item>
		<item>
			<title>How to manually call resize on a changed Viewport</title>
			<link>http://www.sencha.com/forum/showthread.php?261849-How-to-manually-call-resize-on-a-changed-Viewport&amp;goto=newpost</link>
			<pubDate>Sun, 21 Apr 2013 02:04:43 GMT</pubDate>
			<description>Hi all, 
 
I spent about 3-4 hours fighting with this, and maybe someone can point me what Im missing! 
 
I use extgwt(its un older project) and I...</description>
			<content:encoded><![CDATA[<div><font color="#000000"><span style="font-family: Times New Roman">Hi all,</span></font><br />
<br />
<font color="#000000"><span style="font-family: Times New Roman">I spent about 3-4 hours fighting with this, and maybe someone can point me what Im missing!</span></font><br />
<br />
<font color="#000000"><span style="font-family: Times New Roman">I use extgwt(its un older project) and I have extended the Viewport which dose window resize tracking</span></font><br />
<font color="#000000"><span style="font-family: Times New Roman">in a class like this</span></font><br />
<br />
<br />
<font color="#000000"><span style="font-family: Times New Roman">public class MainFrame extends Viewport {   </span></font><br />
<br />
<font color="#000000"><span style="font-family: Times New Roman">	final BorderLayout layout = new BorderLayout();<br />
<br />
      code where border layout components are added<br />
<br />
<br />
 public void fireMainViewResize(){<br />
	  windowResizeTask.delay(windowResizeDelay);<br />
	 //  onWindowResize(Window.getClientWidth(), Window.getClientHeight());<br />
       <br />
  }<br />
<br />
<br />
In one of the components, which is added in the viewport as a BorderLayout.Left, on runtime(after initial show) I add some child components and this makes perent component to incrise in its y size. This is all expected. After this I want to re-draw the component so it can addopt to this new size and fit the viewport size again.<br />
<br />
I tried calling layout, layout(force=true) but dose nothing.<br />
Then I tried calling window resize on the Viewport with a layout(force), also nothing.<br />
<br />
If I manualy resize the browser all get adopted to the viewport size, so I cannot find out what else is actually called when the browser is relly resized.<br />
<br />
I did a try to call all the related Window.resizeHandlers by jsni methods because they are not visible, <br />
once like this:<br />
<br />
 private native void fireManulaWindowResize() /*-{<br />
    try {<br />
    	$wnd.console.log(&quot;fireManulaWindowResize start&quot;);<br />
    	$wnd.onresize(new Object());<br />
    	$wnd.console.log(&quot;fireManulaWindowResize end&quot;);<br />
 <br />
    } catch (err){<br />
      $wnd.console.log(&quot;Error on manual call for resize: &quot; + err);<br />
    }<br />
 <br />
	}-*/;<br />
<br />
<br />
and like this<br />
<br />
 private native void fireManulaWindowResize() /*-{<br />
    try {<br />
    	$wnd.console.log(&quot;fireManulaWindowResize start&quot;);<br />
    	@com.google.gwt.user.client.Window::onResize()();<br />
        $wnd.console.log(&quot;fireManulaWindowResize end&quot;);<br />
       <br />
    //    $wnd.alert(&quot;$wnd.resized&quot;);<br />
    	<br />
    } catch (err){<br />
      $wnd.console.log(&quot;Error on manual call for resize: &quot; + err);<br />
    }<br />
 <br />
	}-*/;<br />
<br />
<br />
<br />
<br />
No exception in the calles, but the added handleres are never executed...<br />
<br />
Someone idea on how to force the viewport to re-renderer(re-calculate) its children sizes and paint again?<br />
<br />
<br />
Tnx for any idea,<br />
Blaze<br />
</span></font></div>

 ]]></content:encoded>
			<category domain="http://www.sencha.com/forum/forumdisplay.php?88-Ext-GWT-Q-amp-A"><![CDATA[Ext GWT: Q&A]]></category>
			<dc:creator>baze</dc:creator>
			<guid isPermaLink="true">http://www.sencha.com/forum/showthread.php?261849-How-to-manually-call-resize-on-a-changed-Viewport</guid>
		</item>
	</channel>
</rss>
