2 methods:
1)
In config (or code) you have to leave out the generic argument, and then declare the model type (to __close__ the generic type) in the spark template like this
<viewdata model="SomeViewModel"/>
Note: When setting up the default pagebasetype in code, you need to have both a generic and a non-generic type of your basetype (from external app config this is not an issue, I guess). I find this a bit strange, but this is why Spark has both SparkView and SparkView<TModel> types in its MVC assembly.
2)
Or you can declare the closed pagebasetype in the spark template as
<use pageBaseType="IRGenericViewPage[[SomeViewModel]]"/>
If your basetype varies, and/or you have > 1 generic arguments on your basetype.
Hope this helps
Maxild