Skip to content

feat(nestedbeans): demo data binding over nested beans on Jetty#25

Open
MatthewHawkins wants to merge 2 commits into
mainfrom
nested-beans
Open

feat(nestedbeans): demo data binding over nested beans on Jetty#25
MatthewHawkins wants to merge 2 commits into
mainfrom
nested-beans

Conversation

@MatthewHawkins

Copy link
Copy Markdown
Member

Single BindingContext with dotted property paths bind nested Address and EmergencyContact fields (e.g. "address.street", "emergencyContact.phone") — the idiomatic webforJ 26.01 pattern. Jakarta validation cascades via @Valid, @embeddable / @Embedded mark the nested beans for future JPA persistence.

Packaged as a traditional WAR and run on the Jetty Maven plugin (jetty-ee10-maven-plugin 12.0.14); no Spring dependencies.

On save, a Dialog opens showing the just-saved employee in a three-panel Accordion: Employee, Address, Emergency contact.

Single BindingContext<Employee> with dotted property paths bind nested
Address and EmergencyContact fields (e.g. "address.street",
"emergencyContact.phone") — the idiomatic webforJ 26.01 pattern.
Jakarta validation cascades via @Valid, @embeddable / @Embedded mark
the nested beans for future JPA persistence.

Packaged as a traditional WAR and run on the Jetty Maven plugin
(jetty-ee10-maven-plugin 12.0.14); no Spring dependencies.

On save, a Dialog opens showing the just-saved employee in a
three-panel Accordion: Employee, Address, Emergency contact.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@hyyan hyyan requested a review from EHandtkeBasis June 16, 2026 13:10
destroyed old dialogs so they dont accumulate.

@EHandtkeBasis EHandtkeBasis left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pushed minor fixes to reset and dialog. LGTM otherwise.

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.

2 participants