<?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: Opinionated Input Builders for ASP.Net MVC &#8211; Part 2 Html Layout for the Label</title>
	<atom:link href="http://lostechies.com/erichexter/2009/06/10/opinionated-input-builders-for-asp-net-mvc-part-2-html-layout-for-the-label/feed/" rel="self" type="application/rss+xml" />
	<link>http://lostechies.com/erichexter/2009/06/10/opinionated-input-builders-for-asp-net-mvc-part-2-html-layout-for-the-label/</link>
	<description></description>
	<lastBuildDate>Tue, 21 May 2013 00:49:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
	<item>
		<title>By: erichexter</title>
		<link>http://lostechies.com/erichexter/2009/06/10/opinionated-input-builders-for-asp-net-mvc-part-2-html-layout-for-the-label/#comment-132</link>
		<dc:creator>erichexter</dc:creator>
		<pubDate>Thu, 11 Jun 2009 13:10:44 +0000</pubDate>
		<guid isPermaLink="false">/blogs/hex/archive/2009/06/09/opinionated-input-builders-for-asp-net-mvc-part-2-html-layout-for-the-label.aspx#comment-132</guid>
		<description>@Alexander,  the actual validation is a seperate concern which would probably be tied into your model binder.  But the portion of this framework in the convention could  implement your own convention which could query the model and determine things like required fields.  The actual Validation in the UI are helpers around displaying the messages that are stored in the model state the is already part of the MVC framework.  This just ties the layout of these together.

@Haacked, Busted... I will update my example and source.</description>
		<content:encoded><![CDATA[<p>@Alexander,  the actual validation is a seperate concern which would probably be tied into your model binder.  But the portion of this framework in the convention could  implement your own convention which could query the model and determine things like required fields.  The actual Validation in the UI are helpers around displaying the messages that are stored in the model state the is already part of the MVC framework.  This just ties the layout of these together.</p>
<p>@Haacked, Busted&#8230; I will update my example and source.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Haacked</title>
		<link>http://lostechies.com/erichexter/2009/06/10/opinionated-input-builders-for-asp-net-mvc-part-2-html-layout-for-the-label/#comment-131</link>
		<dc:creator>Haacked</dc:creator>
		<pubDate>Thu, 11 Jun 2009 04:35:02 +0000</pubDate>
		<guid isPermaLink="false">/blogs/hex/archive/2009/06/09/opinionated-input-builders-for-asp-net-mvc-part-2-html-layout-for-the-label.aspx#comment-131</guid>
		<description>Eric, you should Html Encode the Model.Name and Model.Label in your &lt;label for=&quot;...&quot; /&gt; snippet. :)</description>
		<content:encoded><![CDATA[<p>Eric, you should Html Encode the Model.Name and Model.Label in your <label for="..." /> snippet. <img src='http://lostechies.com/erichexter/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexander Byndyu</title>
		<link>http://lostechies.com/erichexter/2009/06/10/opinionated-input-builders-for-asp-net-mvc-part-2-html-layout-for-the-label/#comment-130</link>
		<dc:creator>Alexander Byndyu</dc:creator>
		<pubDate>Thu, 11 Jun 2009 04:24:39 +0000</pubDate>
		<guid isPermaLink="false">/blogs/hex/archive/2009/06/09/opinionated-input-builders-for-asp-net-mvc-part-2-html-layout-for-the-label.aspx#comment-130</guid>
		<description>Why SimpleModel object can know about self-validation? I think we need SimpleModelValidator and add IHasValidation to impleModel object.</description>
		<content:encoded><![CDATA[<p>Why SimpleModel object can know about self-validation? I think we need SimpleModelValidator and add IHasValidation to impleModel object.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: erichexter</title>
		<link>http://lostechies.com/erichexter/2009/06/10/opinionated-input-builders-for-asp-net-mvc-part-2-html-layout-for-the-label/#comment-129</link>
		<dc:creator>erichexter</dc:creator>
		<pubDate>Wed, 10 Jun 2009 19:59:25 +0000</pubDate>
		<guid isPermaLink="false">/blogs/hex/archive/2009/06/09/opinionated-input-builders-for-asp-net-mvc-part-2-html-layout-for-the-label.aspx#comment-129</guid>
		<description>@Duncan,, I think you are totally getting it.  If you look at the Part 4 there is a static func that is the extensibility point to each of these properties.  That is where you could implement _your_ conventions.  I guess I have spent more time explaining how to configure the exceptions rather than explaining the Convention based approach..... Which is actually the most powerful part of this.</description>
		<content:encoded><![CDATA[<p>@Duncan,, I think you are totally getting it.  If you look at the Part 4 there is a static func that is the extensibility point to each of these properties.  That is where you could implement _your_ conventions.  I guess I have spent more time explaining how to configure the exceptions rather than explaining the Convention based approach&#8230;.. Which is actually the most powerful part of this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Duncan Godwin</title>
		<link>http://lostechies.com/erichexter/2009/06/10/opinionated-input-builders-for-asp-net-mvc-part-2-html-layout-for-the-label/#comment-128</link>
		<dc:creator>Duncan Godwin</dc:creator>
		<pubDate>Wed, 10 Jun 2009 19:52:32 +0000</pubDate>
		<guid isPermaLink="false">/blogs/hex/archive/2009/06/09/opinionated-input-builders-for-asp-net-mvc-part-2-html-layout-for-the-label.aspx#comment-128</guid>
		<description>Looking at this I&#039;m now wondering about conventions that can just be applied globally as defaults rather than per property. e.g. 
- Format all dates in this way, with this control and use this validator.  
- Any property called Html or Comment give a multi-line text field.  
- Setup convention validation for all e-mail addresses for properties that contain Email.  
- All fields called Name are required.  

Maybe I&#039;m pushing it a little now :)</description>
		<content:encoded><![CDATA[<p>Looking at this I&#8217;m now wondering about conventions that can just be applied globally as defaults rather than per property. e.g.<br />
- Format all dates in this way, with this control and use this validator.<br />
- Any property called Html or Comment give a multi-line text field.<br />
- Setup convention validation for all e-mail addresses for properties that contain Email.<br />
- All fields called Name are required.  </p>
<p>Maybe I&#8217;m pushing it a little now <img src='http://lostechies.com/erichexter/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: erichexter</title>
		<link>http://lostechies.com/erichexter/2009/06/10/opinionated-input-builders-for-asp-net-mvc-part-2-html-layout-for-the-label/#comment-127</link>
		<dc:creator>erichexter</dc:creator>
		<pubDate>Wed, 10 Jun 2009 14:14:27 +0000</pubDate>
		<guid isPermaLink="false">/blogs/hex/archive/2009/06/09/opinionated-input-builders-for-asp-net-mvc-part-2-html-layout-for-the-label.aspx#comment-127</guid>
		<description>@Eduardo,  the builders support my default convention.. but allow you do plugin your own convention.. The next post will show how to change the convention for the partial view selection but the approach is the same for each element.  As long as you can define a way to determine how to find your resource key from a PropertyInfo object representing each property than it is a pretty simple convention to implement.</description>
		<content:encoded><![CDATA[<p>@Eduardo,  the builders support my default convention.. but allow you do plugin your own convention.. The next post will show how to change the convention for the partial view selection but the approach is the same for each element.  As long as you can define a way to determine how to find your resource key from a PropertyInfo object representing each property than it is a pretty simple convention to implement.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eduardo Miranda</title>
		<link>http://lostechies.com/erichexter/2009/06/10/opinionated-input-builders-for-asp-net-mvc-part-2-html-layout-for-the-label/#comment-126</link>
		<dc:creator>Eduardo Miranda</dc:creator>
		<pubDate>Wed, 10 Jun 2009 13:53:41 +0000</pubDate>
		<guid isPermaLink="false">/blogs/hex/archive/2009/06/09/opinionated-input-builders-for-asp-net-mvc-part-2-html-layout-for-the-label.aspx#comment-126</guid>
		<description>Hi Eric,

Cool stuff you are building.

One question: Do you have a solution for multi-language UIs? Using .NET resources maybe?</description>
		<content:encoded><![CDATA[<p>Hi Eric,</p>
<p>Cool stuff you are building.</p>
<p>One question: Do you have a solution for multi-language UIs? Using .NET resources maybe?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Remco Ros</title>
		<link>http://lostechies.com/erichexter/2009/06/10/opinionated-input-builders-for-asp-net-mvc-part-2-html-layout-for-the-label/#comment-125</link>
		<dc:creator>Remco Ros</dc:creator>
		<pubDate>Wed, 10 Jun 2009 11:44:55 +0000</pubDate>
		<guid isPermaLink="false">/blogs/hex/archive/2009/06/09/opinionated-input-builders-for-asp-net-mvc-part-2-html-layout-for-the-label.aspx#comment-125</guid>
		<description>Looks nice,

looking forward to see some implementation details.</description>
		<content:encoded><![CDATA[<p>Looks nice,</p>
<p>looking forward to see some implementation details.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: erichexter</title>
		<link>http://lostechies.com/erichexter/2009/06/10/opinionated-input-builders-for-asp-net-mvc-part-2-html-layout-for-the-label/#comment-124</link>
		<dc:creator>erichexter</dc:creator>
		<pubDate>Wed, 10 Jun 2009 11:11:38 +0000</pubDate>
		<guid isPermaLink="false">/blogs/hex/archive/2009/06/09/opinionated-input-builders-for-asp-net-mvc-part-2-html-layout-for-the-label.aspx#comment-124</guid>
		<description>@Nigel,  The attributes I am using here actually are DataAnnotations attributes. the PartialView inherts from the UIHint for example. I just wanted to provide a syntactically clean ...ie no training required way of applying the convention.  The patial view code does look for a UIHInt rather than a PartialView attribute.

@sarong  I will get the source zipped up and uploaded this morning.</description>
		<content:encoded><![CDATA[<p>@Nigel,  The attributes I am using here actually are DataAnnotations attributes. the PartialView inherts from the UIHint for example. I just wanted to provide a syntactically clean &#8230;ie no training required way of applying the convention.  The patial view code does look for a UIHInt rather than a PartialView attribute.</p>
<p>@sarong  I will get the source zipped up and uploaded this morning.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sarong</title>
		<link>http://lostechies.com/erichexter/2009/06/10/opinionated-input-builders-for-asp-net-mvc-part-2-html-layout-for-the-label/#comment-123</link>
		<dc:creator>sarong</dc:creator>
		<pubDate>Wed, 10 Jun 2009 10:47:59 +0000</pubDate>
		<guid isPermaLink="false">/blogs/hex/archive/2009/06/09/opinionated-input-builders-for-asp-net-mvc-part-2-html-layout-for-the-label.aspx#comment-123</guid>
		<description>source code would make it possible to give some feedback</description>
		<content:encoded><![CDATA[<p>source code would make it possible to give some feedback</p>
]]></content:encoded>
	</item>
</channel>
</rss>
