[OE-3945] Allow the renderElement method to accept a list of possible views to render