Change renderContent to getContent (under View class).