<?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 for train of thought</title>
	<atom:link href="http://omarello.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://omarello.com</link>
	<description></description>
	<lastBuildDate>Sat, 18 Feb 2012 16:07:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on Grails one-to-many dynamic forms by win</title>
		<link>http://omarello.com/2010/08/grails-one-to-many-dynamic-forms/#comment-6488</link>
		<dc:creator>win</dc:creator>
		<pubDate>Sat, 18 Feb 2012 16:07:09 +0000</pubDate>
		<guid isPermaLink="false">http://omarello.com/?p=13#comment-6488</guid>
		<description>I test in 2.0.1. It work fine.
when I change &quot;phonesList&quot; to &quot;phones&quot; in gsp files and remove getPhonesList method in Contact class.</description>
		<content:encoded><![CDATA[<p>I test in 2.0.1. It work fine.<br />
when I change &#8220;phonesList&#8221; to &#8220;phones&#8221; in gsp files and remove getPhonesList method in Contact class.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Grails one-to-many dynamic forms by win</title>
		<link>http://omarello.com/2010/08/grails-one-to-many-dynamic-forms/#comment-6483</link>
		<dc:creator>win</dc:creator>
		<pubDate>Sat, 18 Feb 2012 10:54:45 +0000</pubDate>
		<guid isPermaLink="false">http://omarello.com/?p=13#comment-6483</guid>
		<description>Me too</description>
		<content:encoded><![CDATA[<p>Me too</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Creating mobile web applications with jQuery mobile and Grails by Creating mobile web applications with jQuery mobile and Grails &#124; jQuery Wisdom</title>
		<link>http://omarello.com/2010/10/mobile-web-apps-with-jquery-mobile-and-grails/#comment-6429</link>
		<dc:creator>Creating mobile web applications with jQuery mobile and Grails &#124; jQuery Wisdom</dc:creator>
		<pubDate>Tue, 14 Feb 2012 18:14:29 +0000</pubDate>
		<guid isPermaLink="false">http://omarello.com/?p=44#comment-6429</guid>
		<description>[...]  Web Site Download   Share and Enjoy: [...]</description>
		<content:encoded><![CDATA[<p>[...]  Web Site Download   Share and Enjoy: [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Grails one-to-many dynamic forms by Stephane Rainville</title>
		<link>http://omarello.com/2010/08/grails-one-to-many-dynamic-forms/#comment-6296</link>
		<dc:creator>Stephane Rainville</dc:creator>
		<pubDate>Tue, 07 Feb 2012 03:39:54 +0000</pubDate>
		<guid isPermaLink="false">http://omarello.com/?p=13#comment-6296</guid>
		<description>Great post !
Error validation seems to be an issue still.

On a parent.save (with errors in child) the parent.errors contains duplicate entries in a weird format
(and child objects errors are empty)
childItem[0][1].description  don&#039;t understand
childItem[1][2].description  don&#039;t understand
childItem[0].description Great
childItem[1].description  Great

If I loop thru the child, I get errors in the child object (yeah) but still duplicate entries in the parent when I call save.

Any clues?

So far my complex solution would be to loop thru the children, highlight the errors BEFORE calling save. Once validate on all child items passes THEN call save.</description>
		<content:encoded><![CDATA[<p>Great post !<br />
Error validation seems to be an issue still.</p>
<p>On a parent.save (with errors in child) the parent.errors contains duplicate entries in a weird format<br />
(and child objects errors are empty)<br />
childItem[0][1].description  don&#8217;t understand<br />
childItem[1][2].description  don&#8217;t understand<br />
childItem[0].description Great<br />
childItem[1].description  Great</p>
<p>If I loop thru the child, I get errors in the child object (yeah) but still duplicate entries in the parent when I call save.</p>
<p>Any clues?</p>
<p>So far my complex solution would be to loop thru the children, highlight the errors BEFORE calling save. Once validate on all child items passes THEN call save.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Configuring different target URLs after login according to user roles (grails spring security) by Ryan</title>
		<link>http://omarello.com/2011/09/grails-custom-target-urls-after-login/#comment-6263</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Sun, 05 Feb 2012 03:06:13 +0000</pubDate>
		<guid isPermaLink="false">http://omarello.com/?p=53#comment-6263</guid>
		<description>This is exactly what I needed! Unfortunately when I implemented your code it didn&#039;t seem to have any effect. I threw some breakpoints and print statements into your code and it looks like it isn&#039;t ever being executed. I&#039;m not very familiar with spring and wiring up beans. Is there anything else that needs to be done to make this work? Maybe in the config.groovy file? 

I stuck the MyAuthSuccessHandler class in my src/java directory. I assume this is ok? I&#039;m using Grails 2.0 and spring-security-core 1.2.6</description>
		<content:encoded><![CDATA[<p>This is exactly what I needed! Unfortunately when I implemented your code it didn&#8217;t seem to have any effect. I threw some breakpoints and print statements into your code and it looks like it isn&#8217;t ever being executed. I&#8217;m not very familiar with spring and wiring up beans. Is there anything else that needs to be done to make this work? Maybe in the config.groovy file? </p>
<p>I stuck the MyAuthSuccessHandler class in my src/java directory. I assume this is ok? I&#8217;m using Grails 2.0 and spring-security-core 1.2.6</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Grails one-to-many dynamic forms by Paulo</title>
		<link>http://omarello.com/2010/08/grails-one-to-many-dynamic-forms/#comment-5954</link>
		<dc:creator>Paulo</dc:creator>
		<pubDate>Mon, 16 Jan 2012 19:54:35 +0000</pubDate>
		<guid isPermaLink="false">http://omarello.com/?p=13#comment-5954</guid>
		<description>Thanks Rob. it seems to be working fine now.  I also had to fix my view - the select field to a proper name:
name=&quot;productItemList[${i}].product.id&quot;

thanks</description>
		<content:encoded><![CDATA[<p>Thanks Rob. it seems to be working fine now.  I also had to fix my view &#8211; the select field to a proper name:<br />
name=&#8221;productItemList[${i}].product.id&#8221;</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Creating mobile web applications with jQuery mobile and Grails by agus @ jQuery Mobile Apps</title>
		<link>http://omarello.com/2010/10/mobile-web-apps-with-jquery-mobile-and-grails/#comment-5945</link>
		<dc:creator>agus @ jQuery Mobile Apps</dc:creator>
		<pubDate>Mon, 16 Jan 2012 09:20:45 +0000</pubDate>
		<guid isPermaLink="false">http://omarello.com/?p=44#comment-5945</guid>
		<description>This is a very helpful tutorial. I found it well written and very understandable. Thanks for the post I will be visiting your site in the future.</description>
		<content:encoded><![CDATA[<p>This is a very helpful tutorial. I found it well written and very understandable. Thanks for the post I will be visiting your site in the future.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Grails one-to-many dynamic forms by Bob</title>
		<link>http://omarello.com/2010/08/grails-one-to-many-dynamic-forms/#comment-5866</link>
		<dc:creator>Bob</dc:creator>
		<pubDate>Wed, 11 Jan 2012 19:13:37 +0000</pubDate>
		<guid isPermaLink="false">http://omarello.com/?p=13#comment-5866</guid>
		<description>See last comment on http://stackoverflow.com/questions/8636503/how-to-recover-from-dont-flush-the-session-after-an-exception-occurs-error/8822560#8822560</description>
		<content:encoded><![CDATA[<p>See last comment on <a href="http://stackoverflow.com/questions/8636503/how-to-recover-from-dont-flush-the-session-after-an-exception-occurs-error/8822560#8822560" rel="nofollow">http://stackoverflow.com/questions/8636503/how-to-recover-from-dont-flush-the-session-after-an-exception-occurs-error/8822560#8822560</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Grails one-to-many dynamic forms by Paulo</title>
		<link>http://omarello.com/2010/08/grails-one-to-many-dynamic-forms/#comment-5865</link>
		<dc:creator>Paulo</dc:creator>
		<pubDate>Wed, 11 Jan 2012 18:46:26 +0000</pubDate>
		<guid isPermaLink="false">http://omarello.com/?p=13#comment-5865</guid>
		<description>Very good article, thanks for sharing.  I&#039;m new to Grails, so if anyone can help me, I&#039;d really appreciate.  I&#039;m trying to extend this example by associating Phone with a third domain called &quot;product&quot;.
so, in my phone domain I have a line for:
 static belongsTo =  [contact: Contact, product:Product]

In my  Product domain:
	 static hasMany =[phones: Phone]

In my phone view:

  

When I try to save, I get an error message:
Property [product] of class [class com.easyinvt.Phone] cannot be null

It seems that Grails is not automatically mapping my product id to the Phone class. 
Note: I&#039;m using Grails 2.0

Thank you for the help
Paulo</description>
		<content:encoded><![CDATA[<p>Very good article, thanks for sharing.  I&#8217;m new to Grails, so if anyone can help me, I&#8217;d really appreciate.  I&#8217;m trying to extend this example by associating Phone with a third domain called &#8220;product&#8221;.<br />
so, in my phone domain I have a line for:<br />
 static belongsTo =  [contact: Contact, product:Product]</p>
<p>In my  Product domain:<br />
	 static hasMany =[phones: Phone]</p>
<p>In my phone view:</p>
<p>When I try to save, I get an error message:<br />
Property [product] of class [class com.easyinvt.Phone] cannot be null</p>
<p>It seems that Grails is not automatically mapping my product id to the Phone class.<br />
Note: I&#8217;m using Grails 2.0</p>
<p>Thank you for the help<br />
Paulo</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Grails one-to-many dynamic forms by Bob</title>
		<link>http://omarello.com/2010/08/grails-one-to-many-dynamic-forms/#comment-5864</link>
		<dc:creator>Bob</dc:creator>
		<pubDate>Wed, 11 Jan 2012 15:48:12 +0000</pubDate>
		<guid isPermaLink="false">http://omarello.com/?p=13#comment-5864</guid>
		<description>I&#039;am using Grails 2.0 and it throws the follwong exception in the save action:
null id in test.TargetEvaluation entry (don&#039;t flush the Session after an exception occurs)
org.hibernate.AssertionFailure: null id in ....

It works fine in 1.3.7. And the data sent is the same. Has anyone the same issue?
Looks like the cascade does not work...</description>
		<content:encoded><![CDATA[<p>I&#8217;am using Grails 2.0 and it throws the follwong exception in the save action:<br />
null id in test.TargetEvaluation entry (don&#8217;t flush the Session after an exception occurs)<br />
org.hibernate.AssertionFailure: null id in &#8230;.</p>
<p>It works fine in 1.3.7. And the data sent is the same. Has anyone the same issue?<br />
Looks like the cascade does not work&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

