<?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: &#8220;Validation Error: Value is not valid&#8221; famous validation error, when using custom converters in JSF.</title>
	<atom:link href="http://www.nuwanbando.com/2008/01/validation-error-value-is-not-valid-famous-validation-error-when-using-custom-converters-in-jsf/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nuwanbando.com/2008/01/validation-error-value-is-not-valid-famous-validation-error-when-using-custom-converters-in-jsf/</link>
	<description>&#34;It&#039;s not about how it is, but how I see it &#34; - Stranger Than Fiction</description>
	<lastBuildDate>Fri, 06 Jan 2012 15:07:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Himalay</title>
		<link>http://www.nuwanbando.com/2008/01/validation-error-value-is-not-valid-famous-validation-error-when-using-custom-converters-in-jsf/comment-page-1/#comment-72144</link>
		<dc:creator>Himalay</dc:creator>
		<pubDate>Wed, 09 Mar 2011 02:01:55 +0000</pubDate>
		<guid isPermaLink="false">http://nuwanbando.com/?p=75#comment-72144</guid>
		<description>Excellent..worked like a charm for me</description>
		<content:encoded><![CDATA[<p>Excellent..worked like a charm for me</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nbk</title>
		<link>http://www.nuwanbando.com/2008/01/validation-error-value-is-not-valid-famous-validation-error-when-using-custom-converters-in-jsf/comment-page-1/#comment-72134</link>
		<dc:creator>nbk</dc:creator>
		<pubDate>Tue, 08 Mar 2011 19:04:21 +0000</pubDate>
		<guid isPermaLink="false">http://nuwanbando.com/?p=75#comment-72134</guid>
		<description>Thank you! I can sleep at nights after 2 days of nightmare. Now I wonder why I didn&#039;t google this before.</description>
		<content:encoded><![CDATA[<p>Thank you! I can sleep at nights after 2 days of nightmare. Now I wonder why I didn&#8217;t google this before.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan</title>
		<link>http://www.nuwanbando.com/2008/01/validation-error-value-is-not-valid-famous-validation-error-when-using-custom-converters-in-jsf/comment-page-1/#comment-51340</link>
		<dc:creator>Jonathan</dc:creator>
		<pubDate>Sun, 13 Jun 2010 08:04:37 +0000</pubDate>
		<guid isPermaLink="false">http://nuwanbando.com/?p=75#comment-51340</guid>
		<description>Thanks a lot. Couldn&#039;t understand why a regular Converter wasn&#039;t working. Got caught by a cut and paste in the Hibernate class.</description>
		<content:encoded><![CDATA[<p>Thanks a lot. Couldn&#8217;t understand why a regular Converter wasn&#8217;t working. Got caught by a cut and paste in the Hibernate class.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tidza</title>
		<link>http://www.nuwanbando.com/2008/01/validation-error-value-is-not-valid-famous-validation-error-when-using-custom-converters-in-jsf/comment-page-1/#comment-47275</link>
		<dc:creator>Tidza</dc:creator>
		<pubDate>Thu, 08 Apr 2010 07:34:02 +0000</pubDate>
		<guid isPermaLink="false">http://nuwanbando.com/?p=75#comment-47275</guid>
		<description>Thank u so much Nuwan, your post was very helpful in my case because I was having problems with drop down menus but the moment I used the equals method, everything is sorted out.</description>
		<content:encoded><![CDATA[<p>Thank u so much Nuwan, your post was very helpful in my case because I was having problems with drop down menus but the moment I used the equals method, everything is sorted out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chris</title>
		<link>http://www.nuwanbando.com/2008/01/validation-error-value-is-not-valid-famous-validation-error-when-using-custom-converters-in-jsf/comment-page-1/#comment-41837</link>
		<dc:creator>chris</dc:creator>
		<pubDate>Mon, 21 Dec 2009 21:02:45 +0000</pubDate>
		<guid isPermaLink="false">http://nuwanbando.com/?p=75#comment-41837</guid>
		<description>Hi saved me hours too. Done it before and forgot about it. Thanks to Google and thanks to you !

Merry Xmas</description>
		<content:encoded><![CDATA[<p>Hi saved me hours too. Done it before and forgot about it. Thanks to Google and thanks to you !</p>
<p>Merry Xmas</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stanislav Saboil</title>
		<link>http://www.nuwanbando.com/2008/01/validation-error-value-is-not-valid-famous-validation-error-when-using-custom-converters-in-jsf/comment-page-1/#comment-33500</link>
		<dc:creator>Stanislav Saboil</dc:creator>
		<pubDate>Thu, 27 Aug 2009 09:02:17 +0000</pubDate>
		<guid isPermaLink="false">http://nuwanbando.com/?p=75#comment-33500</guid>
		<description>Thank you!!! for usefull post</description>
		<content:encoded><![CDATA[<p>Thank you!!! for usefull post</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Inca</title>
		<link>http://www.nuwanbando.com/2008/01/validation-error-value-is-not-valid-famous-validation-error-when-using-custom-converters-in-jsf/comment-page-1/#comment-28468</link>
		<dc:creator>Inca</dc:creator>
		<pubDate>Fri, 03 Jul 2009 09:45:53 +0000</pubDate>
		<guid isPermaLink="false">http://nuwanbando.com/?p=75#comment-28468</guid>
		<description>Hi, mate, very useful post! Thank-a-lot:)

Would like to add a bit for those who use Hibernate entities with their equals/hashcode methods overriden: depending on the logic of your converter you may face the problem that an entity is being compared with it&#039;s proxy (e.g. object with class &quot;Realm&quot; against an object with class &quot;Realm_$$_javassist_34535&quot;). So if you override equals() and hashcode() in your entity class just make sure they call getter method instead of accessing the field (e.g. do &quot;this.getId() == that.getId()&quot; instead of &quot;this.id = that.id&quot;). This way lazy initializer will load properties you are using in comparison.

Cheers :)</description>
		<content:encoded><![CDATA[<p>Hi, mate, very useful post! Thank-a-lot:)</p>
<p>Would like to add a bit for those who use Hibernate entities with their equals/hashcode methods overriden: depending on the logic of your converter you may face the problem that an entity is being compared with it&#8217;s proxy (e.g. object with class &#8220;Realm&#8221; against an object with class &#8220;Realm_$$_javassist_34535&#8243;). So if you override equals() and hashcode() in your entity class just make sure they call getter method instead of accessing the field (e.g. do &#8220;this.getId() == that.getId()&#8221; instead of &#8220;this.id = that.id&#8221;). This way lazy initializer will load properties you are using in comparison.</p>
<p>Cheers <img src='http://www.nuwanbando.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Veera</title>
		<link>http://www.nuwanbando.com/2008/01/validation-error-value-is-not-valid-famous-validation-error-when-using-custom-converters-in-jsf/comment-page-1/#comment-22166</link>
		<dc:creator>Veera</dc:creator>
		<pubDate>Mon, 06 Apr 2009 07:48:47 +0000</pubDate>
		<guid isPermaLink="false">http://nuwanbando.com/?p=75#comment-22166</guid>
		<description>Hi, Mine is the similar issue, but the only differnece is i am retrieving from the db as SelectItem itself. How can i override the equals method. in my case.</description>
		<content:encoded><![CDATA[<p>Hi, Mine is the similar issue, but the only differnece is i am retrieving from the db as SelectItem itself. How can i override the equals method. in my case.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: monaam</title>
		<link>http://www.nuwanbando.com/2008/01/validation-error-value-is-not-valid-famous-validation-error-when-using-custom-converters-in-jsf/comment-page-1/#comment-20111</link>
		<dc:creator>monaam</dc:creator>
		<pubDate>Thu, 12 Mar 2009 08:41:36 +0000</pubDate>
		<guid isPermaLink="false">http://nuwanbando.com/?p=75#comment-20111</guid>
		<description>thanks a lot my friend, iwas about to be crazy by this problem</description>
		<content:encoded><![CDATA[<p>thanks a lot my friend, iwas about to be crazy by this problem</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: asmweb</title>
		<link>http://www.nuwanbando.com/2008/01/validation-error-value-is-not-valid-famous-validation-error-when-using-custom-converters-in-jsf/comment-page-1/#comment-17662</link>
		<dc:creator>asmweb</dc:creator>
		<pubDate>Fri, 23 Jan 2009 10:45:05 +0000</pubDate>
		<guid isPermaLink="false">http://nuwanbando.com/?p=75#comment-17662</guid>
		<description>Thank you very much... saved my days :)</description>
		<content:encoded><![CDATA[<p>Thank you very much&#8230; saved my days <img src='http://www.nuwanbando.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

