<?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 : Localization Clarification</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Localization Clarification</description>
  <pubDate>Tue, 12 May 2026 23:20:10 -700</pubDate>
  <lastBuildDate>Fri, 21 Jan 2011 17:29:56 -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=2442</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>Localization Clarification : It should if you have override...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2442&amp;PID=9748#9748</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 2442<br /><strong>Posted:</strong> 21-Jan-2011 at 5:29pm<br /><br />It should if you have override the validation attributes using the metadata buddy class and regenerated your code.]]>
   </description>
   <pubDate>Fri, 21 Jan 2011 17:29:56 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2442&amp;PID=9748#9748</guid>
  </item> 
  <item>
   <title>Localization Clarification : Thanks, I look forward to the...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2442&amp;PID=9746#9746</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1049" rel="nofollow">yimbot</a><br /><strong>Subject:</strong> 2442<br /><strong>Posted:</strong> 21-Jan-2011 at 5:06pm<br /><br />Thanks, I look forward to the release.<br /><br />Do you know if the implementation I have described above will work as it is?]]>
   </description>
   <pubDate>Fri, 21 Jan 2011 17:06:51 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2442&amp;PID=9746#9746</guid>
  </item> 
  <item>
   <title>Localization Clarification : Hi yimbot;I&amp;#039;ve got some updates...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2442&amp;PID=9737#9737</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 2442<br /><strong>Posted:</strong> 21-Jan-2011 at 10:21am<br /><br />Hi yimbot;<div><br></div><div>I've got some updates regarding the override of validation attributes using a metadata buddy class.</div><div><br></div><div>You can override your validation attributes but before it can be used, you need to regenerate your model first so that the code generation can replace the old validation attributes with your new validation attributes on the property.</div><div><br></div><div>This will be available as of 6.0.8 release.</div><div><br></div><div>Hope this helps.</div>]]>
   </description>
   <pubDate>Fri, 21 Jan 2011 10:21:29 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2442&amp;PID=9737#9737</guid>
  </item> 
  <item>
   <title>Localization Clarification : Thanks again DenisK,  Yes, you...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2442&amp;PID=9721#9721</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1049" rel="nofollow">yimbot</a><br /><strong>Subject:</strong> 2442<br /><strong>Posted:</strong> 20-Jan-2011 at 1:05am<br /><br />Thanks again DenisK,<DIV>&nbsp;</DIV><DIV>Yes, you are correct. I am looking to override the message for the RequiredValueVerifier. It is a shame if I cannot do it, but at least I will not waste any more time attempting it.</DIV><DIV>I don't really see any value in altering the "global" ErrorMessageResourceName as it will affect every field and it for that purpose, the message is fine.</DIV><DIV>&nbsp;</DIV><DIV>The only way I could think to do it is to change the EDM so that it is not required, but I am not really comfortable with lowering that defence.</DIV><DIV>&nbsp;</DIV><DIV>Any other ideas welcomed.</DIV><DIV>&nbsp;</DIV><DIV>Cheers.</DIV>]]>
   </description>
   <pubDate>Thu, 20 Jan 2011 01:05:01 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2442&amp;PID=9721#9721</guid>
  </item> 
  <item>
   <title>Localization Clarification : Hi yimbot;I&amp;#039;m assuming the...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2442&amp;PID=9717#9717</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 2442<br /><strong>Posted:</strong> 19-Jan-2011 at 12:23pm<br /><br /><div style=": rgb255, 255, 255; margin-left: 1px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; font-family: Verdana, Arial, Helvetica, sans-serif; color: rgb0, 0, 0; font-weight: normal; font-size: 12px; line-height: 1.4; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; -: n&#111;ne; ">Hi yimbot;<div><br></div><div>I'm assuming the way you trigger the validation error "Name is required" is by assigning empty or null string to the Name property. The custom message, in this case, won't be triggered because if you look at the following line:</div><div><br></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; "><font size="2" face="C&#111;nsolas"><font size="2" face="C&#111;nsolas">&#091;IbVal.</font></font><font color="#2b91af" size="2" face="C&#111;nsolas"><font color="#2b91af" size="2" face="C&#111;nsolas"><font color="#2b91af" size="2" face="C&#111;nsolas">StringLengthVerifier</font></font></font><font size="2" face="C&#111;nsolas"><font size="2" face="C&#111;nsolas">(MaxValue=50, IsRequired=</font></font><font color="#0000ff" size="2" face="C&#111;nsolas"><font color="#0000ff" size="2" face="C&#111;nsolas"><font color="#0000ff" size="2" face="C&#111;nsolas">true</font></font></font><font size="2" face="C&#111;nsolas"><font size="2" face="C&#111;nsolas">, ErrorMessageResourceName=</font></font><font color="#a31515" size="2" face="C&#111;nsolas"><font color="#a31515" size="2" face="C&#111;nsolas"><font color="#a31515" size="2" face="C&#111;nsolas">"Account_Name"</font></font></font><font size="2" face="C&#111;nsolas"><font size="2" face="C&#111;nsolas">)&#093;</font></font></span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; "><font size="2" face="C&#111;nsolas"><font size="2" face="C&#111;nsolas"><br></font></font></span></div><div>The ErrorMessageResourceName, "Account_Name" is assigned to a StringLengthVerifier so the custom message will only be displayed if the input string exceeds the MaxValue.</div><div><br></div><div>The following implementation using buddy class,</div><div><br></div><div><div>public class EmployeeMetadata {</div><div>&nbsp;&nbsp; &nbsp; &nbsp;/// &lt;summary&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp;/// Override Name to make it required.</div><div>&nbsp;&nbsp; &nbsp; &nbsp;/// &lt;/summary&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp;&#091;RequiredValueVerifier(IsRequired = true, ErrorMessageResourceName = "<span ="Apple-style-span" style="font-family: C&#111;nsolas; line-height: 18px; font-size: small; color: rgb163, 21, 21; -webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">Account_Name</span>")&#093;</div><div>&nbsp;&nbsp; &nbsp; &nbsp;public static string Name;</div><div>&nbsp;&nbsp; &nbsp;}</div></div><div><br></div><div>will, unfortunately, not work as well. It's possibly a bug and I'm going to confirm it.&nbsp;</div><div><br></div><div>For the time being, you can use the "global" ErrorMessageResourceName located in the fallback resources. For example, to customize all RequiredValueVerifier, you can use the following ErrorMessageResourceName:</div><div><br></div><div><span ="Apple-style-span" style="font-family: 'courier new', monospace; font-size: 11px; line-height: normal; border-collapse: collapse; color: rgb77, 77, 77; white-space: pre; ">&lt;data name=<span style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; font-family: 'courier new', monospace; font-size: 8pt; font-style: inherit; font-weight: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; vertical-align: line; line-height: normal; white-space: pre; color: rgb163, 21, 21; ">"VerifierRequired"</span> xml:space=<span style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; font-family: 'courier new', monospace; font-size: 8pt; font-style: inherit; font-weight: inherit; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; vertical-align: line; line-height: normal; white-space: pre; color: rgb163, 21, 21; ">"preserve"</span>&gt;<br style="font-family: 'courier new', monospace; font-size: 8pt; white-space: pre; ">&nbsp;&nbsp;&nbsp;&nbsp;&lt;value&gt;{0} is required&lt;/value&gt;<br style="font-family: 'courier new', monospace; font-size: 8pt; white-space: pre; ">&nbsp;&nbsp;&lt;/data&gt;</span></div><div><span ="Apple-style-span" style="font-family: 'courier new', monospace; font-size: 11px; line-height: normal; border-collapse: collapse; color: rgb77, 77, 77; white-space: pre; "><br></span></div><div>inside your custom message resources:</div><div><br></div><div>CustomErrorMessages.resx</div><div><br></div><div><span ="Apple-tab-span" style="white-space: pre; ">	</span>Name = VerifierRequired</div><div><span ="Apple-tab-span" style="white-space: pre; ">	</span>Value = Some customized message for {0} property</div><div><br></div><div>Please see&nbsp;<a href="http://drc.ideablade.com/xwiki/bin/view/&#068;ocumentati&#111;n/Verify_Localizati&#111;n" target="_blank">http://drc.ideablade.com/xwiki/bin/view/Documentation/Verify_Localization</a>&nbsp;to see the complete ErrorMessageResouceName in the fallback resources.</div><div><br></div><div>Hope this helps. Let me know if something is not clear for you.</div></div>]]>
   </description>
   <pubDate>Wed, 19 Jan 2011 12:23:31 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2442&amp;PID=9717#9717</guid>
  </item> 
  <item>
   <title>Localization Clarification : Thanks Denisk,    #region Name...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2442&amp;PID=9705#9705</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1049" rel="nofollow">yimbot</a><br /><strong>Subject:</strong> 2442<br /><strong>Posted:</strong> 19-Jan-2011 at 12:41am<br /><br />Thanks Denisk, <DIV>&nbsp;</DIV><DIV><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><P>#region</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> Name property</P><P></FONT></FONT><FONT color=#808080 size=2 face=C&#111;nsolas><FONT color=#808080 size=2 face=C&#111;nsolas><FONT color=#808080 size=2 face=C&#111;nsolas>///</FONT></FONT></FONT><FONT color=#008000 size=2 face=C&#111;nsolas><FONT color=#008000 size=2 face=C&#111;nsolas><FONT color=#008000 size=2 face=C&#111;nsolas> </FONT></FONT></FONT><FONT color=#808080 size=2 face=C&#111;nsolas><FONT color=#808080 size=2 face=C&#111;nsolas><FONT color=#808080 size=2 face=C&#111;nsolas>&lt;summary&gt;</FONT></FONT></FONT><FONT color=#008000 size=2 face=C&#111;nsolas><FONT color=#008000 size=2 face=C&#111;nsolas><FONT color=#008000 size=2 face=C&#111;nsolas>Gets or sets the Name. </FONT></FONT></FONT><FONT color=#808080 size=2 face=C&#111;nsolas><FONT color=#808080 size=2 face=C&#111;nsolas><FONT color=#808080 size=2 face=C&#111;nsolas>&lt;/summary&gt;</P></FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas><P>&#091;</FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>Bindable</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>(</FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>true</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>, </FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>BindingDirection</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>.TwoWay)&#093;</P><P>&#091;</FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>Editable</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>(</FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>true</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>)&#093;</P><P>&#091;</FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>Display</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>(Name=</FONT></FONT><FONT color=#a31515 size=2 face=C&#111;nsolas><FONT color=#a31515 size=2 face=C&#111;nsolas><FONT color=#a31515 size=2 face=C&#111;nsolas>"Name"</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>, AutoGenerateField=</FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>true</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>)&#093;</P><P>&#091;IbVal.</FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>StringLengthVerifier</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>(MaxValue=50, IsRequired=</FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>true</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>, ErrorMessageResourceName=</FONT></FONT><FONT color=#a31515 size=2 face=C&#111;nsolas><FONT color=#a31515 size=2 face=C&#111;nsolas><FONT color=#a31515 size=2 face=C&#111;nsolas>"Account_Name"</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>)&#093;</P><P>&#091;</FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>DataMember</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>&#093;</P><P></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>public</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>string</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> Name {</P><P></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>get</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> { </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>return</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>PropertyMetadata</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>.Name.GetValue(</FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>this</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>); }</P><P></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>set</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> { </FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>PropertyMetadata</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>.Name.SetValue(</FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>this</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>, </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>value</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>); }</P><P>}</P></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><P>#endregion</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> Name property</P></FONT></FONT></DIV>]]>
   </description>
   <pubDate>Wed, 19 Jan 2011 00:41:10 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2442&amp;PID=9705#9705</guid>
  </item> 
  <item>
   <title>Localization Clarification : Hi yimbot;Could you post me the...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2442&amp;PID=9694#9694</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 2442<br /><strong>Posted:</strong> 18-Jan-2011 at 7:37pm<br /><br />Hi yimbot;<div><br></div><div>Could you post me the generated code attributes decorating your Name property? For example,</div><div><br></div><div><div>#region LastName property</div><div><br></div><div>&nbsp;&nbsp; &nbsp;/// &lt;summary&gt;Gets or sets the LastName. &lt;/summary&gt;</div><div>&nbsp;&nbsp; &nbsp;&#091;Bindable(true, BindingDirection.TwoWay)&#093;</div><div>&nbsp;&nbsp; &nbsp;&#091;Editable(true)&#093;</div><div>&nbsp;&nbsp; &nbsp;&#091;Display(Name="LastName", AutoGenerateField=true)&#093;</div><div>&nbsp;&nbsp; &nbsp;&#091;IbVal.StringLengthVerifier(MaxValue=30, IsRequired=true, ErrorMessageResourceName="Employee_LastName")&#093;</div><div>&nbsp;&nbsp; &nbsp;&#091;DataMember&#093;</div><div>&nbsp;&nbsp; &nbsp;public string LastName {</div><div>&nbsp;&nbsp; &nbsp; &nbsp;get { return PropertyMetadata.LastName.GetValue(this); }</div><div>&nbsp;&nbsp; &nbsp; &nbsp;set { PropertyMetadata.LastName.SetValue(this, value); }</div><div>&nbsp;&nbsp; &nbsp;}</div><div><br></div><div>&nbsp;#endregion LastName property</div></div>]]>
   </description>
   <pubDate>Tue, 18 Jan 2011 19:37:51 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2442&amp;PID=9694#9694</guid>
  </item> 
  <item>
   <title>Localization Clarification : Bump ;) </title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2442&amp;PID=9672#9672</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1049" rel="nofollow">yimbot</a><br /><strong>Subject:</strong> 2442<br /><strong>Posted:</strong> 17-Jan-2011 at 3:27pm<br /><br />Bump ;)]]>
   </description>
   <pubDate>Mon, 17 Jan 2011 15:27:42 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2442&amp;PID=9672#9672</guid>
  </item> 
  <item>
   <title>Localization Clarification : Hi,   I am only new to DevForce...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2442&amp;PID=9658#9658</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1049" rel="nofollow">yimbot</a><br /><strong>Subject:</strong> 2442<br /><strong>Posted:</strong> 15-Jan-2011 at 5:28am<br /><br />Hi, <DIV>&nbsp;</DIV><DIV>I am only new to DevForce and relatively new to Silverlight, so please excuse my ignorance...</DIV><DIV>&nbsp;</DIV><DIV>I am encountering an issue whereby my customised validation messages are not displaying in the UI.</DIV><DIV>&nbsp;</DIV><DIV>A breif rundown of the steps I have taken so far:</DIV><DIV>&nbsp;</DIV><UL><LI>New Resources File (ValidationErrorResources) created in the server side project with custom messages <LI>Resources file added as link to client (silverlight) project (interstingly, the heirarchy of Designer.cs under resx does not show) <LI>Custom properties class set up as per the following link using a 'Buddy Class' <LI><a href="http://drc.ideablade.com/xwiki/bin/view/&#068;ocumentati&#111;n/Verify_MetadataType" target="_blank">http://drc.ideablade.com/xwiki/bin/view/Documentation/Verify_MetadataType</A> <LI>Added as Link the Class file to Silverlight Project<LI>In the constructor for my ViewModel, I have instanciated a new MyApplicationEntities Mgr <LI>I have a Validate() method in the ViewModel which is called before executing the Save. <LI>The validate method is:</LI></UL><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas><P></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>private</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>bool</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> Validate()</P><P>{</P><P>Mgr.VerifierEngine.ErrorsResourceManager = </FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>ValidationErrorResources</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>.ResourceManager;</P><P></P><P></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>var</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> verifierResults = Mgr.VerifierEngine.Execute(</FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>this</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>.Account);</P><P></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>return</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> (!</FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>this</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>.HasErrors &amp;&amp; !verifierResults.HasErrors);</P><P>}</P><P>&nbsp;</P><P>Code compiles fines and executes fine, but my custom messages never diplay, I only get 'Name is Required' or similar which comes from the fallback resources.</P><DIV>I do not really require real-time validation or complex rules, but a customised message would be nice.</DIV><DIV>&nbsp;</DIV><DIV>Not sure where I am going wrong here, so a point in the right direction would be appreciated!</FONT></FONT></FONT></FONT></DIV><span style="font-size:10px"><br /><br />Edited by yimbot - 15-Jan-2011 at 5:35am</span>]]>
   </description>
   <pubDate>Sat, 15 Jan 2011 05:28:46 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2442&amp;PID=9658#9658</guid>
  </item> 
 </channel>
</rss>