Open GoogleCodeExporter opened 9 years ago
Accepted. This seems to be a problem in MVC. Ive reported it to them here:
http://www.codeplex.com/aspnet/WorkItem/View.aspx?WorkItemId=3220
I they dont fix it, we have to find a workaround for that.
Original comment by lanwin...@gmail.com
on 17 Feb 2009 at 1:28
As long as we have not resolution for that, the following snipped should make
it work
(untestet).
ViewData = new ViewDataDictionary(category)
return new ViewResult {
ViewName = "List",
ViewData
};
Original comment by lanwin...@gmail.com
on 18 Feb 2009 at 11:33
Ok it seems that this dose not get changed by the mvc team.
Since we must changes this when we want to precompile the views, we will fix
this is
http://code.google.com/p/nhaml/issues/detail?id=44 is done. In the mean time you
could use the above snipped.
Original comment by lanwin...@gmail.com
on 16 Mar 2009 at 4:16
Original issue reported on code.google.com by
fla...@gmail.com
on 17 Feb 2009 at 12:03