Page History
Table of Contents |
---|
Most work is expected to be carried out through the following ticket/epic. This ticket, as well as linked support tickets hold several
See this ticket and linked support tickets as well for concrete scenarios.
Jira | ||||||||
---|---|---|---|---|---|---|---|---|
|
Mikaël Geljić prepares skeleton for Vaadin sandbox application on a branch
Mikaël Geljić publishes the AccessControlFieldUI sandbox
Mikaël Geljić files JIRA tickets for each standalone PoC
1. Use cases
We need to support such dynamic forms in a much easier way. Collecting some commons requirements:
- populating select options based on the value of another field
- validating a field depending on the value of another field (including within a composite field itself)
- enabling/disabling fields conditionally
- potentially custom handling of any field, via plain Vaadin code
- updating form buttons (enabling/disabling/relabeling)
2. General directions & goals
- Exposing hooks on form-level
- currently only possible on field-level via
FieldFactories
- fields & factories are only aware about themselves, in isolation. They're not aware about other fields and this is harder to do than it should.
- currently only possible on field-level via
- Use more of Vaadin out of the box
- less customizations
- get rid of legacy Vaadin 6.x or client-side code
- Open up APIs to offer more possibilities (data-binding, or dynamic/ cross-field behaviors)
- Reduce technical debt
3. PoC phase
Goals
Validate several assumptions from Mika
- If all goes well, put it all together at the end, through an Integration phase
Process
- To be carried out by the VN Core Team
- Try to work in pairs (can still switch afterwards), or alternate between group phases and individual work/thinking
- Keep each PoC standalone until the end of the PoC phase
- Target date:
PoC #1: New FormPresenter
...
- Inspired from
AccessControlField$PathChooserHandler
- Result: small Vaadin application
- see
info.magnolia.dev.acls.AccessControlFieldUI
in Mika's sandbox - opens a Vaadin Window
- field inside the window shares property data-source with text field
- see
4.
...
Integration phase
- To be
...
determined
- One "Integration PoC" of existing work
- e.g. still as a small Vaadin application, but combining configured forms, complex fields, sub-field validation and a dynamic behavior
- Compatibility research
- preserve old behaviors/factories and classes to work side-by-side with the new ones
...
Overview
Content Tools