Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • overrideFields: As seen above, these fields allow the value in the field to override the fact that, for some reason or another, it normally wouldn't be used.
  • hidden: true or false, this forces the field to be rendered as a hidden value
  • dynamicLabelProperty: the maintenance field definition includes two properties, webUILeaveFieldFunction and webUILeaveFieldCallbackFunction, which allow labels to be added through AJAX - ie, once a user enters the account number, the name of the account shows up. That's also available for AccountingLineView-field but one of two extra properties must be added: either dynamicLabelProperty or dynamicNameLabelGeneratorBeanName. The dynamicLabelProperty property works withe webUILeaveFieldFunction and allows the setting of what field should be displayed as the dynamic label (account.name, for instance, is the label for accountNumber).
  • dynamicNameLabelGeneratorBeanName: some AJAX functions - notably Object Code's - cannot be called through simple webUILeaveFieldFunctions with dynamicLabelProperty properties set. For this instance, one simply specifies the name of an implementation of org.kuali.kfs.sys.document.service.DynamicNameLabelGenerator exposed through Spring. This interface provides all the methods needed so the accounting line renderer can construct the AJAX call properly; webUILeaveFieldFunction, webUILeaveFieldFunctionCallback, and dynamicLabelProperty are no longer needed.

...