templatestring - input template string
alias - alias of attribute
langid - languageid of input field
native - native name of language
predef_name - name for predefined choice input field
predef_id - ObjectID of predefined choice
predef_value - value of predefined choice (e.g. name of choice)
predef_checked - predefined choice is selected
attribute_value - value of attribute
*
* ==============================
* this._attributeTemplateMapping
* ==============================
*
* hash properties
* locked - only attribute values can be edited / predefined values can not be edited -> locked
* lockedTransl - display translation only / can not be edited
* edit - attribute values and predefined values can be edited
* editTransl - attribute values and predefined values can be edited (other languages)
*
* placeholders
* (%attribute_value%) -> value of attribute
Construct the UI for this widget from a template, setting this.domNode.
Lookup cached version of template, and download to cache if it
isn't there already. Returns either a DomNode or a string, depending on
whether or not the template contains ${foo} replacement parameters.