jakartaee / jakartaee/faces

f:ajax Skip update model option

Open
#575 18 comments 0 reactions 0 assignees View on GitHub
Priority: Minor Type: Improvement
Dominant language
Java
Stars
127
Forks
59
Avg merge
23h
Merged PRs (30d)
7

Description

Hi all,

I was chatting with Alex Smirnov this week, and he pointed out that an essential
feature needed for Ajax validation is missing from the Ajax support in JSF 2.0.

When you are doing Ajax validation, you need an option to not update the backing
beans (in other words, skip the update model phase), so that *if the value is
valid*, then aren't saved to the model. I think this is sufficiently important
enough to go into the JSF maintenance release. The RichFaces syntax is like:

BTW, Ed, any updates on the MR?

Pete
#### Environment
Operating System: All
Platform: Macintosh
#### Affected Versions
[2.0]

Contributor guide

Open the contributing guide

Research direction

Start by locating the existing JSF 2.0 Ajax support and its update model phase, then review how the f:ajax attributes are defined and processed. Compare the requested updateModel="false" behavior with the RichFaces syntax and existing maintenance-release discussion. Done means Ajax validation can skip updating backing beans when configured, with coverage for the valid-value case.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
frontend, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.