﻿<?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 - V1 » Enhancement Requests  » ObjectMapper Enhancement</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Mon, 08 Jun 2026 21:33:37 GMT</lastBuildDate><ttl>20</ttl><item><title>ObjectMapper Enhancement</title><link>http://forum.strataframe.net/FindPost390.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;&amp;nbsp; &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;&amp;nbsp;&amp;nbsp;&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;&amp;nbsp;&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?&amp;nbsp; I consider this&amp;nbsp;business&amp;nbsp;logic&amp;nbsp;and accomplished&amp;nbsp;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&amp;nbsp;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;&amp;nbsp;&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>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/FindPost419.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/FindPost408.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>StrataFrame Team</dc:creator></item></channel></rss>