jakartaee / jakartaee/faces

Add pre and post ajax transaction function callbacks

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

Description

Use case: say the user wants to use some effect to fade in/out the content to be updated via Ajax. It
would be nice to have a way to install pre-request and post request callback functions. On the post
request, we need to have actually two functions. One when we have the response but have not yet done
the replacement, and another after we have done the replacement.
#### Environment
Operating System: All
Platform: All
#### Affected Versions
[2.0]

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the Jakarta Faces Ajax transaction lifecycle and any existing callback mechanisms. Define callbacks for before the request, after the response but before replacement, and after replacement; done means all three points can be used for effects such as fading updated content.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, javascript
Domain
frontend, web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.