code: protected CmsMessages getMessages() {
  
          if (m_messages == null) {
              // initialize the localized messages
              m_messages = new CmsMessages(Messages.get().getBundleName(), getLocale().toString());
          }
          return m_messages;
      }
docs: Returns the initialized messages object to read localized messages from.<p>
  
  @return the initialized messages object to read localized messages from