Hi;
I'm
not sure how you can do that from CodeGen side, but from the SDK side if
your elements are canonical then all what you need to do is to implement
the getSemanticChildrenList on your canonical compartment edit policy to
return the None containment feature contents you are interested in. Then
the views will be created for them and these view will be contained by
the compartment regardless of the fact that the semantic element feature
is containment or not