Skip to content

Conversation

@thomaslow
Copy link
Collaborator

@thomaslow thomaslow commented Jan 7, 2026

This PR refactors all forms on the "projects" page from @SessionScoped to @ViewScoped. In addition, a few minor cleanup improvements are made.

Related to issues:

Includes PR:

Updated forms:

  • ProjectForm
  • TemplateForm
  • WorkflowForm
  • DocketForm
  • RulesetForm

Changes:

  • @SessionScoped to @ViewScoped
  • Splitting form classes into list view and edit view
  • Column selection dialog only shows columns of the currently active tab
  • Various view parameters are encoded as URL query parameters and updated via Javascript
    • tabIndex - the currently active tab
    • sortField - the field that is used for sorting
    • sortOrder - the order of sorting
    • firstRow - the first data row shown in the data table (corresponds to a page)
    • filter - the active list filter
    • referrerListOptions - the list options sortField, sortOrder, firstRow and filter encoded in a single parameter such they can be restored when navigating back to the list after editing a single entity

Due to the replacement of ProjectForm.java, TemplateForm.java, ..., merging with the following PR needs to be done more carefully such that any improvements are not lost:

…n be restored after navigating back from an edit view.
…sts between reloads and when editing a user.
…ons in authority edit view and role list view.
…apping of deprecated "title.keyword" field used before HibernateSearch update.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant