code: public static String propertyTagAction(
          String property,
          String action,
          String defaultValue,
          boolean escape,
          ServletRequest req,
          Locale locale)
      throws CmsException {
  
          CmsFlexController controller = CmsFlexController.getController(req);
          String value = null;
          CmsPropertyAction propertyAction = new CmsPropertyAction(req, action);
          if (null != propertyAction.getVfsUri()) {
              value = controller.getCmsObject().readPropertyObject(
                  propertyAction.getVfsUri(),
                  property,
                  propertyAction.isSearch(),
                  locale).getValue();
          }
          if (value == null) {
              value = defaultValue;
          }
          if (escape) {
              // HTML escape the value
              value = CmsEncoder.escapeHtml(value);
          }
          return value;
      }
docs: Internal action method.<p>
  
  @param property the property to look up
  @param action the search action
  @param defaultValue the default value
  @param escape if the result html should be escaped or not
  @param req the current request
  @param locale the locale for which the property should be read
  
  @return the value of the property or <code>null</code> if not found (and no defaultValue was provided)
  
  @throws CmsException if something goes wrong