PropertyMgr.createInputParam (propName, param)
creates parameter object based on xml-encoded property that will be passed to function that renders the input element

  • Parameter String:
    Name of the xml-encoded property
  • Parameter Obj:
    Parameter-Object containing optional attributes for rendering
  • Returns
    Obj Parameter-Object for Input
  • See also
    hopobject.createInputParam
Sourcecode in PropertyMgr/objectFunctions.js:
1:   function createInputParam(propName, param) {
2:      param.name = this.__name__ + "_" + propName;
3:      if (!req.data[param.name + "_array"] && req.data[param.name] != null)
4:         param.value = req.data[param.name];
5:      else
6:         param.value = this.getProperty(propName);
7:      delete param.as;
8:      return param;
9:   }