<?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 using partials – Part 1</title>
	<atom:link href="http://lostechies.com/erichexter/2009/06/09/opinionated-input-builders-for-asp-net-mvc-using-partials-part-i/feed/" rel="self" type="application/rss+xml" />
	<link>http://lostechies.com/erichexter/2009/06/09/opinionated-input-builders-for-asp-net-mvc-using-partials-part-i/</link>
	<description></description>
	<lastBuildDate>Fri, 14 Jun 2013 06:11: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: Gladys_yelland</title>
		<link>http://lostechies.com/erichexter/2009/06/09/opinionated-input-builders-for-asp-net-mvc-using-partials-part-i/#comment-499</link>
		<dc:creator>Gladys_yelland</dc:creator>
		<pubDate>Tue, 04 Dec 2012 13:33:00 +0000</pubDate>
		<guid isPermaLink="false">/blogs/hex/archive/2009/06/09/opinionated-input-builders-for-asp-net-mvc-using-partials-part-i.aspx#comment-499</guid>
		<description>like it..</description>
		<content:encoded><![CDATA[<p>like it..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: erichexter</title>
		<link>http://lostechies.com/erichexter/2009/06/09/opinionated-input-builders-for-asp-net-mvc-using-partials-part-i/#comment-116</link>
		<dc:creator>erichexter</dc:creator>
		<pubDate>Tue, 07 Jul 2009 17:07:43 +0000</pubDate>
		<guid isPermaLink="false">/blogs/hex/archive/2009/06/09/opinionated-input-builders-for-asp-net-mvc-using-partials-part-i.aspx#comment-116</guid>
		<description>@RassaR the index logic can handle the arrays but the value logic needs to be changed to pull that value out properly.  I will need to setup a spike to run through that example.</description>
		<content:encoded><![CDATA[<p>@RassaR the index logic can handle the arrays but the value logic needs to be changed to pull that value out properly.  I will need to setup a spike to run through that example.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RassaR</title>
		<link>http://lostechies.com/erichexter/2009/06/09/opinionated-input-builders-for-asp-net-mvc-using-partials-part-i/#comment-115</link>
		<dc:creator>RassaR</dc:creator>
		<pubDate>Tue, 07 Jul 2009 14:47:28 +0000</pubDate>
		<guid isPermaLink="false">/blogs/hex/archive/2009/06/09/opinionated-input-builders-for-asp-net-mvc-using-partials-part-i.aspx#comment-115</guid>
		<description>Hi 

I got model with list of &#039;subject&#039; fields

public IList&lt;string&gt; subject { get; set; }

I&#039;m trying to create equivalent of 

&lt;input type=&quot;text&quot; name=&quot;subject[0]&quot;&gt;
&lt;input type=&quot;text&quot; name=&quot;subject[1]&quot;&gt; etc

How do i do that with input builder ?

&lt;%= Html.Input(c =&gt; c.subject[0]) %&gt; does not work

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Line 127:        public static object ValueFromModelProperty(PropertyInfo propertyInfo,object model)
Line 128:        {
Line *129*:            var value = propertyInfo.GetValue(model, new object[0]);


Source File: C:\work\InputBuilder\DefaultConventions.cs    Line: 129 




</description>
		<content:encoded><![CDATA[<p>Hi </p>
<p>I got model with list of &#8216;subject&#8217; fields</p>
<p>public IList<string> subject { get; set; }</p>
<p>I&#8217;m trying to create equivalent of </p>
<p><input type="text" name="subject[0]"/><br />
<input type="text" name="subject[1]"/> etc</p>
<p>How do i do that with input builder ?</p>
<p>< %= Html.Input(c => c.subject[0]) %> does not work</p>
<p>Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.</p>
<p>Line 127:        public static object ValueFromModelProperty(PropertyInfo propertyInfo,object model)<br />
Line 128:        {<br />
Line *129*:            var value = propertyInfo.GetValue(model, new object[0]);</p>
<p>Source File: C:\work\InputBuilder\DefaultConventions.cs    Line: 129 </p>
<p></string></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: erichexter</title>
		<link>http://lostechies.com/erichexter/2009/06/09/opinionated-input-builders-for-asp-net-mvc-using-partials-part-i/#comment-114</link>
		<dc:creator>erichexter</dc:creator>
		<pubDate>Thu, 25 Jun 2009 00:20:47 +0000</pubDate>
		<guid isPermaLink="false">/blogs/hex/archive/2009/06/09/opinionated-input-builders-for-asp-net-mvc-using-partials-part-i.aspx#comment-114</guid>
		<description>@Saurabh  Try the following ... Add a reference to the InputBuilder project/assembly from your project and than add the &lt;%@ Import Namespace=&quot;InputBuilder&quot; %&gt; tag in your view or in the web.config in your Views directory.</description>
		<content:encoded><![CDATA[<p>@Saurabh  Try the following &#8230; Add a reference to the InputBuilder project/assembly from your project and than add the < %@ Import Namespace="InputBuilder" %> tag in your view or in the web.config in your Views directory.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Saurabh</title>
		<link>http://lostechies.com/erichexter/2009/06/09/opinionated-input-builders-for-asp-net-mvc-using-partials-part-i/#comment-113</link>
		<dc:creator>Saurabh</dc:creator>
		<pubDate>Wed, 24 Jun 2009 14:02:52 +0000</pubDate>
		<guid isPermaLink="false">/blogs/hex/archive/2009/06/09/opinionated-input-builders-for-asp-net-mvc-using-partials-part-i.aspx#comment-113</guid>
		<description>Hi 

I am using this
&lt;%= Html.Input(&quot;Title&quot;,x=&gt;x.Title) %&gt; 
Html.Input doesn&#039;t resolve.

any idea? which assembly i am missing

Kind Regards
Saurabh</description>
		<content:encoded><![CDATA[<p>Hi </p>
<p>I am using this<br />
< %= Html.Input("Title",x=>x.Title) %><br />
Html.Input doesn&#8217;t resolve.</p>
<p>any idea? which assembly i am missing</p>
<p>Kind Regards<br />
Saurabh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WebDevVote.com</title>
		<link>http://lostechies.com/erichexter/2009/06/09/opinionated-input-builders-for-asp-net-mvc-using-partials-part-i/#comment-112</link>
		<dc:creator>WebDevVote.com</dc:creator>
		<pubDate>Mon, 15 Jun 2009 10:24:02 +0000</pubDate>
		<guid isPermaLink="false">/blogs/hex/archive/2009/06/09/opinionated-input-builders-for-asp-net-mvc-using-partials-part-i.aspx#comment-112</guid>
		<description>Track back from WebDevVote.com</description>
		<content:encoded><![CDATA[<p>Track back from WebDevVote.com</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BorisCallens</title>
		<link>http://lostechies.com/erichexter/2009/06/09/opinionated-input-builders-for-asp-net-mvc-using-partials-part-i/#comment-111</link>
		<dc:creator>BorisCallens</dc:creator>
		<pubDate>Fri, 12 Jun 2009 08:18:22 +0000</pubDate>
		<guid isPermaLink="false">/blogs/hex/archive/2009/06/09/opinionated-input-builders-for-asp-net-mvc-using-partials-part-i.aspx#comment-111</guid>
		<description>I like the idea.
It would make sence to me to have constraints in my model. Constraints are not view dependant, they should always be there anyway.
As long as you put the desired partial annotation in your DTO, I&#039;m perfectly fine with it.
I feel this has dftly potential.
</description>
		<content:encoded><![CDATA[<p>I like the idea.<br />
It would make sence to me to have constraints in my model. Constraints are not view dependant, they should always be there anyway.<br />
As long as you put the desired partial annotation in your DTO, I&#8217;m perfectly fine with it.<br />
I feel this has dftly potential.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 5x1llz</title>
		<link>http://lostechies.com/erichexter/2009/06/09/opinionated-input-builders-for-asp-net-mvc-using-partials-part-i/#comment-110</link>
		<dc:creator>5x1llz</dc:creator>
		<pubDate>Fri, 12 Jun 2009 02:56:31 +0000</pubDate>
		<guid isPermaLink="false">/blogs/hex/archive/2009/06/09/opinionated-input-builders-for-asp-net-mvc-using-partials-part-i.aspx#comment-110</guid>
		<description>this sort of builds on Palermos example in MVC in action I like.. might leverage TextBoxFor instead though... and are there options to the attributes?</description>
		<content:encoded><![CDATA[<p>this sort of builds on Palermos example in MVC in action I like.. might leverage TextBoxFor instead though&#8230; and are there options to the attributes?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 很少看到</title>
		<link>http://lostechies.com/erichexter/2009/06/09/opinionated-input-builders-for-asp-net-mvc-using-partials-part-i/#comment-109</link>
		<dc:creator>很少看到</dc:creator>
		<pubDate>Thu, 11 Jun 2009 08:43:33 +0000</pubDate>
		<guid isPermaLink="false">/blogs/hex/archive/2009/06/09/opinionated-input-builders-for-asp-net-mvc-using-partials-part-i.aspx#comment-109</guid>
		<description>很少看到这样的文章 
把视图作为模型 进行高级抽象 是个好想法
不过就像他们说的 还有待探讨</description>
		<content:encoded><![CDATA[<p>很少看到这样的文章<br />
把视图作为模型 进行高级抽象 是个好想法<br />
不过就像他们说的 还有待探讨</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Haacked</title>
		<link>http://lostechies.com/erichexter/2009/06/09/opinionated-input-builders-for-asp-net-mvc-using-partials-part-i/#comment-108</link>
		<dc:creator>Haacked</dc:creator>
		<pubDate>Thu, 11 Jun 2009 04:41:26 +0000</pubDate>
		<guid isPermaLink="false">/blogs/hex/archive/2009/06/09/opinionated-input-builders-for-asp-net-mvc-using-partials-part-i.aspx#comment-108</guid>
		<description>Are you using the data annotations? Shouldn&#039;t the LabelAttribute be DisplayAttribute?</description>
		<content:encoded><![CDATA[<p>Are you using the data annotations? Shouldn&#8217;t the LabelAttribute be DisplayAttribute?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
