<?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: Spring Finance &gt; Part 4: Spring JS, Dojo &amp; Bean Validation</title>
	<atom:link href="http://stsmedia.net/spring-finance-part-4-spring-js-dojo-bean-validation/feed/" rel="self" type="application/rss+xml" />
	<link>http://stsmedia.net/spring-finance-part-4-spring-js-dojo-bean-validation/</link>
	<description>Programming, Photography, Life</description>
	<lastBuildDate>Wed, 11 May 2011 22:45:04 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Steve</title>
		<link>http://stsmedia.net/spring-finance-part-4-spring-js-dojo-bean-validation/comment-page-1/#comment-186</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Fri, 22 Oct 2010 10:31:07 +0000</pubDate>
		<guid isPermaLink="false">http://stsmedia.net/?p=175#comment-186</guid>
		<description>Nice Tut, thanks a bunch.

Pls, can I have the links to all the series?

I will appreciate it.</description>
		<content:encoded><![CDATA[<p>Nice Tut, thanks a bunch.</p>
<p>Pls, can I have the links to all the series?</p>
<p>I will appreciate it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Janaka</title>
		<link>http://stsmedia.net/spring-finance-part-4-spring-js-dojo-bean-validation/comment-page-1/#comment-176</link>
		<dc:creator>Janaka</dc:creator>
		<pubDate>Thu, 05 Aug 2010 07:43:15 +0000</pubDate>
		<guid isPermaLink="false">http://stsmedia.net/?p=175#comment-176</guid>
		<description>Hi,

Thanks for your  excellent article. i am having a issue to load dojo as a jar file for my POM.xml. can you give a tip to do it?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thanks for your  excellent article. i am having a issue to load dojo as a jar file for my POM.xml. can you give a tip to do it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrian</title>
		<link>http://stsmedia.net/spring-finance-part-4-spring-js-dojo-bean-validation/comment-page-1/#comment-166</link>
		<dc:creator>Adrian</dc:creator>
		<pubDate>Fri, 14 May 2010 08:13:32 +0000</pubDate>
		<guid isPermaLink="false">http://stsmedia.net/?p=175#comment-166</guid>
		<description>Hi, thanks for this post.
I&#039;m currently gearing up for a large project which I will be leading, and am trying to draw functional parallels between Spring, JEE6, and .NET so as to make a business case for the use of one over another.

One very nice feature of .NET is the ability to invoke Model validation annotations both on the server side and the client side with very little configuration in the view (see this quick demo http://www.asp.net/mvc/videos/mvc2-model-validation).  
Your demo and others like it allow the client to check for things like empty fields but do not actually run the bean validation until the whole form is submitted.  The Spring validator interface will validate the entire bean, not just a single field on a bean.  In ajax form validation, if I made a change to a single form field, I would expect a validation message to be returned only for that field, not for every invalid field on the form.

Can you suggest whether what I&#039;m looking for is just not possible currently in a java environment?

thanks very much.</description>
		<content:encoded><![CDATA[<p>Hi, thanks for this post.<br />
I&#8217;m currently gearing up for a large project which I will be leading, and am trying to draw functional parallels between Spring, JEE6, and .NET so as to make a business case for the use of one over another.</p>
<p>One very nice feature of .NET is the ability to invoke Model validation annotations both on the server side and the client side with very little configuration in the view (see this quick demo <a href="http://www.asp.net/mvc/videos/mvc2-model-validation)" rel="nofollow">http://www.asp.net/mvc/videos/mvc2-model-validation)</a>.<br />
Your demo and others like it allow the client to check for things like empty fields but do not actually run the bean validation until the whole form is submitted.  The Spring validator interface will validate the entire bean, not just a single field on a bean.  In ajax form validation, if I made a change to a single form field, I would expect a validation message to be returned only for that field, not for every invalid field on the form.</p>
<p>Can you suggest whether what I&#8217;m looking for is just not possible currently in a java environment?</p>
<p>thanks very much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arvind Saini</title>
		<link>http://stsmedia.net/spring-finance-part-4-spring-js-dojo-bean-validation/comment-page-1/#comment-123</link>
		<dc:creator>Arvind Saini</dc:creator>
		<pubDate>Sat, 07 Nov 2009 19:05:41 +0000</pubDate>
		<guid isPermaLink="false">http://stsmedia.net/?p=175#comment-123</guid>
		<description>Most of my knowledge of Spring 3.0, Spring MVC and Hibernate is achieved by reading your tutorials and running FinanceManager examples. I have used Finance Manager as the starting point of one of my recent projects. Thanks a lot for your good work.

This blog might need some correction regarding the double validation.

JPA1 entities are not automatically validated by Hibernate Validator. Default validation is done for non-jpa and JPA2 environments. see following link:

http://docs.jboss.org/hibernate/stable/validator/reference/en/html_single/#d0e2461</description>
		<content:encoded><![CDATA[<p>Most of my knowledge of Spring 3.0, Spring MVC and Hibernate is achieved by reading your tutorials and running FinanceManager examples. I have used Finance Manager as the starting point of one of my recent projects. Thanks a lot for your good work.</p>
<p>This blog might need some correction regarding the double validation.</p>
<p>JPA1 entities are not automatically validated by Hibernate Validator. Default validation is done for non-jpa and JPA2 environments. see following link:</p>
<p><a href="http://docs.jboss.org/hibernate/stable/validator/reference/en/html_single/#d0e2461" rel="nofollow">http://docs.jboss.org/hibernate/stable/validator/reference/en/html_single/#d0e2461</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Julie</title>
		<link>http://stsmedia.net/spring-finance-part-4-spring-js-dojo-bean-validation/comment-page-1/#comment-100</link>
		<dc:creator>Julie</dc:creator>
		<pubDate>Tue, 18 Aug 2009 19:23:47 +0000</pubDate>
		<guid isPermaLink="false">http://stsmedia.net/?p=175#comment-100</guid>
		<description>Hi Stefan, 

Thank you again for your reply.  No, I am not using a non-english locale.  Now that I know you do have a working form post, perhaps I will compare our code bases again and see if I can spot a difference.  For some reason firefox/chrome are not viewing my dateTextBox fields as part of the form.

Thanks again.

Julie</description>
		<content:encoded><![CDATA[<p>Hi Stefan, </p>
<p>Thank you again for your reply.  No, I am not using a non-english locale.  Now that I know you do have a working form post, perhaps I will compare our code bases again and see if I can spot a difference.  For some reason firefox/chrome are not viewing my dateTextBox fields as part of the form.</p>
<p>Thanks again.</p>
<p>Julie</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Schmidt</title>
		<link>http://stsmedia.net/spring-finance-part-4-spring-js-dojo-bean-validation/comment-page-1/#comment-95</link>
		<dc:creator>Stefan Schmidt</dc:creator>
		<pubDate>Thu, 13 Aug 2009 23:40:06 +0000</pubDate>
		<guid isPermaLink="false">http://stsmedia.net/?p=175#comment-95</guid>
		<description>Julie,

Yes the date is sent via a form POST (or simulated PUT) to the Spring MVC restful backend. There may be some localization issues if you are using a non english locale. I should probably update the example w/r to this. The localization issue has been addressed in Roo generated applications.

-Stefan</description>
		<content:encoded><![CDATA[<p>Julie,</p>
<p>Yes the date is sent via a form POST (or simulated PUT) to the Spring MVC restful backend. There may be some localization issues if you are using a non english locale. I should probably update the example w/r to this. The localization issue has been addressed in Roo generated applications.</p>
<p>-Stefan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Julie</title>
		<link>http://stsmedia.net/spring-finance-part-4-spring-js-dojo-bean-validation/comment-page-1/#comment-94</link>
		<dc:creator>Julie</dc:creator>
		<pubDate>Thu, 13 Aug 2009 16:10:07 +0000</pubDate>
		<guid isPermaLink="false">http://stsmedia.net/?p=175#comment-94</guid>
		<description>Hi Stefan, 

I hope you do not mind, but I would like to ask you one more quick question on this.  In your application do you take the value selected from the dojo calendar, and submit it successfully to Spring MVC as part of a form? 

Thanks again.

Julie</description>
		<content:encoded><![CDATA[<p>Hi Stefan, </p>
<p>I hope you do not mind, but I would like to ask you one more quick question on this.  In your application do you take the value selected from the dojo calendar, and submit it successfully to Spring MVC as part of a form? </p>
<p>Thanks again.</p>
<p>Julie</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Schmidt</title>
		<link>http://stsmedia.net/spring-finance-part-4-spring-js-dojo-bean-validation/comment-page-1/#comment-86</link>
		<dc:creator>Stefan Schmidt</dc:creator>
		<pubDate>Thu, 06 Aug 2009 23:51:31 +0000</pubDate>
		<guid isPermaLink="false">http://stsmedia.net/?p=175#comment-86</guid>
		<description>Hi Julie,

I tested this in Firefox and Opera but not IE at the time (I am a Linux user) so the only thing I can think of right now is that your problem is related to localization. Maybe you take a look at Spring Roo which helps you generate very similar applications to my Spring Finance Manager sample and see if the dojo date selector issue persists.

-Stefan</description>
		<content:encoded><![CDATA[<p>Hi Julie,</p>
<p>I tested this in Firefox and Opera but not IE at the time (I am a Linux user) so the only thing I can think of right now is that your problem is related to localization. Maybe you take a look at Spring Roo which helps you generate very similar applications to my Spring Finance Manager sample and see if the dojo date selector issue persists.</p>
<p>-Stefan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Julie</title>
		<link>http://stsmedia.net/spring-finance-part-4-spring-js-dojo-bean-validation/comment-page-1/#comment-85</link>
		<dc:creator>Julie</dc:creator>
		<pubDate>Thu, 06 Aug 2009 16:35:52 +0000</pubDate>
		<guid isPermaLink="false">http://stsmedia.net/?p=175#comment-85</guid>
		<description>Hi Stefan, 

I was just wondering if your dateTextBox works on Google Chrome or Firefox?  I am following your example to implement a Web Application.  It is working fine on Internet explorer, but for some reason the date is not included as part of the post in Chrome/FireFox.

Just wondering if you might have any ideas.

Thanks!

Julie</description>
		<content:encoded><![CDATA[<p>Hi Stefan, </p>
<p>I was just wondering if your dateTextBox works on Google Chrome or Firefox?  I am following your example to implement a Web Application.  It is working fine on Internet explorer, but for some reason the date is not included as part of the post in Chrome/FireFox.</p>
<p>Just wondering if you might have any ideas.</p>
<p>Thanks!</p>
<p>Julie</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sschmidt</title>
		<link>http://stsmedia.net/spring-finance-part-4-spring-js-dojo-bean-validation/comment-page-1/#comment-58</link>
		<dc:creator>sschmidt</dc:creator>
		<pubDate>Wed, 13 May 2009 01:33:55 +0000</pubDate>
		<guid isPermaLink="false">http://stsmedia.net/?p=175#comment-58</guid>
		<description>@Jim,

Yes that would be an interesting thing to do. Unfortunately I am currently quite busy so I won&#039;t have that much time to try it. I guess you would need some JS/Ajax functions in the JSP to handle this appropriately. Spring JS has asynch callback handling capabilities to do this. Alternatively you can use straight Dojo - and I am sure there are plenty of examples out there.

I would be interested in your experiences if you pursue your trial. If you want you could contribute to the code (use the project site bugtracker) to integrate it into the next version of this application.  

Best,
Stefan</description>
		<content:encoded><![CDATA[<p>@Jim,</p>
<p>Yes that would be an interesting thing to do. Unfortunately I am currently quite busy so I won&#8217;t have that much time to try it. I guess you would need some JS/Ajax functions in the JSP to handle this appropriately. Spring JS has asynch callback handling capabilities to do this. Alternatively you can use straight Dojo &#8211; and I am sure there are plenty of examples out there.</p>
<p>I would be interested in your experiences if you pursue your trial. If you want you could contribute to the code (use the project site bugtracker) to integrate it into the next version of this application.  </p>
<p>Best,<br />
Stefan</p>
]]></content:encoded>
	</item>
</channel>
</rss>

