http://bugzilla.novell.com/show_bug.cgi?id=494245

User [email protected] added comment
http://bugzilla.novell.com/show_bug.cgi?id=494245#c4





--- Comment #4 from Matthias Hryniszak <[email protected]>  2009-04-16 14:28:19 
MDT ---
Created an attachment (id=286224)
 --> (http://bugzilla.novell.com/attachment.cgi?id=286224)
Example usage of strongly-typed views in ASP.NET MVC

If you just navigate to http://localhost:8080 the default route kicks in and
directs you to the PersonController/Index action. That in turn renders the view
Index.aspx which is a generic view parametrized using
GenericViewTest.Models.Person. You should see the error at that point. 

To prove that it is actually working I've created a separate action on the same
controller called Details and a view called Details.aspx. The second view makes
no use of the generic declaration but instead it uses a view-local variable
called "person" and takes it from there.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to