Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

Move Form.isFormSubmission check to the Field class

Currently Form does a check if its submitted and in doing so decides whether its child controls will be processed or not. This restriction works well for Fields, however problems arise when adding components such as Tables or Trees which needs to be processed even when Form is not submitted. Ajaxified Fields also falls into this category.

One option worth investigating is moving the Form.onFormSubmission check to the Field class which allows the lower level component making the decision on whether to process itself or not. Tables and Trees will now integrate properly with Forms without having to resort to workarounds.

Issue: this will effect backwards compatibility as custom Fields will have to guard against Form submissions.