Class ModelSelectorUIDefinition

  • public class ModelSelectorUIDefinition
    extends FKSelectorUIDefinition
    Implementation of the ui definition for the model selector.
    • Constructor Detail

      • ModelSelectorUIDefinition

        public ModelSelectorUIDefinition()
    • Method Detail

      • getGridFieldProperties

        public String getGridFieldProperties​(Field field)
        Description copied from class: UIDefinition
        Computes properties to initialize and set the field in a Smartclient grid cell. This can be the default value or the sets of values in the valuemap. Note: the result should be either empty, if not empty then it start with a comma and end without a comma, this to generate correct javascript.
        getGridFieldProperties in class ForeignKeyUIDefinition
        field - the field for which the information should be computed.
        a JSONObject string which is used to initialize the formitem.