code: private CmsPair<String, String> getDefaultValueToDisplay(CmsClientProperty prop, Mode mode) {
  
          if ((mode == Mode.structure) && !CmsStringUtil.isEmpty(prop.getResourceValue())) {
              String message = Messages.get().key(Messages.GUI_ORIGIN_SHARED_0);
  
              return CmsPair.create(prop.getResourceValue(), message);
          }
          CmsClientProperty inheritedProperty = m_handler.getInheritedProperty(prop.getName());
          if (CmsClientProperty.isPropertyEmpty(inheritedProperty)) {
              return null;
          }
          CmsPathValue pathValue = inheritedProperty.getPathValue(mode);
          String message = Messages.get().key(Messages.GUI_ORIGIN_INHERITED_1, inheritedProperty.getOrigin());
          return CmsPair.create(pathValue.getValue(), message);
      }
docs: Gets a pair of strings containing the default value to display for a given property and its source.<p>
  
  @param prop the property
  @param mode the mode
  
  @return a pair of the form (defaultValue, origin)