Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rowStatePreserved property to UIRepeat, exactly the same as UIData #5349

Merged
merged 4 commits into from
Nov 11, 2023

Conversation

BalusC
Copy link
Contributor

@BalusC BalusC commented Nov 4, 2023

@BalusC BalusC added the 4.1 label Nov 4, 2023
@BalusC BalusC added this to the 4.1.0 milestone Nov 4, 2023
@BalusC BalusC requested review from arjantijms and mnriem November 4, 2023 17:06
getter/setter as UIRepeat is going to be moved into API of Faces.next
jakartaee/faces#1263
@@ -16,6 +16,11 @@

package jakarta.faces.component;

import static com.sun.faces.facelets.tag.faces.ComponentSupport.restoreFullDescendantComponentDeltaStates;
Copy link
Contributor

Choose a reason for hiding this comment

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

This won't work for 5.0 as UIData won't have access to com.sun.faces packages

Copy link
Contributor

Choose a reason for hiding this comment

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

I suggest you move the necessary code into a private Utils class (or reuse one of the existing ones if possible) in the jakarta.faces.component package.

Copy link
Contributor

@mnriem mnriem left a comment

Choose a reason for hiding this comment

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

See single comments above!

@BalusC
Copy link
Contributor Author

BalusC commented Nov 11, 2023

Already took into account this while approving your PR :)

@BalusC
Copy link
Contributor Author

BalusC commented Nov 11, 2023

@mnriem there you go: #5353

@BalusC BalusC merged commit a8a46b8 into 4.1 Nov 11, 2023
BalusC added a commit that referenced this pull request Nov 11, 2023
@BalusC BalusC deleted the faces_issue_1263_add_rowStatePreserved_to_UIRepeat branch November 11, 2023 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants