<?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 Spring in Practice</title>
	<atom:link href="http://springinpractice.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://springinpractice.com</link>
	<description>Willie Wheeler&#039;s Spring blog</description>
	<lastBuildDate>Thu, 17 May 2012 13:28:20 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>Comment on Injecting a file from the classpath into a bean by shan</title>
		<link>http://springinpractice.com/2012/05/12/injecting-a-file-from-the-classpath-into-a-bean/#comment-1802</link>
		<dc:creator>shan</dc:creator>
		<pubDate>Thu, 17 May 2012 13:28:20 +0000</pubDate>
		<guid isPermaLink="false">http://springinpractice.com/?p=1293#comment-1802</guid>
		<description>sorry my fault ^^;</description>
		<content:encoded><![CDATA[<p>sorry my fault ^^;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Injecting a file from the classpath into a bean by shan</title>
		<link>http://springinpractice.com/2012/05/12/injecting-a-file-from-the-classpath-into-a-bean/#comment-1801</link>
		<dc:creator>shan</dc:creator>
		<pubDate>Thu, 17 May 2012 13:18:40 +0000</pubDate>
		<guid isPermaLink="false">http://springinpractice.com/?p=1293#comment-1801</guid>
		<description>I got message like this
can you give some help??
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Error creating bean with name &#039;serverConfiguration&#039; defined in file [C:\springsource\vfabric-tc-server-developer-2.6.4.RELEASE\spring-insight-instance\wtpwebapps\myrestaurants-social\WEB-INF\classes\META-INF\spring\applicationContext.xml]: Cannot resolve reference to bean &#039;serverConfigurationResourceFile&#039; while setting constructor argument;
 nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &#039;serverConfigurationResourceFile&#039;: FactoryBean threw exception on object creation;
 nested exception is org.springframework.beans.InvalidPropertyException: Invalid property &#039;file&#039; of bean class [org.springframework.core.io.ClassPathResource]: Getter for property &#039;file&#039; threw exception;
 nested exception is java.lang.reflect.InvocationTargetException</description>
		<content:encoded><![CDATA[<p>I got message like this<br />
can you give some help??<br />
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
 Error creating bean with name &#8216;serverConfiguration&#8217; defined in file [C:\springsource\vfabric-tc-server-developer-2.6.4.RELEASE\spring-insight-instance\wtpwebapps\myrestaurants-social\WEB-INF\classes\META-INF\spring\applicationContext.xml]: Cannot resolve reference to bean &#8216;serverConfigurationResourceFile&#8217; while setting constructor argument;<br />
 nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &#8216;serverConfigurationResourceFile&#8217;: FactoryBean threw exception on object creation;<br />
 nested exception is org.springframework.beans.InvalidPropertyException: Invalid property &#8216;file&#8217; of bean class [org.springframework.core.io.ClassPathResource]: Getter for property &#8216;file&#8217; threw exception;<br />
 nested exception is java.lang.reflect.InvocationTargetException</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Spring&#8217;s constructor namespace is a bad idea by Willie Wheeler</title>
		<link>http://springinpractice.com/2012/05/07/springs-constructor-namespace-is-a-bad-idea/#comment-1765</link>
		<dc:creator>Willie Wheeler</dc:creator>
		<pubDate>Wed, 16 May 2012 02:01:53 +0000</pubDate>
		<guid isPermaLink="false">http://springinpractice.com/?p=1245#comment-1765</guid>
		<description>Hey Marco. Thanks for the thoughtful comment.

Yeah, &quot;bad idea&quot; may be too harsh. It&#039;s more like the way it currently works makes it risky, at least in cases where refactorings and renamings are plausible. If there were something like the @Param annotation I mentioned toward the end, I&#039;d use the c namespace.</description>
		<content:encoded><![CDATA[<p>Hey Marco. Thanks for the thoughtful comment.</p>
<p>Yeah, &#8220;bad idea&#8221; may be too harsh. It&#8217;s more like the way it currently works makes it risky, at least in cases where refactorings and renamings are plausible. If there were something like the @Param annotation I mentioned toward the end, I&#8217;d use the c namespace.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Spring&#8217;s constructor namespace is a bad idea by Marco</title>
		<link>http://springinpractice.com/2012/05/07/springs-constructor-namespace-is-a-bad-idea/#comment-1755</link>
		<dc:creator>Marco</dc:creator>
		<pubDate>Tue, 15 May 2012 16:19:12 +0000</pubDate>
		<guid isPermaLink="false">http://springinpractice.com/?p=1245#comment-1755</guid>
		<description>As the p namespace, the c namespace is particularly useful when customizing Spring Framework classes, those variables and argument names are unlikely to change. But you are right, we must be careful, although I don&#039;t think it is a bad idea.</description>
		<content:encoded><![CDATA[<p>As the p namespace, the c namespace is particularly useful when customizing Spring Framework classes, those variables and argument names are unlikely to change. But you are right, we must be careful, although I don&#8217;t think it is a bad idea.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Annotation-based autowiring in Spring 2.5 by [Spring] Spring3: dai Controller ai Repository [Parte1]</title>
		<link>http://springinpractice.com/2008/02/26/annotation-based-autowiring-in-spring-2-5/#comment-1754</link>
		<dc:creator>[Spring] Spring3: dai Controller ai Repository [Parte1]</dc:creator>
		<pubDate>Tue, 15 May 2012 15:44:30 +0000</pubDate>
		<guid isPermaLink="false">http://springinpractice.com/?p=1102#comment-1754</guid>
		<description>[...] default-autowire=&#8221;byName&#8221; : l&#8217;autowiring è il processo di injection e di discovery dei bean e delle varie componenti della nostra applicazione, che viene fatta in automatico con le annotazioni. Vedere questo link. [...]</description>
		<content:encoded><![CDATA[<p>[...] default-autowire=&#8221;byName&#8221; : l&#8217;autowiring è il processo di injection e di discovery dei bean e delle varie componenti della nostra applicazione, che viene fatta in automatico con le annotazioni. Vedere questo link. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to run JavaScript from Java by Clint Hill</title>
		<link>http://springinpractice.com/2012/05/13/how-to-run-javascript-from-java/#comment-1727</link>
		<dc:creator>Clint Hill</dc:creator>
		<pubDate>Mon, 14 May 2012 05:04:52 +0000</pubDate>
		<guid isPermaLink="false">http://springinpractice.com/?p=1305#comment-1727</guid>
		<description>There is another very cool aspect to this as well, and that is you will be able to run client-side (JavaScript) templating engines server-side (Java) now. As an example at work we are now running Dust both in the client and on the server with a setup very similar to this.</description>
		<content:encoded><![CDATA[<p>There is another very cool aspect to this as well, and that is you will be able to run client-side (JavaScript) templating engines server-side (Java) now. As an example at work we are now running Dust both in the client and on the server with a setup very similar to this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Getting started with Hibernate Validator by Jamie Bolat</title>
		<link>http://springinpractice.com/2009/02/02/getting-started-with-hibernate-validator/#comment-1686</link>
		<dc:creator>Jamie Bolat</dc:creator>
		<pubDate>Sun, 13 May 2012 09:35:20 +0000</pubDate>
		<guid isPermaLink="false">http://springinpractice.com/?p=811#comment-1686</guid>
		<description>Hi Willie,

Thanks for your reply.

Regards,
Jamie</description>
		<content:encoded><![CDATA[<p>Hi Willie,</p>
<p>Thanks for your reply.</p>
<p>Regards,<br />
Jamie</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Getting started with Hibernate Validator by Willie Wheeler</title>
		<link>http://springinpractice.com/2009/02/02/getting-started-with-hibernate-validator/#comment-1670</link>
		<dc:creator>Willie Wheeler</dc:creator>
		<pubDate>Sun, 13 May 2012 01:56:53 +0000</pubDate>
		<guid isPermaLink="false">http://springinpractice.com/?p=811#comment-1670</guid>
		<description>Hey Jamie. Take a look at the various &lt;code&gt;rejectValue()&lt;/code&gt; methods on the &lt;code&gt;org.springframework.validation.Errors&lt;/code&gt; interface. They allow you to associate an error condition with a specific field.</description>
		<content:encoded><![CDATA[<p>Hey Jamie. Take a look at the various <code>rejectValue()</code> methods on the <code>org.springframework.validation.Errors</code> interface. They allow you to associate an error condition with a specific field.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Getting started with Hibernate Validator by Jamie Bolat</title>
		<link>http://springinpractice.com/2009/02/02/getting-started-with-hibernate-validator/#comment-1667</link>
		<dc:creator>Jamie Bolat</dc:creator>
		<pubDate>Sat, 12 May 2012 22:58:52 +0000</pubDate>
		<guid isPermaLink="false">http://springinpractice.com/?p=811#comment-1667</guid>
		<description>Hi,   

I have also bought the early access book for Spring in Practice and in chapter 4, which uses @ScriptAssert for duplication validation (such as passwords).  My problem is, if we want check that the passwords match, we do something like:      

@ScriptAssert(
lang = &quot;javascript&quot;,
script = &quot;_this.confirmPassword.equals(_this.password)&quot;,
message = &quot;account.password.mismatch.message&quot;)   

I know that in my jsp file, I can receive this error message globally together with all the other errors as follows:   

   

However, I want to receive this specific password duplication error message and have it displayed by the password field, however, I do not know by what path name I can retrieve this error?  For example, to receive the Username error by the Username field, the jsp looks like:   




  





...but by what name do we retrieve the password error that is checked by @ScriptAssert, especially when there are multiple @ScriptAssert within @ScriptAssert.List?   

...which uses username as the path name.  I have checked other forums, etc. to find the path name for @ScriptAssert or the path name for each @ScriptAssert within @ScriptAssert.List, but could not find any solutions.  Any help will be appreciated.

Kind regards,
Jamie</description>
		<content:encoded><![CDATA[<p>Hi,   </p>
<p>I have also bought the early access book for Spring in Practice and in chapter 4, which uses @ScriptAssert for duplication validation (such as passwords).  My problem is, if we want check that the passwords match, we do something like:      </p>
<p>@ScriptAssert(<br />
lang = &#8220;javascript&#8221;,<br />
script = &#8220;_this.confirmPassword.equals(_this.password)&#8221;,<br />
message = &#8220;account.password.mismatch.message&#8221;)   </p>
<p>I know that in my jsp file, I can receive this error message globally together with all the other errors as follows:   </p>
<p>However, I want to receive this specific password duplication error message and have it displayed by the password field, however, I do not know by what path name I can retrieve this error?  For example, to receive the Username error by the Username field, the jsp looks like:   </p>
<p>&#8230;but by what name do we retrieve the password error that is checked by @ScriptAssert, especially when there are multiple @ScriptAssert within @ScriptAssert.List?   </p>
<p>&#8230;which uses username as the path name.  I have checked other forums, etc. to find the path name for @ScriptAssert or the path name for each @ScriptAssert within @ScriptAssert.List, but could not find any solutions.  Any help will be appreciated.</p>
<p>Kind regards,<br />
Jamie</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Supporting XML and JSON web service endpoints in Spring 3.1 using @ResponseBody by Daniel Sawano</title>
		<link>http://springinpractice.com/2012/02/22/supporting-xml-and-json-web-service-endpoints-in-spring-3-1-using-responsebody/#comment-1660</link>
		<dc:creator>Daniel Sawano</dc:creator>
		<pubDate>Sat, 12 May 2012 20:39:57 +0000</pubDate>
		<guid isPermaLink="false">http://springinpractice.com/?p=634#comment-1660</guid>
		<description>Thank you Willie! Glad you liked it.</description>
		<content:encoded><![CDATA[<p>Thank you Willie! Glad you liked it.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

