I have a web scoped feature that creates List instances based on list-Definitions and i want these lists to be created in a sub-site. I'm running into the issue that the custom web-parts that use these lists have to be deployed at the site collection level thus giving me a dependency error.
I have explored the idea of making all the features in my project scoped to site collection then attach event receivers to them and create the lists in the sub-site when the feature is activate. This approach seems like overkill- and will be hard for others to troubleshoot and maintain. I also could not get my modules to populate their content correctly but the lists worked.
I also had the epiphany that if i simply make the sub-site into its own separate site collection i could link to it from the original root site..., this works well, but then they don't share a common navigation so this was not an option.
I am now attempting to move the web-parts into user controls hoping that the user controls can be scoped at the web level and can be added to page layouts etc.
Does anyone know of the best practice approach to having list dependent webparts/usercontrols for a sub-site