collections in example

Oct 28, 2009 at 2:46 PM
Edited Oct 28, 2009 at 5:41 PM

All collections (Order, MailingList) are empty in example, when I submit form.

I checked it in

 

[AcceptVerbs("POST")]
public ActionResult Add(Customer customer)

 

this function.

Why is that?

 

EDIT:

On page, when I add Order, new input's id is 'Orders-6_Reference' but name is only 'Reference'.

 

ANOTHER EDIT:

File XformModelBinder.cs is missing from latest revision

 

tnx, gg

Oct 29, 2009 at 7:35 AM

anyone? is file missing? what should I do?

Coordinator
Oct 29, 2009 at 5:14 PM

Hi Greg, this is a bug. The name of the input should be Orders-6_Reference as you suggest. I will investigate why and fix.

I built this project before I really got into unit testing. Hopefully I'll get time to add unit tests when I start building the next version, which will be started in november and finished early next year.

This will include a reworking of the example and upgrade to MVC 2.

Cheers,

Jon

 

Coordinator
Oct 30, 2009 at 7:07 PM

Checked in the fix