code: def show_messages(self):
          
          string = self.header
          if self.static_message is not None:
              string += self.static_message.to_html()
  
          for message in self.dynamic_messages:
              string += message.to_html()
  
          string += self.footer
          print(string)
          self.setHtml(string)
docs: Show all messages.