value-if-unset

Specifies a default value to be associated with this element's parent field element. value-if-unset must be the child of a field element in a content-type resource file. The contents of the element must be a valid value for the parent field (that is, it must be of the correct type, and must fall within any constraints specified for the field).

The following field types can have have this value set:

  • number

  • boolean

  • enumeration

  • uri

  • basic

The different formats will have the same Java type as the stored value.

Syntax
<value-if-unset>
  text
</value-if-unset>