<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Introducing SmartGWT to Grails</title>
	<atom:link href="http://www.cacoethes.co.uk/blog/groovyandgrails/introducing-smartgwt-to-grails/feed" rel="self" type="application/rss+xml" />
	<link>http://www.cacoethes.co.uk/blog/groovyandgrails/introducing-smartgwt-to-grails</link>
	<description>A search for meaning in software and life</description>
	<lastBuildDate>Thu, 06 Oct 2011 21:33:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Grails and smartgwt &#171; My Notebook</title>
		<link>http://www.cacoethes.co.uk/blog/groovyandgrails/introducing-smartgwt-to-grails/comment-page-1#comment-1220</link>
		<dc:creator>Grails and smartgwt &#171; My Notebook</dc:creator>
		<pubDate>Sat, 20 Aug 2011 06:38:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.cacoethes.co.uk/blog/?p=27#comment-1220</guid>
		<description>[...] set up a grails and smartgwt project basically follow this great tutorial by Peter Ledbrook. The equally useful tutorial by Josip goes one step [...]</description>
		<content:encoded><![CDATA[<p>[...] set up a grails and smartgwt project basically follow this great tutorial by Peter Ledbrook. The equally useful tutorial by Josip goes one step [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Emrul</title>
		<link>http://www.cacoethes.co.uk/blog/groovyandgrails/introducing-smartgwt-to-grails/comment-page-1#comment-1201</link>
		<dc:creator>Emrul</dc:creator>
		<pubDate>Mon, 27 Jun 2011 21:52:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.cacoethes.co.uk/blog/?p=27#comment-1201</guid>
		<description>I thought I&#039;d let you know that your post was one of the starting points for writing a plugin to SmartGWT.  I wanted to get all of it&#039;s server-side features (no DTOs needed, etc).  Feel free to take a look: http://blog.isomorphic.com/?p=346</description>
		<content:encoded><![CDATA[<p>I thought I&#8217;d let you know that your post was one of the starting points for writing a plugin to SmartGWT.  I wanted to get all of it&#8217;s server-side features (no DTOs needed, etc).  Feel free to take a look: <a href="http://blog.isomorphic.com/?p=346" rel="nofollow">http://blog.isomorphic.com/?p=346</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jan</title>
		<link>http://www.cacoethes.co.uk/blog/groovyandgrails/introducing-smartgwt-to-grails/comment-page-1#comment-1198</link>
		<dc:creator>Jan</dc:creator>
		<pubDate>Sun, 08 May 2011 11:55:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.cacoethes.co.uk/blog/?p=27#comment-1198</guid>
		<description>For including this in Mac OSX and IntelliJ make sure to check out:

http://buchmann.info/grails-and-gwt-in-intellijs-idea-not-a-valid-gwt-installation-error</description>
		<content:encoded><![CDATA[<p>For including this in Mac OSX and IntelliJ make sure to check out:</p>
<p><a href="http://buchmann.info/grails-and-gwt-in-intellijs-idea-not-a-valid-gwt-installation-error" rel="nofollow">http://buchmann.info/grails-and-gwt-in-intellijs-idea-not-a-valid-gwt-installation-error</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fábio Miranda</title>
		<link>http://www.cacoethes.co.uk/blog/groovyandgrails/introducing-smartgwt-to-grails/comment-page-1#comment-1194</link>
		<dc:creator>Fábio Miranda</dc:creator>
		<pubDate>Thu, 07 Apr 2011 18:48:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.cacoethes.co.uk/blog/?p=27#comment-1194</guid>
		<description>It would be nice if Grails dependency management could be used instead of manually download SmartGWT jar and configure classpath.

This is just a two step config at BuildConfig.groovy:

1) Add SmartGWT mavenRepo
repositories {
// ...
        mavenRepo &quot;http://www.smartclient.com/maven2&quot;
}

2) Add SmartGwt dependencies:

dependencies {
compile &#039;com.smartgwt:smartgwt:2.4&#039;
compile &#039;com.smartgwt:smartgwt-skins:2.4&#039;
}

But this don&#039;t work with run-gwt-client hosted mode

This thread:

http://groups.google.com/group/grails-gwt/browse_thread/thread/6a7fc0705fe66a13

 suggests the plugin will only work with &quot;lib dir&quot; approach, ignoring Grails dependency management.

Are there any updates about this issue?

Best regards,</description>
		<content:encoded><![CDATA[<p>It would be nice if Grails dependency management could be used instead of manually download SmartGWT jar and configure classpath.</p>
<p>This is just a two step config at BuildConfig.groovy:</p>
<p>1) Add SmartGWT mavenRepo<br />
repositories {<br />
// &#8230;<br />
        mavenRepo &#8220;http://www.smartclient.com/maven2&#8243;<br />
}</p>
<p>2) Add SmartGwt dependencies:</p>
<p>dependencies {<br />
compile &#8216;com.smartgwt:smartgwt:2.4&#8242;<br />
compile &#8216;com.smartgwt:smartgwt-skins:2.4&#8242;<br />
}</p>
<p>But this don&#8217;t work with run-gwt-client hosted mode</p>
<p>This thread:</p>
<p><a href="http://groups.google.com/group/grails-gwt/browse_thread/thread/6a7fc0705fe66a13" rel="nofollow">http://groups.google.com/group/grails-gwt/browse_thread/thread/6a7fc0705fe66a13</a></p>
<p> suggests the plugin will only work with &#8220;lib dir&#8221; approach, ignoring Grails dependency management.</p>
<p>Are there any updates about this issue?</p>
<p>Best regards,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: My Notebook &#187; Grails and smartgwt</title>
		<link>http://www.cacoethes.co.uk/blog/groovyandgrails/introducing-smartgwt-to-grails/comment-page-1#comment-1187</link>
		<dc:creator>My Notebook &#187; Grails and smartgwt</dc:creator>
		<pubDate>Fri, 11 Feb 2011 10:36:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.cacoethes.co.uk/blog/?p=27#comment-1187</guid>
		<description>[...] set up a grails and smartgwt project basically follow this great tutorial by Peter Peter [...]</description>
		<content:encoded><![CDATA[<p>[...] set up a grails and smartgwt project basically follow this great tutorial by Peter Peter [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jos</title>
		<link>http://www.cacoethes.co.uk/blog/groovyandgrails/introducing-smartgwt-to-grails/comment-page-1#comment-1154</link>
		<dc:creator>Jos</dc:creator>
		<pubDate>Thu, 02 Sep 2010 20:27:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.cacoethes.co.uk/blog/?p=27#comment-1154</guid>
		<description>@Peter
I&#039;m having troubles using the DTO plugin and GWT when I use the DTO classes in the cleint code I get the following ERROR while compiling or running in debug mode:
No source code is available for type grails.plugins.dto.DTO; did you forget to inherit a required module?

Adding  Does not help. What am I missing here?

And how do I go from DTO back to domain class again?</description>
		<content:encoded><![CDATA[<p>@Peter<br />
I&#8217;m having troubles using the DTO plugin and GWT when I use the DTO classes in the cleint code I get the following ERROR while compiling or running in debug mode:<br />
No source code is available for type grails.plugins.dto.DTO; did you forget to inherit a required module?</p>
<p>Adding  Does not help. What am I missing here?</p>
<p>And how do I go from DTO back to domain class again?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: oriental</title>
		<link>http://www.cacoethes.co.uk/blog/groovyandgrails/introducing-smartgwt-to-grails/comment-page-1#comment-1113</link>
		<dc:creator>oriental</dc:creator>
		<pubDate>Thu, 15 Jul 2010 19:12:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.cacoethes.co.uk/blog/?p=27#comment-1113</guid>
		<description>I have some questions, who can give me some advice? Thank you very much.

1&gt;Generally, if we use the data widget of smartgwt(or gwt), such as the ListGrid, the communication manner what we use is ? rpc or dataSource.

2&gt;If we use the dataSource(dataSource.setURL(&quot;http://localhost:xxxxxxxx/getList&quot;)), does the smartgwt support the lazy Loading? Such as in a ListGrid, once the scroll bar move, can the data  load automatically form the server?

3&gt;if not support the lazy loading, how to do ? We write some cods in the server to implement it, or make some Pag(Previous,Next)?

4&gt;If I write my code like the http://www.smartclient.com/smartgwt/showcase/#grid_databinding_lg_fields,
and get the data by rpcService. it will be ok? Does it support lazy loading? or make some Page(Previous,Next) by myself.

5&gt;If we submit a Form(such as &quot;id&quot;,&quot;name&quot;,&quot;age&quot;,&quot;sex&quot;), now I have two manners.
  a. by the BuildRequest
	
     JSONObject jsonObject = new JSONObject();
     jsonObject.put(&quot;name&quot;,new JSONString(form.getValue(&quot;name&quot;).toString()));
      .....
     
     request.sendRequest(json.toStirng(),...)
  b. by the rpc
     User user = new User();
     user.setName(form.getValue(&quot;name&quot;).toString())
     ......
     userService.add(user)
     ......
  Generally, which is the better?

6&gt; when we add/delete a record, how the ListGrid automatically refresh? By what manners.


Who can tell me the answer and give some example code? Thank for your help.</description>
		<content:encoded><![CDATA[<p>I have some questions, who can give me some advice? Thank you very much.</p>
<p>1&gt;Generally, if we use the data widget of smartgwt(or gwt), such as the ListGrid, the communication manner what we use is ? rpc or dataSource.</p>
<p>2&gt;If we use the dataSource(dataSource.setURL(&#8220;http://localhost:xxxxxxxx/getList&#8221;)), does the smartgwt support the lazy Loading? Such as in a ListGrid, once the scroll bar move, can the data  load automatically form the server?</p>
<p>3&gt;if not support the lazy loading, how to do ? We write some cods in the server to implement it, or make some Pag(Previous,Next)?</p>
<p>4&gt;If I write my code like the <a href="http://www.smartclient.com/smartgwt/showcase/#grid_databinding_lg_fields" rel="nofollow">http://www.smartclient.com/smartgwt/showcase/#grid_databinding_lg_fields</a>,<br />
and get the data by rpcService. it will be ok? Does it support lazy loading? or make some Page(Previous,Next) by myself.</p>
<p>5&gt;If we submit a Form(such as &#8220;id&#8221;,&#8221;name&#8221;,&#8221;age&#8221;,&#8221;sex&#8221;), now I have two manners.<br />
  a. by the BuildRequest</p>
<p>     JSONObject jsonObject = new JSONObject();<br />
     jsonObject.put(&#8220;name&#8221;,new JSONString(form.getValue(&#8220;name&#8221;).toString()));<br />
      &#8230;..</p>
<p>     request.sendRequest(json.toStirng(),&#8230;)<br />
  b. by the rpc<br />
     User user = new User();<br />
     user.setName(form.getValue(&#8220;name&#8221;).toString())<br />
     &#8230;&#8230;<br />
     userService.add(user)<br />
     &#8230;&#8230;<br />
  Generally, which is the better?</p>
<p>6&gt; when we add/delete a record, how the ListGrid automatically refresh? By what manners.</p>
<p>Who can tell me the answer and give some example code? Thank for your help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: oriental</title>
		<link>http://www.cacoethes.co.uk/blog/groovyandgrails/introducing-smartgwt-to-grails/comment-page-1#comment-1109</link>
		<dc:creator>oriental</dc:creator>
		<pubDate>Wed, 14 Jul 2010 08:58:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.cacoethes.co.uk/blog/?p=27#comment-1109</guid>
		<description>hello,peter.
If I do not use the DTO plugin,so the domain class can not use in the gwt client.Such as in a Form, and it hava some Fields,how to package the fields to the server,with the form.SetAction() method or rpc ?
I see &quot;this is used only in the very rare case that a form
 is used to submit data directly to a URL.  Normal server contact is through RPCManager&quot; from the DynamicForm.java.

can i use the json to package the fields,can I use the rpc?
how to do?</description>
		<content:encoded><![CDATA[<p>hello,peter.<br />
If I do not use the DTO plugin,so the domain class can not use in the gwt client.Such as in a Form, and it hava some Fields,how to package the fields to the server,with the form.SetAction() method or rpc ?<br />
I see &#8220;this is used only in the very rare case that a form<br />
 is used to submit data directly to a URL.  Normal server contact is through RPCManager&#8221; from the DynamicForm.java.</p>
<p>can i use the json to package the fields,can I use the rpc?<br />
how to do?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: oriental</title>
		<link>http://www.cacoethes.co.uk/blog/groovyandgrails/introducing-smartgwt-to-grails/comment-page-1#comment-1107</link>
		<dc:creator>oriental</dc:creator>
		<pubDate>Tue, 13 Jul 2010 10:50:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.cacoethes.co.uk/blog/?p=27#comment-1107</guid>
		<description>It works,very good.it supports sub-package. The pacakge name of SmartButton.java is part of the pakage name of the service.But the order must be  correct.So if the service package name --&quot;org.example.service.client&quot; and the SamrtButton package name is &quot;org.example.client&quot;, It will not work，even though config the source path=’xxxxx’ in the SamrtButton.gwt.xml.</description>
		<content:encoded><![CDATA[<p>It works,very good.it supports sub-package. The pacakge name of SmartButton.java is part of the pakage name of the service.But the order must be  correct.So if the service package name &#8211;&#8221;org.example.service.client&#8221; and the SamrtButton package name is &#8220;org.example.client&#8221;, It will not work，even though config the source path=’xxxxx’ in the SamrtButton.gwt.xml.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://www.cacoethes.co.uk/blog/groovyandgrails/introducing-smartgwt-to-grails/comment-page-1#comment-1106</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Tue, 13 Jul 2010 10:08:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.cacoethes.co.uk/blog/?p=27#comment-1106</guid>
		<description>Yes, org.example.service.client -&gt; org.example.client.service

As I said, I can&#039;t guarantee that will work, but from memory it should.</description>
		<content:encoded><![CDATA[<p>Yes, org.example.service.client -> org.example.client.service</p>
<p>As I said, I can&#8217;t guarantee that will work, but from memory it should.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

