<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Custom validation example</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : Community Forum : Custom validation example</description>
  <pubDate>Fri, 10 Apr 2026 19:10:58 -700</pubDate>
  <lastBuildDate>Wed, 12 Sep 2012 07:55:21 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=3624</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Custom validation example :   The way to go here is a validation...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3624&amp;PID=14413#14413</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1005" rel="nofollow">mgood</a><br /><strong>Subject:</strong> 3624<br /><strong>Posted:</strong> 12-Sep-2012 at 7:55am<br /><br />The way to go here is a validation service that can be called asynchronously by the ViewModel before allowing the user to save. <div>This scenario is discussed here:</div><div>&nbsp;</div><div><a href="http://drc.ideablade.com/xwiki/bin/view/&#068;ocumentati&#111;n/unit-of-work-pattern-and-persistence-ignorance#HDomainService" target="_blank">http://drc.ideablade.com/xwiki/bin/view/Documentation/unit-of-work-pattern-and-persistence-ignorance#HDomainService</a></div><div>&nbsp;</div>]]>
   </description>
   <pubDate>Wed, 12 Sep 2012 07:55:21 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3624&amp;PID=14413#14413</guid>
  </item> 
  <item>
   <title>Custom validation example : Hi,  I&amp;#039;m a bit confused on...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3624&amp;PID=14411#14411</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1421" rel="nofollow">siko</a><br /><strong>Subject:</strong> 3624<br /><strong>Posted:</strong> 12-Sep-2012 at 5:58am<br /><br />Hi,<br /><br />I'm a bit confused on how to implement the following 'business rule':<br /><br />What:<br />An assessment cannot be saved if there is already an assessment for a certain date, applicant and assessment-type. (assessment, applicant, assessment date are 'unique'). We might in the future have to add 'for a certain user domain/organization' ... so we don't think of solving this with an unique index on db level.<br /><br />How:<br />Validation rule. With other words, find async the assessment with the same date, applicant and assessment-type as the assessment to be saved and returns 'all good' if none found.<br /><br />With what:<br />Here it becomes a bit blurry. It seems the Verifier route is the way to go. But I get stuck Finding the assessments async.<br />And I don't really get if the EntityServerSaveInterceptor is the place to do this check.<br /><br />Any help would be appreciated!]]>
   </description>
   <pubDate>Wed, 12 Sep 2012 05:58:01 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3624&amp;PID=14411#14411</guid>
  </item> 
 </channel>
</rss>