﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum / StrataFrame Application Framework / Enhancement Requests  / ObjectMapper Enhancement / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>forum@strataframe.net</webMaster><lastBuildDate>Thu, 20 Nov 2008 01:54:36 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: ObjectMapper Enhancement</title><link>http://forum.strataframe.net/Topic390-9-1.aspx</link><description>No Big deal. I found that I can get the results I want by adding the formatting code to the FieldPropertyChanging event handler. It works well since the event argument contain both the field name and value.</description><pubDate>Fri, 06 Jan 2006 15:20:04 GMT</pubDate><dc:creator>Larry Caylor</dc:creator></item><item><title>RE: ObjectMapper Enhancement</title><link>http://forum.strataframe.net/Topic390-9-1.aspx</link><description>Honestly, no we haven't considered allowing this.  However, within the Business Object Mapper, you could customize a field property to return custom code.  Or, you could set the value equal to its trimmed value in the CheckRulesOnCurrentRow event handler (since it's business logic :)).</description><pubDate>Fri, 06 Jan 2006 09:18:58 GMT</pubDate><dc:creator>Ben Chase</dc:creator></item><item><title>ObjectMapper Enhancement</title><link>http://forum.strataframe.net/Topic390-9-1.aspx</link><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 9pt; mso-bidi-font-size: 12.0pt"&gt;&lt;FONT color=#000000&gt;&lt;FONT face=Arial&gt;Just download the latest version of the framework, and found that it fixed all of the bugs that I’d reported, Thanks! Looking at the download file date I noticed that it was dated 12/24/2005 11:27PM.&lt;SPAN style="mso-spacerun: yes"&gt;  &lt;/SPAN&gt;Now that’s dedication! I don’t know of any other vendor that would be working that late on Christmas Eve.&lt;SPAN style="mso-spacerun: yes"&gt;  &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 9pt; mso-bidi-font-size: 12.0pt"&gt;&lt;FONT color=#000000&gt;&lt;FONT face=Arial&gt; &lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=MsoBodyText style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Arial color=#000000&gt;In order to become familiar with StrataFrame I’m taking a small application that I developed in CSLA and Active Objects, and converting it. Using StrataFrame, what is the recommended way of preventing users from entering leading and trailing blanks in text fields?  I consider this business logic and accomplished it in CSLA by ‘trimming” the user’s input in the Set Block of the of the property’s public method rather than doing it in the UI. Since I was hand coding the business object in CSLA this was easy to add. I know I could accomplish this using custom code in ObjectMapper but then I loose one of the advantages StrataFrame; less coding. Have you considered adding trim, toupper, and tolower options to the customize field window in ObjectMapper?&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoBodyText style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Arial color=#000000&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P class=MsoBodyText style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Arial color=#000000&gt;-Larry&lt;/FONT&gt;</description><pubDate>Tue, 27 Dec 2005 11:38:25 GMT</pubDate><dc:creator>Larry Caylor</dc:creator></item></channel></rss>