1

Closed

Inappropriate usages of RouteValueCollection

description

As discussed previously (http://mvccontrib.codeplex.com/workitem/7191) there are a few places left where T4MVC inappropriately uses RouteValueCollection to convert an anonymous object to HTML attributes.

I've created diffs that can be applied to make the changes to 2.8.1. As I'm not used to working with diffs or what format you need them in, I've included all patch formats supported by Beyond Compare.

Btw, did you know that you can shave 7kb off the size of T4MVC simply by using tab indentation?

file attachments

Closed Feb 13, 2013 at 11:02 PM by davidebbo
I believe we fixed's this a while back per mswainatwork's changes.

comments

mertner wrote Apr 18, 2012 at 1:23 AM

Just in case you prefer, I've also attached the fully patched file.

mswainatwork wrote Apr 19, 2012 at 3:27 PM

I added a pull request from a fork for Dabid to check. It should handle both MVC3 and MVC2 (which T4MVC is designed to work with.)

This is a link to the changeset if anybody is interested:
http://t4mvc.codeplex.com/SourceControl/network/forks/mswainatwork/t4mvc/changeset/changes/d413458fe9b0