1
Vote

Using a ViewModel with ActivatingFilter will cause issues

description

If you use this tutorial.

http://docs.orchardproject.net/Documentation/Adding-custom-settings

For adding a Site Settings, but instead of using a Part you use a ViewModel, the POST version of Editor will be hit regardless of if you are saving that part of Site Settings.

This makes the ViewModel empty for when saving, so if you save another settings it'll blank out the other ones that are using ViewModels.

comments

sebastienros wrote Mar 19, 2013 at 9:14 PM

what does your driver look like ?

Sarkie wrote Apr 10, 2013 at 9:19 AM