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

VariableMapperWrapper: typo + generics + code clarification #5518

Closed
wants to merge 467 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
467 commits
Select commit Hold shift + click to select a range
d05853e
Faces 5.0: add StateManager.StateSavingMethod enum
BalusC Oct 15, 2023
644cc7c
Faces 5.0: add UIInput.ValidateEmptyFields enum #5335
BalusC Oct 15, 2023
8c5a445
Fixed javadoc error #5333
BalusC Oct 15, 2023
bd467e4
Faces 4.1: deprecate FSS #5337
BalusC Oct 15, 2023
26e38c8
Merge branch 'master' into faces_issue_1507_automatically_pass_throug…
BalusC Oct 15, 2023
8ffb4fd
Add FacesComponentEvent enum with action and valueChange; refactored
BalusC Oct 15, 2023
b16131f
Remove statements #5337
BalusC Oct 15, 2023
c056558
Clean up after self-review
BalusC Oct 15, 2023
20b1193
Merge pull request #5336 from eclipse-ee4j/mojarra_issue_5335_add_Val…
BalusC Oct 15, 2023
ac78433
Merge pull request #5334 from eclipse-ee4j/mojarra_issue_5333_add_Sta…
BalusC Oct 15, 2023
c5fe7d1
Spec 1739: Require firing events for Initialized, BeforeDestroyed, De…
volosied Oct 19, 2023
329b720
Merge #5341 from 4.0 into 4.1
BalusC Oct 21, 2023
a08f3d1
Merge #5341 from 4.1 into 5.0
BalusC Oct 21, 2023
8b62f62
Merge pull request #5338 from eclipse-ee4j/mojarra_issue_5337_depreca…
BalusC Oct 21, 2023
2de2dbd
Merge #5337 from 4.1 into 5.0
BalusC Oct 21, 2023
dc7155f
Merge pull request #5340 from volosied/spec1739
BalusC Oct 21, 2023
5127e13
Backport pull request #5340 from 5.0 into 4.1
BalusC Oct 21, 2023
960e689
Merge 4.1 into 5.0
BalusC Oct 21, 2023
8bf0260
Merge #5331 from 4.0 into 4.1
BalusC Oct 21, 2023
cc3fa65
Merge #5331 from 4.1 into 5.0
BalusC Oct 21, 2023
b550fe6
Merge remote-tracking branch 'origin/master' into faces_issue_1507_au…
BalusC Oct 22, 2023
acf3d47
Fixed failing tests
BalusC Oct 22, 2023
242879a
Merge #5343 from 4.0 into 4.1
BalusC Oct 28, 2023
6d16372
Merge #5343 from 4.1 into 5.0
BalusC Oct 28, 2023
b754379
Merge pull request #5289 from eclipse-ee4j/faces_issue_1713
BalusC Oct 28, 2023
1a24255
Ensure that all default values of context params are already in spec
BalusC Oct 28, 2023
0d99a4c
Add new FacesConfig.ContextParam enum
BalusC Oct 28, 2023
3144516
Utilize new FacesConfig.ContextParam enum
BalusC Oct 28, 2023
a1016c7
Fixed broken tests after adding new FacesConfig.ContextParam enum
BalusC Oct 28, 2023
e3ead5c
Merge branch 'master' into faces_issue_1507_automatically_pass_throug…
BalusC Oct 28, 2023
0bc83fd
Renamed the enums to have Html prefix and changed appmap by enummap
BalusC Oct 28, 2023
7236717
Set in stone in spec
BalusC Oct 28, 2023
71ad216
Remove HTML5 specificity
BalusC Oct 28, 2023
823732f
[5345] Do not override application-specified "com.sun.faces.enableDis…
pferraro Oct 31, 2023
bc38107
Merge pull request #5346 from pferraro/master
BalusC Nov 4, 2023
f60e79f
Merge #5347 from 4.0 into 4.1
BalusC Nov 4, 2023
6b9205a
Merge #5347 from 4.1 into 5.0
BalusC Nov 4, 2023
f2fc252
Specify injection of Flow
BalusC Nov 4, 2023
2c85c8b
Implement injection of Flow
BalusC Nov 4, 2023
a7e53c8
Specify new rowStatePreserved attribute for ui:repeat
BalusC Nov 4, 2023
9d4e2e9
Refactor static logic associated with rowStatePreserved from UIData into
BalusC Nov 4, 2023
f7829ab
Implement new rowStatePreserved attribute for UIRepeat
BalusC Nov 4, 2023
12f9a98
Merge branch 'master' into faces_issue_1507_automatically_pass_throug…
BalusC Nov 4, 2023
52b935d
Fix typo
BalusC Nov 4, 2023
84588ff
Bump to Java 17
BalusC Nov 4, 2023
536e7f3
Deprecate <composite:extension>
BalusC Nov 4, 2023
633a784
Improved doc after self-review
BalusC Nov 4, 2023
1e74d09
Clarified vdldoc after self-review and added javadoc nonetheless to
BalusC Nov 4, 2023
3292dc0
Interim commit for #4480 (#5319)
mnriem Nov 6, 2023
665bd91
Merge pull request #5350 from eclipse-ee4j/bump_to_java17
BalusC Nov 11, 2023
40299b2
Merge pull request #5352 from eclipse-ee4j/mojarra_issue_5351_depreca…
BalusC Nov 11, 2023
1ce8950
Merge #5351 from 4.1 into 5.0
BalusC Nov 11, 2023
c4f0218
Merge branch '4.1' into faces_issue_1263_add_rowStatePreserved_to_UIR…
BalusC Nov 11, 2023
aea1be1
Merge branch 'faces_issue_1263_add_rowStatePreserved_to_UIRepeat' into
BalusC Nov 11, 2023
a8a46b8
Merge pull request #5349 from eclipse-ee4j/faces_issue_1263_add_rowSt…
BalusC Nov 11, 2023
bbbff3c
Merge pull request #5353 from eclipse-ee4j/faces_issue_1263_add_rowSt…
BalusC Nov 11, 2023
21d0165
Merge #5349 from 4.1 into 5.0
BalusC Nov 11, 2023
15f6223
Merge pull request #5348 from eclipse-ee4j/faces_issue_1342_support_i…
BalusC Nov 11, 2023
70c4185
Merge #5348 from 4.1 into 5.0
BalusC Nov 11, 2023
e14c3a9
Address "RESOLVE THIS" concerns wrt InjectionProvider by simply using
BalusC Nov 12, 2023
2d7dd8d
Address "RESOLVE THIS" concerns wrt InitFacesContext by simply using
BalusC Nov 12, 2023
42cee97
Fixed failing unit tests caused by using CDI as injection provider --
BalusC Nov 12, 2023
6e1aa5f
Remove already resolved "RESOLVE THIS" comments
BalusC Nov 12, 2023
5182deb
Fixed failing ELUtilsTest
BalusC Nov 12, 2023
63e22cf
It's more intuitive that PreDestroy is invoked in reverse order as
BalusC Nov 12, 2023
13678d8
Further improved postconstruct/predestroy by delegating it to CDI
BalusC Nov 12, 2023
44792f8
Merge pull request #5354 from eclipse-ee4j/use_cdi_as_injection_provider
BalusC Nov 12, 2023
656e9be
Merge branch 'master' into
BalusC Nov 12, 2023
30b417c
Merge branch 'master' into
BalusC Nov 12, 2023
d5dbadb
Fixes #5357 - Move jakarta.faces-api Maven module to API project
mnriem Nov 16, 2023
d946c60
It was only added to standard-html-renderkit.xml not to taglib doc. We
BalusC Nov 19, 2023
a9df992
Merge pull request #5360 from eclipse-ee4j/add_missing_rowStatePreser…
BalusC Nov 22, 2023
f268d46
@jakarta.faces.annotation.View#value must be @Nonbinding
BalusC Nov 26, 2023
1db58a0
Fixes #5357 - Move jakarta.faces-api Maven module to API project
mnriem Nov 26, 2023
6b0c772
Fixes #5357 - Move jakarta.faces-api Maven module to API project
mnriem Nov 26, 2023
7ea8d1b
Merge pull request #5358 from mnriem/issue-5357
BalusC Nov 26, 2023
4228058
Merge pull request #5368 from eclipse-ee4j/mojarra_issue_1865
BalusC Nov 26, 2023
39f9df3
Merge #5369 from 4.0 into 4.1
BalusC Nov 26, 2023
549fc50
Optimized finding @View beans now the value attribute is @Nonbinding
BalusC Nov 26, 2023
7df2bd1
Merge pull request #5370 from eclipse-ee4j/mojarra_issue_5362_optimiz…
BalusC Nov 26, 2023
d053766
Merge 4.1 into 5.0
BalusC Nov 26, 2023
0423a7c
Fixes #5359 - Implement FacesServletFactory (#5361)
mnriem Nov 28, 2023
0ed6ffa
Revert "Optimized finding @View beans now the value attribute is @Non…
BalusC Nov 30, 2023
04636c5
Merge branch 'master' of git@github.com:eclipse-ee4j/mojarra.git
BalusC Nov 30, 2023
21aafbf
Merge remote-tracking branch 'origin/4.0' into 4.1
BalusC Nov 30, 2023
26914a8
Merge remote-tracking branch 'origin/4.1'
BalusC Nov 30, 2023
12ca56e
Revert "@jakarta.faces.annotation.View#value must be @Nonbinding http…
BalusC Nov 30, 2023
bc447bc
Merge #5355 from 4.0 into 4.1
BalusC Dec 2, 2023
1d23288
Merge #5355 from 4.1 into 5.0
BalusC Dec 2, 2023
ce18c75
Support for the Jakarta EE 11 M1 release
arjantijms Dec 11, 2023
a769a26
Updated expressly to 6.0.0-M1
arjantijms Dec 11, 2023
2acb025
Specify compiler plugin explicitly
arjantijms Dec 11, 2023
c4234da
Build with Java 17
arjantijms Dec 11, 2023
253d132
Set version of maven compiler
arjantijms Dec 11, 2023
fe6c135
Move maven compiler plugin to parent
arjantijms Dec 11, 2023
92baa2d
Merge pull request #5373 from arjantijms/4.1-M1-prepare
arjantijms Dec 11, 2023
cfc7b01
[MOJARRA_5375] The jfwid contains the session ID
jasondlee Dec 11, 2023
136cbbe
Merge pull request #5376 from jasondlee/MOJARRA_5375
arjantijms Dec 13, 2023
8d17d0c
Fixes #3574 - Remove REST/Action/CDI prototypes (#5379)
mnriem Dec 18, 2023
70014ff
Fixes #3574 - Remove REST/Action/CDI prototypes (#5381)
mnriem Dec 22, 2023
66c01c6
NPE in ExternalContextImpl.encodeRedirectURL when no ViewRoot availab…
shadogray Jan 16, 2024
350fbbe
Merge pull request #5384 from shadogray/master
BalusC Jan 20, 2024
a473288
Merge #5386 from 4.0 into 4.1
BalusC Jan 28, 2024
88b4ba4
Merge remote-tracking branch 'origin/4.0' into 4.1
BalusC Jan 28, 2024
ded098b
Fix merge error
BalusC Jan 28, 2024
216755e
Merge #5389 from 4.0 into 4.1
BalusC Feb 10, 2024
28bf336
Merge 4.1 into 5.0
BalusC Feb 10, 2024
683ea15
Merge branch 'master' into
BalusC Feb 10, 2024
2f822ea
Merge branch 'master' into
BalusC Feb 10, 2024
8472f36
Revert "UIInput#getSubmittedValue() must also consider isLocalValueSe…
BalusC Feb 11, 2024
be5d946
fix failing tck caused by non-existent numeric input attribute being
BalusC Feb 11, 2024
55d2241
fix failing tck caused by non-existent numeric input attribute being
BalusC Feb 11, 2024
219af0c
Merge branch 'fix_tck_for_mojarra_4.1' of
BalusC Feb 11, 2024
efd3b6f
Merge pull request #5400 from eclipse-ee4j/fix_tck_for_mojarra_4.1
arjantijms Feb 11, 2024
75c7b8c
Default encoding should be prechecked
BalusC Feb 12, 2024
b31df99
Merge pull request #5401 from eclipse-ee4j/mojarra_issue_5383_improve…
arjantijms Feb 12, 2024
d918884
Merge #5400 and #5401 from 4.1 into 5.0
BalusC Feb 12, 2024
1198cce
Fix ClassCastException on CDI.current().getBeanManager() call triggered
BalusC Feb 18, 2024
5f3bce0
Merge pull request #5403 from eclipse-ee4j/fix_cdi_beanmanager_classc…
arjantijms Feb 20, 2024
cc02e5d
No need to swallow exception at that point.
arjantijms Feb 20, 2024
89dd16d
Update term Bean Validation to Jakarta Validation
arjantijms Feb 20, 2024
f9a9dcc
Merge pull request #5405 from arjantijms/swallow_beanvalidation_excep…
arjantijms Feb 21, 2024
c6905c9
Revert "Remove deprecated bindings field"
volosied Feb 22, 2024
1bd98ad
Update Specification-Version to 4.1
volosied Feb 22, 2024
279bf83
Merge pull request #5406 from volosied/Revert-UIComponent.bindings-re…
BalusC Mar 2, 2024
05d3eb5
Merge pull request #5407 from volosied/spec-version-update
BalusC Mar 2, 2024
b108513
Merge #5396 from 4.0 into 4.1
BalusC Mar 2, 2024
3f77e71
Merge 4.1 into 5.0
BalusC Mar 2, 2024
1291d10
Merge #5380 from 4.0 into 4.1
BalusC Mar 2, 2024
8d499b0
Merge #5380 from 4.1 into 5.0
BalusC Mar 2, 2024
1ab543e
Merge #5391 from 4.0 into 4.1
BalusC Mar 2, 2024
f4c8387
Merge #5391 from 4.1 into 5.0
BalusC Mar 2, 2024
6291c30
Merge branch 'master' into
BalusC Mar 2, 2024
bae89d5
revert cfc7b0183fa0d76ac03d7f200e234d5405e2ae32
BalusC Mar 2, 2024
884a7c3
Merge branch 'master' into
BalusC Mar 2, 2024
bbc402c
add xsds for 4.1
BalusC Mar 3, 2024
6eaaec4
discovered while writing TCK: the UUIDConverter wasn't properly
BalusC Mar 3, 2024
aee9c9f
Merge pull request #5412 from eclipse-ee4j/add_xsds_for_4.1
arjantijms Mar 4, 2024
11d05f5
Update dependencies
arjantijms Mar 5, 2024
075a759
Update copyright
arjantijms Mar 5, 2024
939b2d9
Merge pull request #5413 from arjantijms/update_deps_jakarta_wave14
arjantijms Mar 5, 2024
6397374
Merge #5404, #5408 and #5409 from 4.0 into 4.1
BalusC Mar 9, 2024
cbff0b0
Merge #5404, #5408 and #5409 from 4.1 into 5.0
BalusC Mar 9, 2024
94383c2
pom.xml slipped through merge of #5409 from 4.0 into 4.1
BalusC Mar 9, 2024
3f2e4ea
Merge #5409 from 4.1 into 5.0
BalusC Mar 9, 2024
b5fe8a9
Merge #5415 from 4.0 into 4.1
BalusC Mar 18, 2024
42acb9e
Merge #5415 from 4.1 into 5.0
BalusC Mar 18, 2024
d44774e
Update pom.xml
arjantijms Mar 23, 2024
23a08ba
Fix compilation error
arjantijms Mar 23, 2024
199d536
Merge branch 'master' of git@github.com:arjantijms/mojarra.git
arjantijms Mar 23, 2024
9f88d22
Merge branch 'eclipse-ee4j:master' into master
arjantijms Mar 23, 2024
369793c
Merge pull request #5422 from arjantijms/master
arjantijms Mar 23, 2024
25044a8
restore disappeared test classes
BalusC Mar 23, 2024
a0a1f68
Merge branch 'master' into restore_disappeared_test_classes
BalusC Mar 23, 2024
883190a
restore 5.0 change on ELUtilsTest
BalusC Mar 23, 2024
072cc9c
Remove FacesWrapperTestCase as this test is already done in Faces API
BalusC Mar 23, 2024
01c1fbc
fixed FacesServletTestCase
BalusC Mar 23, 2024
0fa3fa4
Merge pull request #5423 from eclipse-ee4j/restore_disappeared_test_c…
BalusC Mar 24, 2024
2232bf9
Fix FacesServletFactory
BalusC Mar 24, 2024
273b9ea
Merge #5417 from 4.0 into 4.1
BalusC Mar 24, 2024
8c59c5b
Merge #5417 from 4.1 into 5.0
BalusC Mar 24, 2024
12e657e
Merge pull request #5424 from eclipse-ee4j/fix_faces_servlet_factory
arjantijms Mar 24, 2024
37a0472
Update build.yml
arjantijms Mar 24, 2024
be7823b
Update build.yml
arjantijms Mar 24, 2024
445c971
Update build.yml
arjantijms Mar 24, 2024
cc05332
Merge remote-tracking branch 'origin/master' into
BalusC Mar 24, 2024
6490bfe
Merge pull request #5344 from eclipse-ee4j/faces_issue_1416_add_conte…
BalusC Mar 24, 2024
c5c11ca
Merge branch 'master' into
BalusC Mar 24, 2024
12e79cd
Merge remote-tracking branch 'origin/master' into faces_issue_1507_au…
BalusC Mar 24, 2024
ab98cc3
Merge #5414, #5420 and #5427 from 4.0 into 4.1
BalusC Mar 30, 2024
65e7b8a
Merge #5414, #5420 and #5427 from 4.1 into 5.0
BalusC Mar 30, 2024
2b37c51
Merge #5432 from 4.0 into 4.1
BalusC Apr 7, 2024
b8a0530
Merge #5432 from 4.1 into 5.0
BalusC Apr 7, 2024
9cc70ee
Fix #5434: Inverse default config of autoCompleteOffOnViewState
BalusC Apr 7, 2024
4a68ab2
Merge pull request #5435 from eclipse-ee4j/mojarra_issue_5434
BalusC Apr 10, 2024
ef72b9b
Update various versions in pom, specifically Jakarta versions to final
arjantijms May 7, 2024
593931f
Merge pull request #5443 from arjantijms/41_update_pom_versions
arjantijms May 7, 2024
9566c88
Prepare release org.glassfish:mojarra-parent:4.1.0
mojarra-bot May 7, 2024
5ef2c01
Prepare next development cycle for 4.1.1-SNAPSHOT
mojarra-bot May 7, 2024
16fdf9c
Merge #5431, #5444 and #5445 from 4.0 into 4.1
BalusC May 26, 2024
410b7ea
Merge #5431, #5434 and #5444 from 4.1 into 5.0
BalusC May 26, 2024
ac7d778
https://github.com/eclipse-ee4j/mojarra/issues/5451
BalusC May 31, 2024
b3bbc96
Fixed compilation error in unit test after removal of JAX-WS, apparently
BalusC May 31, 2024
83b254c
Merge #5445 from 4.0 into 4.1
BalusC Jun 22, 2024
2a0e8fc
Merge #5445 from 4.1 into 5.0
BalusC Jun 22, 2024
1d2d508
Merge pull request #5455 from eclipse-ee4j/4.1.0
BalusC Jun 22, 2024
a284846
Merge pull request #5453 from eclipse-ee4j/mojarra_issue_5451_remove_…
arjantijms Jun 23, 2024
d2420bf
Prepare release org.glassfish:mojarra-parent:4.1.1
mojarra-bot Jun 25, 2024
3c4cc3a
Prepare next development cycle for 4.1.2-SNAPSHOT
mojarra-bot Jun 25, 2024
2768707
Merge pull request #5459 from eclipse-ee4j/4.1.1
arjantijms Jul 14, 2024
968bdf7
Merge #5460, #5464 and #5468 from 4.0 into 4.1
BalusC Aug 3, 2024
a019325
Merge #5460, #5464 and #5468 from 4.1 into 5.0
BalusC Aug 3, 2024
29e87f0
Move non-impl specific unit tests from Mojarra to Faces
BalusC Aug 4, 2024
8d7ae49
Fix #5471: Unify NavigationHandler and ConfigurableNavigationHandler
BalusC Aug 4, 2024
9fdcfbc
Fix #5473: Utilize ability to pass VisitHints to
BalusC Aug 4, 2024
85fe01a
Merge #5479 from 4.0 into 4.1
BalusC Aug 5, 2024
b756c6c
Merge #5479 from 4.1 into 5.0
BalusC Aug 5, 2024
26c035c
Merge branch 'master' into issue_5471_unify_NavigationHandler_and_Con…
arjantijms Aug 7, 2024
f709a49
Merge branch 'master' into mojarra_issue_5473_Utilize_ability_to_pass…
arjantijms Aug 7, 2024
42b1d84
Add expression language 6.0 Optional and Record resolvers
arjantijms Aug 12, 2024
956bb84
Merge pull request #5481 from arjantijms/4_1_5480_support_el6
arjantijms Aug 13, 2024
9afbb80
Merge pull request #5470 from eclipse-ee4j/move_non_impl_specific_uni…
BalusC Aug 26, 2024
27cff77
Merge pull request #5474 from eclipse-ee4j/mojarra_issue_5473_Utilize…
BalusC Aug 26, 2024
9eb7f6e
Merge branch 'master' into issue_5471_unify_NavigationHandler_and_Con…
BalusC Aug 26, 2024
7e5c5b7
Fix #5484: api classes should not have impl dependencies
BalusC Aug 26, 2024
ee908d2
Merge pull request #5485 from eclipse-ee4j/issue_5484_remove_impl_spe…
BalusC Aug 31, 2024
ed6577f
Merge pull request #5472 from eclipse-ee4j/issue_5471_unify_Navigatio…
BalusC Sep 2, 2024
1ba4c10
Support new FacesMessage.Severity.SUCCESS in h:message/h:messages
BalusC Sep 2, 2024
55225bb
Implement firing new @BeforePhase and @AfterPhase qualifiers
BalusC Sep 2, 2024
26237e1
Merge branch 'master' into faces_issue_1507_automatically_pass_throug…
BalusC Sep 2, 2024
24563e9
Add f:resetValues tag definition back into vdldoc
BalusC Sep 3, 2024
66fe91e
fix whitespace
BalusC Sep 3, 2024
f57e94e
Register EnumConverter by converter-id as well
BalusC Sep 3, 2024
d34faa4
Remove deprecated composite:extension
BalusC Sep 3, 2024
e1da3a4
Remove ExtensionHandler as well
BalusC Sep 3, 2024
946a0ee
fix compilation error
BalusC Sep 3, 2024
0f83a12
Merge pull request #5492 from eclipse-ee4j/mojarra_issue_5491_impleme…
BalusC Sep 5, 2024
f19f50e
Merge pull request #5496 from eclipse-ee4j/mojarra_issue_5495_registe…
BalusC Sep 5, 2024
ac60c84
Merge pull request #5325 from eclipse-ee4j/faces_issue_1507_automatic…
BalusC Sep 5, 2024
ccc9f37
Merge pull request #5494 from eclipse-ee4j/mojarra_issue_5493_add_bac…
BalusC Sep 5, 2024
cae4e69
Merge pull request #5498 from eclipse-ee4j/mojarra_issue_5497_remove_…
BalusC Sep 5, 2024
c03b04e
Merge remote-tracking branch 'origin/4.0' into 4.1
BalusC Sep 5, 2024
b82ee92
Merge #5461 from 4.1 into 5.0
BalusC Sep 5, 2024
38aff5f
Fix null reference error due to absence of node.parentNode
tnagao7 Sep 6, 2024
2de348b
Merge pull request #5500 from tnagao7/ajax-null-reference
BalusC Sep 6, 2024
43b5459
Fix null reference error due to absence of node.parentNode
tnagao7 Sep 6, 2024
1247819
Merge pull request #5501 from tnagao7/4.1-ajax-null-reference
BalusC Sep 6, 2024
63ee9d2
Merge remote-tracking branch 'origin/4.0' into 4.1
BalusC Sep 7, 2024
a3f5921
Fix parent versions in new test module
BalusC Sep 7, 2024
ce5d863
Merge #5464 and #5488 from 4.1 into 5.0
BalusC Sep 7, 2024
3d066f4
Merge pull request #5490 from eclipse-ee4j/mojarra_issue_5489_support…
BalusC Sep 16, 2024
ea6501e
Fix wrong css classes on modified ui:repeat attributes; historically the
BalusC Sep 16, 2024
bf86e40
Fix wrong css classes on modified ui:repeat attributes; historically the
BalusC Sep 16, 2024
0b5ad51
Merge branch 'master' of git@github.com:eclipse-ee4j/mojarra.git
BalusC Sep 16, 2024
936870e
Move vdldoc and renderkitdoc to Faces project (the maven profile to
BalusC Sep 16, 2024
9bebc1d
Aftercare #5398: remove unused tlddoc related files
BalusC Sep 17, 2024
0dd0c41
Merge remote-tracking branch 'origin/4.0' into 4.1
BalusC Sep 17, 2024
a588136
fix failing build
BalusC Sep 17, 2024
30c9d1f
Merge remote-tracking branch 'origin/4.0' into 4.1
BalusC Sep 19, 2024
b4ef40c
Merge #5507 from 4.0 into 4.1
BalusC Sep 16, 2024
a412fed
Merge branch 'master' of git@github.com:eclipse-ee4j/mojarra.git
BalusC Sep 19, 2024
abf63f0
Merge #5507 from 4.1 into 5.0
BalusC Sep 19, 2024
caa7582
Merge pull request #5505 from eclipse-ee4j/mojarra_issue_5398_move_vd…
BalusC Sep 19, 2024
7dc3260
fix failing 4.1 build due to wrong pom version
BalusC Sep 19, 2024
b1526a0
VariableMapperWrapper: typo + generics + code clarification
pizzi80 Oct 18, 2024
b961e78
Merge #5449 from 4.0 into 4.1
BalusC Oct 19, 2024
9f0db2d
Merge #5449 from 4.1 into 5.0
BalusC Oct 19, 2024
340fa88
Merge #5516 from 4.0 into 4.1
BalusC Oct 19, 2024
89696c0
Merge remote-tracking branch 'origin/4.1'
BalusC Oct 19, 2024
630cd77
Merge branch 'eclipse-ee4j:master' into 4.0_variable_mapper
pizzi80 Oct 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
21 changes: 18 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,29 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
java: [ '11' ]
java: [ '17' ]
os: [ubuntu-latest]
steps:
- name: Checkout Sources
uses: actions/checkout@v1
uses: actions/checkout@v4
with:
submodules: 'true'
- name: Checkout API
uses: actions/checkout@v4
with:
repository: jakartaee/faces
ref: '5.0'
path: './faces'
- name: Setup Java
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Setup Maven Action
uses: s4u/setup-maven-action@v1.12.0
with:
checkout-fetch-depth: 0
java-version: 17
java-distribution: temurin
maven-version: 3.9.6
- name: Build with Maven
run: mvn --no-transfer-progress install -Pstaging
run: mvn --no-transfer-progress install -Pstaging -Papi
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "faces"]
path = faces
url = https://github.com/jakartaee/faces.git
branch = 5.0
80 changes: 49 additions & 31 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,28 @@
[//]: # " SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 "
-->

# Mojarra 4.0
# Mojarra 5.0

Eclipse's implementation of the Jakarta Faces 4.0 specification
Eclipse's implementation of the Jakarta Faces 5.0 specification

For Mojarra / JSF 2.3 please have a look at https://github.com/eclipse-ee4j/mojarra/blob/2.3/README.md.
For Mojarra / JSF 3.0 please have a look at https://github.com/eclipse-ee4j/mojarra/blob/3.0/README.md.
* Mojarra 5.0 - this branch, under development
* [Mojarra 4.1](https://github.com/eclipse-ee4j/mojarra/blob/4.1/README.md) - stable release
* [Mojarra 4.0](https://github.com/eclipse-ee4j/mojarra/blob/4.0/README.md) - stable release
* [Mojarra 3.0](https://github.com/eclipse-ee4j/mojarra/blob/3.0/README.md) - legacy release
* [Mojarra 2.3](https://github.com/eclipse-ee4j/mojarra/blob/2.3/README.md) - legacy release

## Minimum Requirements
For support on Mojarra 2.3 and earlier please contact your vendor for support (RedHat, IBM,
Oracle, Omnifish, Payara, etceteras)

- Java 11
- Jakarta Servlet 6.0
- Jakarta Expression Language 5.0
- CDI 4.0
- Jakarta Standard Tag Library 2.0
- Jakarta Web Socket 2.0 (optional, only when `<f:websocket>` is used)
- Jakarta JSON Processing 2.0 (optional, only when `<f:websocket>` is used)
- Jakarta Validation 3.0 (optional, only when `<f:validateBean>` or `<f:validateWholeBean>` is used)
## Minimum Requirements

CDI is explicitly required because since Jakarta Faces 2.3 the `javax.faces.bean.*` annotations such as `@ManagedBean` are deprecated, and in 4.0 these have been removed. Several implicit Jakarta Expression Language objects are produced via CDI producers, and `<f:websocket>` manages the Jakarta WebSocket sessions and events via CDI.
- Java 17
- Jakarta Servlet 6.1
- Jakarta Expression Language 6.0
- Jakarta CDI 4.1
- Jakarta Web Socket 2.2 (optional, only when `<f:websocket>` is used)
- Jakarta JSON Processing 2.1 (optional, only when `<f:websocket>` is used)
- Jakarta Validation 3.1 (optional, only when `<f:validateBean>` or `<f:validateWholeBean>` is used)


## Installation
Expand All @@ -52,12 +55,11 @@ In case you're manually carrying around JARs:

Add below JARs to `/WEB-INF/lib`:

- [`jakarta.faces.4.0.x.jar`][9]
- [`weld-servlet-shaded-4.0.0.Final.jar`][10]
- [`jstl-2.0.jar`][11]
- [`jakarta.json-api-2.0.jar`][12] (optional, only when `<f:websocket>` is used)
- [`jakarta.json-2.0.jar`][12a] (optional, only when `<f:websocket>` is used)
- [`validation-api-3.0.0.Final.jar`][13] (optional, only when `<f:validateBean|validateWholeBean>` is used)
- [`jakarta.faces.4.1.x.jar`][9]
- [`weld-servlet-shaded-4.1.0.Final.jar`][10]
- [`jakarta.json-api-2.1.0.jar`][12] (optional, only when `<f:websocket>` is used)
- [`jakarta.json-2.1.0.jar`][12a] (optional, only when `<f:websocket>` is used)
- [`jakarta.validation-api-3.1.0.jar`][13] (optional, only when `<f:validateBean|validateWholeBean>` is used)
- [`hibernate-validator-8.0.x.Final.jar`][14] (optional, only when `<f:validateBean|validateWholeBean>` is used)

Substitute `x` with latest version number available.
Expand All @@ -72,7 +74,7 @@ In case you're using Maven, you can find below the necessary coordinates:
<dependency>
<groupId>jakarta.platform</groupId>
<artifactId>jakarta.jakartaee-api</artifactId>
<version>10.0.0</version>
<version>11.0.0</version>
<scope>provided</scope>
</dependency>
```
Expand All @@ -90,17 +92,12 @@ In case of WildFly/JBoss EAP, [you need to manually package `jsf-api.jar` and `j
<dependency>
<groupId>org.jboss.weld.servlet</groupId>
<artifactId>weld-servlet-shaded</artifactId>
<version>4.0.0.Final</version>
</dependency>
<dependency>
<groupId>jakarta.servlet.jsp.jstl</groupId>
<artifactId>jakarta.servlet.jsp.jstl-api</artifactId>
<version>2.0.0</version>
<version>4.1.0.Final</version>
</dependency>
<dependency> <!-- Optional, only when <f:websocket> is used. -->
<groupId>org.glassfish</groupId>
<artifactId>jakarta.json</artifactId>
<version>2.0.0</version>
<version>2.1.0</version>
</dependency>
<dependency> <!-- Optional, only when <f:validateBean> or <f:validateWholeBean> is used. -->
<groupId>org.hibernate.validator</groupId>
Expand Down Expand Up @@ -228,20 +225,35 @@ Finally create a [Facelets][20] file `/hello.xhtml` as below:

Start the server and open it by `http://localhost:8080/contextname/hello.xhtml`.

## Activating CDI in Jakarta Faces 4.0
## Activating CDI in Jakarta Faces 4.1

CDI is activated by default in Jakarta Faces 4.0 and can´t be deactivated.
CDI is activated by default in Jakarta Faces 4.1 and can´t be deactivated.
It´s not required anymore to add `@FacesConfig` to a CDI managed bean to accomplish this.
As of Jakarta Faces 4.0 `@FacesConfig` still removes the need to explicitly add a `FacesServlet` entry to `web.xml`.

## Building

In case you want to checkout this repository and manually build from source yourself (if necessary after editing source code), here are the instructions:

### Jakarta Faces.Next

1. Make sure that you have JDK 17, Ant and Maven installed.
2. Checkout branch [`master`][28].
3. Run the following commands from the root directory of the project:

```bash
# under the root dir of project
mvn clean install
```

4. The binary is now available as `impl/target/jakarta.faces-4.x.x-SNAPSHOT.jar`.



### Jakarta Faces 4.0

1. Make sure that you have JDK 11, Ant and Maven installed.
2. Checkout branch [`master`][28].
2. Checkout branch [`4.0`][31].
3. Run the following commands from the root directory of the project:

```bash
Expand Down Expand Up @@ -287,6 +299,11 @@ In case you want to checkout to edit the source code of Mojarra with full IDE su

### Eclipse

#### Jakarta Faces 4.0

1. Checkout branch [`4.0`][29] using File -> import -> Git
2. Right click the Mojarra project after checkout, choose Configure -> Convert to Maven Project

#### Jakarta Faces 3.0

1. Checkout branch [`3.0`][29] using File -> import -> Git
Expand Down Expand Up @@ -358,3 +375,4 @@ mvn versions:set -DgroupId=* -DartifactId=* -DoldVersion=* -DgenerateBackupPoms=
[28]: https://github.com/eclipse-ee4j/mojarra
[29]: https://github.com/eclipse-ee4j/mojarra/tree/3.0
[30]: https://github.com/eclipse-ee4j/mojarra/tree/2.3
[31]: https://github.com/eclipse-ee4j/mojarra/tree/4.0
39 changes: 39 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Releasing a new Mojarra version

In below example we assume 4.0.3.

1. Check beforehand that this version does NOT exist in [staging](https://jakarta.oss.sonatype.org/content/repositories/staging/org/glassfish/jakarta.faces/) else bump the version
2. Go to [Mojarra CI](https://ci.eclipse.org/mojarra/)
3. [Log in](https://ci.eclipse.org/mojarra/login?from=%2Fmojarra%2F)
4. Open [1_mojarra_build_and_stage](https://ci.eclipse.org/mojarra/job/1_mojarra-build-and-stage/)
5. Click [Build with parameters](https://ci.eclipse.org/mojarra/job/1_mojarra-build-and-stage/build) in menu
- `BRANCH` = `4.0`
- `RELEASE_VERSION` = `4.0.3`
- `JDK` = `JDK11`
- click [Build] button
6. Wait for it to finish successfully
7. Drill down into this build e.g. [build 106](https://ci.eclipse.org/mojarra/job/1_mojarra-build-and-stage/106)
8. Click [Console Output](https://ci.eclipse.org/mojarra/job/1_mojarra-build-and-stage/106/console) in menu
9. Ctrl+F 'orgglassfish', to find release ID, e.g. `Created staging repository with ID "orgglassfish-1273"`, remember this for `STAGING_RELEASE_ID` in a later step
10. Verify that it's present in [staging](https://jakarta.oss.sonatype.org/content/repositories/staging/org/glassfish/jakarta.faces/)
11. Verify that a new [4.0.3](https://github.com/eclipse-ee4j/mojarra/branches/active) branch is created
12. Verify that a new [4.0.3-RELEASE](https://github.com/eclipse-ee4j/mojarra/tags) tag is created
13. Open [2_mojarra-run-tck-against-staged-build_4_0](https://ci.eclipse.org/mojarra/job/2_mojarra-run-tck-against-staged-build_4_0) (there are separate ones for 2.3 and 3.0)
14. Click [Build with parameters](https://ci.eclipse.org/mojarra/job/2_mojarra-run-tck-against-staged-build_4_0/build) in menu
- `IMPL_SOURCE` = `STAGE`
- `IMPL_VERSION` = `4.0.3`
- `IMPL_BRANCH` = `4.0`
- click [Build] button
15. Wait for it to finish successfully
16. Open [3_mojarra-staging-to-release](https://ci.eclipse.org/mojarra/job/3_mojarra-staging-to-release/)
17. Click [Build with parameters](https://ci.eclipse.org/mojarra/job/3_mojarra-staging-to-release/build) in menu
- `STAGING_RELEASE_ID` = `orgglassfish-1273`
- click [Build] button
18. Wait for it to finish successfully
19. Verify that it's present in [Maven Central](https://repo1.maven.org/maven2/org/glassfish/jakarta.faces/) (might take up to a hour)
20. If everything is OK, then merge 4.0.3 branch into 4.0 via a PR
21. Delete the 4.0.3 branch after merge
22. Manage the [milestones](https://github.com/eclipse-ee4j/mojarra/milestones) page
- make sure all issues/PRs are linked to proper milestone
- close the milestones which were just released
- create new milestones for next releases
6 changes: 0 additions & 6 deletions action/faces-config.NavData

This file was deleted.

60 changes: 0 additions & 60 deletions action/pom.xml

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading