-
Notifications
You must be signed in to change notification settings - Fork 54
/
ChangeLog.adoc
2412 lines (1806 loc) · 70 KB
/
ChangeLog.adoc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
:issue_tracker_url: https://github.com/jakartaee/faces/issues/
[appendix]
== Change Log
Note: this refers to historic issues and titles using the term "JSF". This refers to the
pre-Jakarta Faces specification under the JCP.
=== Changes between 4.1 and 4.0
This release contains the following changes:
* Issue ID {issue_tracker_url}1832[1832] +
Unify ActionSource and ActionSource2
* Issue ID {issue_tracker_url}1829[1829] +
Faces 4.1: Deprecate full state saving (FSS)
* Issue ID {issue_tracker_url}1828[1828] +
Remove mentions in javadoc wrt backwards compatibility of facelets.* context params
* Issue ID {issue_tracker_url}1823[1823] +
FacesMessage: implement equals(), hashcode(), toString()
* Issue ID {issue_tracker_url}1821[1821] +
Spec: jakarta.faces.FACELETS_REFRESH_PERIOD default when ProjectStage is Development
* Issue ID {issue_tracker_url}1819[1819] +
Add UUIDConverter
* Issue ID {issue_tracker_url}1811[1811] +
Missing "if" attribute of <f:viewAction>
* Issue ID {issue_tracker_url}1789[1789] +
Make FacesMessage#VALUES / VALUES_MAP generic
* Issue ID {issue_tracker_url}1764[1764] +
Add ExternalContext.setResponseContentLengthLong
* Issue ID {issue_tracker_url}1760[1760] +
id attribute is missing in vdl of h:head and h:body
* Issue ID {issue_tracker_url}1739[1739] +
Require firing events for @Initialized, @BeforeDestroyed, @Destroyed for build-in scopes.
* Issue ID {issue_tracker_url}1712[1712] +
Javadoc for Application.subscribeToEvent methods has a reference to context that is incorrect
* Issue ID {issue_tracker_url}1708[1708] +
Add missing generics to API that were missed in Faces 4.0
* Issue ID {issue_tracker_url}1707[1707] +
Deprecate unused PreDestroyCustomScopeEvent and PostConstructCustomScopeEvent
* Issue ID {issue_tracker_url}1549[1549] +
Deprecate unused composite:extension
* Issue ID {issue_tracker_url}1342[1342] +
Support @Inject of current flow like "@Inject Flow currentFlow"
* Issue ID {issue_tracker_url}1263[1263] +
Add rowStatePreserved property to UIRepeat, exactly the same as UIData
* Issue ID {issue_tracker_url}1864[1864] +
dataTable rowStatePreserved attribute is missing in vdl
* Issue ID {issue_tracker_url}1838[1838] +
Remove references to the Java SecurityManager and associated APIs
This release now requires Java SE 17 or newer (aligned with Jakarta EE 11).
=== Changes between 4.0 and 3.0
This release contains the following changes:
* Issue ID {issue_tracker_url}1581[1581] +
New API to programmatically create Facelets
* Issue ID {issue_tracker_url}1508[1508] +
New automatic extensionless mapping
* Issue ID {issue_tracker_url}1509[1509] +
New annotation @ClientWindowScoped
* Issue ID {issue_tracker_url}1570[1570] +
Support custom cookie attributes such as SameSite in ExternalContext#addResponseCookie()
* Issue ID {issue_tracker_url}1555[1555] +
New attribute <h:inputFile multiple="...">
* Issue ID {issue_tracker_url}1556[1556] +
New attribute <h:inputFile accept="...">
* Issue ID {issue_tracker_url}1557[1557] +
New method FacesContext#getLifecycle()
* Issue ID {issue_tracker_url}1559[1559] +
New tag <f:selectItemGroups>
* Issue ID {issue_tracker_url}1560[1560] +
New attribute <h:inputText type="...">
* Issue ID {issue_tracker_url}1563[1563] +
New tag <f:selectItemGroup>
* Issue ID {issue_tracker_url}1568[1568] +
New method UIViewRoot#getDoctype()
* Issue ID {issue_tracker_url}1573[1573] +
New attribute <f:websocket onerror="...">
* Issue ID {issue_tracker_url}1574[1574] +
New layout="list" for <h:selectManyCheckbox> and <h:selectOneRadio>
* Issue ID {issue_tracker_url}1582[1582] +
New annotation literals for all @Qualifiers
* Issue ID {issue_tracker_url}1558[1558] +
Make UIComponent#subscribeToEvent() more convenient
* Issue ID {issue_tracker_url}1565[1565] +
Skip type attribute from <link> and <script> when doctype is HTML5
* Issue ID {issue_tracker_url}1567[1567] +
Improve <f:ajax> behavior in composite components
This release now requires Java SE 11 or newer (aligned with Jakarta EE 10).
==== Backward Compatibility with Previous Versions
This release contains the following backwards incompatible changes:
* Issue ID {issue_tracker_url}1552[1552] +
Rename "JSF" to "Faces" over all place
* Issue ID {issue_tracker_url}1553[1553] +
Rename "http://xmlns.jcp.org/jsf/*" URL to "jakarta.faces.*" URN
* Issue ID {issue_tracker_url}1546[1546] +
Remove all JSP support
* Issue ID {issue_tracker_url}1547[1547] +
Remove native Managed Beans (@ManagedBean and related)
* Issue ID {issue_tracker_url}1548[1548] +
Remove MethodBinding, ValueBinding and friends
* Issue ID {issue_tracker_url}1571[1571] +
Remove CURRENT_COMPONENT constants from UIComponent class
* Issue ID {issue_tracker_url}1578[1578] +
Remove deprecated methods of StateManager class
* Issue ID {issue_tracker_url}1583[1583] +
Remove entire ResourceResolver class
=== Changes between 3.0 and 2.3
Namespace has been changed from `javax.faces` to `jakarta.faces`.
==== Backward Compatibility with Previous Versions
Jakarta Faces 3.0 has a breaking change due to the namespace change from `javax.faces` to `jakarta.faces`.
=== Changes between 2.2 and 2.3
This section gives the reader a survey of the changes between version 2.3
of the specification and version 2.2, using the categories from the issue
tracker at {issue_tracker_url}.
==== Big Ticket Features
* WebSocket Integration +
Issue ID {issue_tracker_url}1396[1396] +
See the VDLDocs for <f:websocket>.
* Multi-field Validation +
Issue ID {issue_tracker_url}1[1] +
See the VDLDocs for <f:validateWholeBean>.
* Java Time Support +
Issue ID {issue_tracker_url}1370[1370] +
See the VDLDocs for <f:convertDateTime>.
// #a3070 Section 5.9.2 “EL Resolution”
* Use CDI for evaluation of JSF specific EL implicit Objects +
Issue ID
{issue_tracker_url}1311[1311],
{issue_tracker_url}1322[1322],
{issue_tracker_url}1325[1325],
{issue_tracker_url}1327[1327],
{issue_tracker_url}1328[1328],
{issue_tracker_url}1334[1334],
{issue_tracker_url}1332[1332],
{issue_tracker_url}1331[1331],
{issue_tracker_url}1384[1384],
{issue_tracker_url}1385[1385],
{issue_tracker_url}1383[1383],
{issue_tracker_url}1386[1386] - {issue_tracker_url}1394[1394] +
See <<ExpressionLanguageFacility.adoc#a3070>>
* Issue ID {issue_tracker_url}1417[1417] +
Deprecate javax.faces.bean.
// #a3054 Section 5.9.1 “JSF Objects Valid for @Inject Injection”
* Support @Inject on JSF specific artifacts +
Issue ID
{issue_tracker_url}1316[1316],
{issue_tracker_url}527[527],
{issue_tracker_url}1309[1309],
{issue_tracker_url}1323[1323],
{issue_tracker_url}1283[1283],
{issue_tracker_url}1353[1353],
{issue_tracker_url}1335[1335],
{issue_tracker_url}1333[1333],
{issue_tracker_url}1349[1349],
{issue_tracker_url}1351[1351],
{issue_tracker_url}1350[1350],
{issue_tracker_url}1345[1345] +
See <<ExpressionLanguageFacility.adoc#a3054>>
* Issue ID {issue_tracker_url}1364[1364] +
UIData and <ui:repeat> supports Map and Iterable
* Issue ID {issue_tracker_url}1102[1102] +
ui:repeat condition check. +
* Issue ID {issue_tracker_url}1418[1418] +
CDI Replacement for @ManagedProperty. +
See javadocs for javax.faces.annotation.ManagedProperty.
* Issue ID {issue_tracker_url}1103[1103], {issue_tracker_url}1364[1364] +
See the Javadoc for javax.faces.component.UIData,
and javax.faces.model.IterableDataModel.
* DataModel implementations can be registered +
Issue ID {issue_tracker_url}1078[1078] +
See the javadoc for annotation javax.faces.model.FacesDataModel.
* Issue ID {issue_tracker_url}1412[1412] +
See the javadoc for annotation
javax.faces.partialViewContext.getEvalScripts().
* Issue ID {issue_tracker_url}613[613] +
Ajax Method Invocation. See vdldoc for <h:commandScript>.
* Issue ID {issue_tracker_url}1238[1238] +
Enhanced component search facility.
See the javadoc for package javax.faces.component.search.
==== Other Features, by Functional Area
===== Components/Renderers
.Larger Changes
* Issue ID {issue_tracker_url}217[217] +
styleClass attribute added to h:column
* Issue ID {issue_tracker_url}329[329] +
Add “group” attribute to <h:selectOneRadio>.
* Issue ID {issue_tracker_url}1423[1423], {issue_tracker_url}1404[1404] +
ResourceHandler.markResourceRendered(), and isResourceRendered(),
UIViewRoot.getComponentResources() enable the discovery of
dynamically added resources, even within Ajax requests.
* Issue ID {issue_tracker_url}1404[1404] +
Add API to check if a resource has already been rendered.
See Javadoc for
javax.faces.application.ResourceHandler.markResourceRendered()
and isResourceRendered().
// #a457 Section 2.2.6 “Render Response”
* Issue ID {issue_tracker_url}1436[1436] +
In <<RequestProcessingLifecycle.adoc#a457>>,
specify how Server Push is utilized.
.Smaller Changes
* Issue ID {issue_tracker_url}1422[1422] +
UISelectMany detects converter based on first item.
* Issue ID {issue_tracker_url}1007[1007] +
Explicit support for dynamic component manipulation
* Issue ID {issue_tracker_url}819[819] +
Add “disabled” attribute for h:button
* Issue ID {issue_tracker_url}1300[1300] +
UIViewRoot.getViewMap() and publishEvent().
* Issue ID {issue_tracker_url}1229[1229] +
Document UIData.setRowStatePreserved() in VDLDoc and RenderKit Doc.
* Issue ID {issue_tracker_url}1135[1135] +
Add PostRenderViewEvent.
* Issue ID {issue_tracker_url}1258[1258] +
Clarify text escaping for <h:outputText> or equivalent EL expressions.
* Issue ID {issue_tracker_url}807[807] +
Pass FacesContext to system event listeners.
* Issue ID {issue_tracker_url}1113[1113] +
Remove onselect attribute from SELECT components.
* Issue ID {issue_tracker_url}1433[1433] +
Add a context-param to enable forcing validation to happen even when
there is no parameter corresponding to the current component.
===== Lifecycle
.Larger Changes
* Issue ID {issue_tracker_url}790[790] +
javax.faces.ViewState and ajax with cross form submit.
.Smaller Changes
* Issue ID {issue_tracker_url}473[473] +
FacesEvent.getFacesContext().
* Issue ID {issue_tracker_url}1241[1241] +
faces-config supports client-window-factory.
* Issue ID {issue_tracker_url}1346[1346] +
Simplify decoration of FaceletCacheFactory.
* Issue ID {issue_tracker_url}1361[1361] +
Correct oversight regarding re-entrancy of flow scoped beans.
* Issue ID {issue_tracker_url}821[821] +
Implement ExternalContext.getRealPath() on startup and shutdown.
* Issue ID {issue_tracker_url}1401[1401] +
Explicitly prohibit using NavigationHandler from within ExceptionHandler invoked during RENDER RESPONSE.
* Issue ID {issue_tracker_url}1306[1306] +
@FlowScoped should be @NormalScope(passivating=true).
* Issue ID {issue_tracker_url}1382[1382] +
Generify return from ExternalContext.getInitParameterMap().
* Issue ID {issue_tracker_url}1329[1329] +
@NotNull and <f:viewParam>.
* Issue ID {issue_tracker_url}1403[1403] +
Allow entry into flow via <f:viewAction>.
* Issue ID {issue_tracker_url}1216[1216] +
Improve consistency in handling PhaseListener instances
registered on UIViewRoot components.
* Issue ID {issue_tracker_url}1435[1435] +
Add ResourceHandler.getViewResources() method.
===== Platform Integration
* Issue ID {issue_tracker_url}1379[1379] +
ExternalContext.getResponseCharacterEncoding() and Portlet 3.0.
===== Facelets/VDL
.Larger Changes
* Issue ID {issue_tracker_url}1424[1424] +
Add tag <f:importConstants>, see VDLDoc for that tag.
.Smaller Changes
* Issue ID {issue_tracker_url}1362[1362] +
Revisit some cardinality rules regarding <tag> and <component> elements.
* Issue ID {issue_tracker_url}936[936] +
Set FACELETS_REFRESH_PERIOD to -1 if ProjectStage is Production.
===== Spec Clarifications
* Issue ID {issue_tracker_url}1254[1254] +
Loosen language regarding the contracts attribute on <f:view>.
* Issue ID {issue_tracker_url}1338[1338] +
Clarify pseudocode for resource libraries.
* Issue ID {issue_tracker_url}1279[1279] +
Specify UIInput.isEmpty()
* Issue ID {issue_tracker_url}1242[1242] +
Remove mentione of OpenAjax hub.
* Issue ID {issue_tracker_url}1215[1215] +
Additional warning on DelegatingMetaTagHandler.getTagHandlerDelegate.
* Issue ID {issue_tracker_url}1131[1131] +
“name” attribute not required.
* Issue ID {issue_tracker_url}1270[1270] +
TagDecorator spec namespace modifications.
* Issue ID {issue_tracker_url}1401[1401] +
Advisory text for ExceptionHandler.
* Issue ID {issue_tracker_url}1402[1402] +
Explicitly declare that flow eagerness not supported.
* Issue ID {issue_tracker_url}677[677] +
Document automatic UIPanel behavior for f:facet.
* Issue ID {issue_tracker_url}1095[1095] +
Description for “rendered” attribute for repeat and fragment.
* Issue ID {issue_tracker_url}1066[1066] +
Application.getNavigationHandler() and application element.
* Issue ID {issue_tracker_url}803[803] +
VisitHint.EXECUTE_LIFECYCLE clarifications.
* Issue ID {issue_tracker_url}1217[1217] +
EnumConverter.getAsString() clarifications.
* Issue ID {issue_tracker_url}1356[1356] +
UIInput.processValidators() clarifications.
* Issue ID {issue_tracker_url}1424[1424] +
Public constants for source, behavior, and partial.event.
See the Javadocs for
javax.faces.component.behavior.ClientBehaviorContext, and javax.faces.conetxt.PartialViewContext.
* Issue ID {issue_tracker_url}1428[1428] +
API constants for jsf.js and javax.faces in JavaScript.
// #a3913 Section 7.6.2.1 “ViewHandler Methods that Derive Information From the Incoming Request”
// #a3955 Section 7.6.2.3 “ViewHandler Methods Relating to Navigation”
* Issue ID {issue_tracker_url}1260[1260] +
Support for exact mapping of FacesServlet.
See <<ApplicationIntegration.adoc#a3913>>
and <<ApplicationIntegration.adoc#a3955>>.
// #a2541 TABLE 5-3 “JSF Artifacts Eligible for Injection”
Issue ID {issue_tracker_url}1250[1250] +
Fix entries in table
<<ExpressionLanguageFacility.adoc#a2541>>.
===== Resources
.Larger Changes
.Smaller Changes
===== Expression Language
===== Configuration and Bootstrapping
===== Miscellaneous
// #a554 Section 2.5.2.1 “Determining the active Locale”
* Issue ID {issue_tracker_url}1225[1225] +
Clarify requirements to support BCP-47 regarding localization.
See <<RequestProcessingLifecycle.adoc#a554>>
* Issue ID {issue_tracker_url}1429[1429] +
Add constructor to make wrapping easier.
* Issue ID {issue_tracker_url}1430[1430] +
Leverage Java SE 8 repeatable annotations where appropriate.
==== Backward Compatibility with Previous Versions
// #a6088 Section 11.1.3 “Application Configuration Parameters”
JSF 2.3 is fully backward compatible with previous releases of JSF,
unless any of the following context-parameter values are specified.
See <<UsingFacesInWebApplications.adoc#a6088>> for details.
[none]
* javax.faces.ALWAYS_PERFORM_VALIDATION_WHEN_REQUIRED_IS_TRUE
* javax.faces.DISABLE_FACESSERVLET_TO_XHTML
* javax.faces.VIEWROOT_PHASE_LISTENER_QUEUES_EXCEPTIONS.
JSF 2.3 is fully backward compatible with previous releases of JSF
unless a CDI managed bean is included in the application
with the annotation @javax.faces.annotation.FacesConfig.
See the javadocs for that annotation for details.
==== Breakages in Backward Compatibility
=== Changes between 2.1 and 2.2
This section gives the reader a survey of the
changes between this version of the specification and the previous
version, using the categories from the issue tracker at <
{issue_tracker_url} >.
==== Big Ticket Features
* HTML5 Friendly Markup +
Issue ID {issue_tracker_url}1090[1090] +
Start with
<<FaceletsAndWebApplications.adoc#a5581,HTML5 Friendly Markup>>
* Resource Library Contracts +
Issue ID {issue_tracker_url}1142[1142] +
Start with <<FaceletsAndWebApplications.adoc#a5526,
Resource Library Contracts Background>>.
* Faces Flows +
Issue ID {issue_tracker_url}730[730] +
Start with <<ApplicationIntegration.adoc#a3840,
FlowHandler>>.
* Stateless Views +
Issue ID {issue_tracker_url}1055[1055] +
Start with <<ApplicationIntegration.adoc#a4126,
Stateless Views>>.
==== Other Features, by Functional Area
===== Components/Renderers
.Larger Changes
* Issue ID {issue_tracker_url}479[479] +
UIData supports the Collection Interface rather than List.
* Issue ID {issue_tracker_url}1134[1134] +
Add the "role" pass through attribute.
.Smaller Changes
* Issue ID {issue_tracker_url}1080[1080] +
Warn about some important corner cases when
_UIComponent.findComponent()_ may not provide the expected results.
* Issue ID {issue_tracker_url}1068[1068] +
New section describing what happens with
respect to partial processing during render response. See
<<RequestProcessingLifecycle.adoc#a480,Render Response Partial Processing>>.
* Issue ID {issue_tracker_url}1067[1067] +
Spec clarifications. See the VDLDoc for __cc:insertChildren__,
_cc:insertFacet_
* Issue ID {issue_tracker_url}1061[1061] +
Clarify that both
_Application.publishEvent()_ and the manual traversal based delivery are
required for publishing the __PostRestoreStateEvent__.
* Issue ID {issue_tracker_url}1030[1030] +
Clarify docs for h:message h:messages
* Issue ID {issue_tracker_url}1023[1023] +
Modify JavaDoc to relax requirements for PostAddToViewEvent publishing
* Issue ID {issue_tracker_url}1019[1019] +
Modify spec for ResponseWriter.writeURIAttribute() to explicitly require
adherence to the W3C URI spec
* Issue ID {issue_tracker_url}997[997] +
javax.faces.component.ComponentSystemEvent: Override
isAppropriateListener so that it first asks the listener, "are you a
ComponentSystemEventListener", then, if not, asks
super.isAppropriateListener()
* Issue ID {issue_tracker_url}984[984] +
Component Context Manager, see
__javax.faces.component.visit.ComponentModificationManager__.
* Issue ID {issue_tracker_url}943[943] +
See _javax.faces.view.ViewDeclarationLanguageWrapper_
* Issue ID {issue_tracker_url}784[784] +
Deprecate the CURRENT_COMPONENT and CURRENT_COMPOSITE_COMPONENT
attributes
* Issue ID {issue_tracker_url}599[599] +
Make it possible to programmatically create components in the same way
as they are created by Facelets. See
_javax.faces.application.Application.createComponent(FacesContext,
String taglibUri, String tagName, Map attrs)_
* Issue ID {issue_tracker_url}703[703] +
Make "value" optional for @FacesComponent.
* Issue ID {issue_tracker_url}585[585] +
outputText and inputText do not render children by default
* Issue ID {issue_tracker_url}550[550] +
OutputStylesheet "media" attribute
* Issue ID {issue_tracker_url}1125[1125] +
_javax.faces.application.Application_ event subscription clarifications.
===== Lifecycle
.Larger Changes
* Issue ID {issue_tracker_url}949[949], {issue_tracker_url}947[947] +
Give JSF the ability to correctly handle browsing context (tab, browser
window, pop-up, etc). See __javax.faces.lifecycle.ClientWindow__.
* Issue ID {issue_tracker_url}758[758] and {issue_tracker_url}1042[1042]
+
A jsf-api/src/main/java/javax/faces/component/UIViewAction.java
+
--
[none]
* The heart of this changebundle, this class
came over from the JBoss Seam Faces Module, but I've rewritten most of
the javadoc.
--
+
M jsf-api/src/main/java/javax/faces/event/PhaseId.java
+
--
[none]
* new methods
* public String getName()
* public static PhaseId phaseIdValueOf(String
phase)
--
+
Change <<ApplicationIntegration.adoc#a3571,
Default NavigationHandler Algorithm>> to account for UIViewAction
* Issue ID {issue_tracker_url}1062[1062] and {issue_tracker_url}802[802] +
File Upload
* Issue ID {issue_tracker_url}766[766] +
Events from the flash
* Issue ID {issue_tracker_url}1050[1050] +
Add support for delay value in options for Ajax requests
.Smaller Changes
* Issue ID {issue_tracker_url}1129[1129] +
In validate(), clarify that setSubmittedValue() null must be called if
validation succeeds.
* Issue ID {issue_tracker_url}1071[1071]
Add FlashFactory. See
<<UsingFacesInWebApplications.adoc#a6336,Delegating Implementation Support>>.
* Issue ID {issue_tracker_url}1065[1065] +
When calculating the locale for the
resource library prefix, if there is a UIViewRoot, use its locale first,
otherwise, just use the Applications’s ViewHandler’s calculateLocale()
method. See <<RequestProcessingLifecycle.adoc#a836,Libraries of Localized and
Versioned Resources>>
* Issue ID {issue_tracker_url}1039[1039] +
In ApplicationWrapper, mark things as deprecated
* Issue ID {issue_tracker_url}1028[1028] +
Deprecate StateManager, point to StateManagementStrategy. In
StateManagementStrategy, require the use of the visit API to perform the
saving.
* Issue ID {issue_tracker_url}993[993] +
Wrapper for ActionListener
* Tweak circumstances for skipping intervening
lifecycle phases in the case of view metadata
Issue ID {issue_tracker_url}762[762]
+
Section 2.2.1. Now has this text.
+
--
[none]
* Otherwise, call getViewMetadata() on the
ViewDeclarationLanguage instance. If the result is non-null, call
createMetadataView() on the ViewMetadata instance. Call
ViewMetadata.getViewParameters(). If the result is a non-empty
Collection, do not call facesContext.renderResponse(). If the result is
an empty collection, try to obtain the metadata facet of the UIViewRoot
by asking the UIViewRoot for the facet named
UIViewRoot.METADATA_FACET_NAME. This facet must exist. If the facet has
no children, call facesContext.renderResponse(). Otherwise, none of the
previous steps have yielded the discovery any of metadata, so call
facesContext.renderResponse().
--
* Issue ID {issue_tracker_url}566[566] +
UIOutput.getValue() value returns.
* Issue ID {issue_tracker_url}220[220] +
In web-partialresponse_2_2.xsd, require that
the <partial-response> element has an “id” attribute whose value is the
return from __UIViewRoot.getContainerClientId()__.
===== Platform Integration
* Issue ID {issue_tracker_url}763[763] +
Change
Managed Bean Annotations to account for new injectability requirements.
* Issue ID {issue_tracker_url}976[976] +
In Javadoc for “Faces Managed Bean Annotation Specification For
Containers Conforming to Servlet 2.5 and Beyond”, indicate that
_javax.faces.bean_ will be deprecated in the next version.
* Issue ID {issue_tracker_url}1087[1087] +
Introduce CDI based @ViewScoped annotation.
===== Facelets/VDL
.Larger Changes
* Issue ID {issue_tracker_url}1001[1001] +
Allow cc and non-cc components in one taglib
+
A jsf-api/doc/web-facelettaglibrary_2_2.xsd
+
First change to the facelet taglib schema in
2.2: introduce the ability to declare a resource which will be the
composite component for a tag. Now, before you get all excited about
what conventions we can use to make this easier, let me stop you right
there. Here is a summary of the ease of use story regarding taglib
files.
+
--
[none]
* The 80/20 rule says we should make taglib
files optional most of the time. Here are the 80% cases.
* Employs the cc naming convention
\http://java.sun.com/jsf/composite/<libraryName>
* The user employs a java component has a
@FacesComponent on it that declares the necessary metadata.
Issue ID {issue_tracker_url}594[594]
--
+
Here are some of the cases where you must
have a taglib file, the 20% cases.
+
--
[none]
* If you want to employ a cc with a namespace
other than \http://java.sun.com/jsf/composite/<libraryName> you need to
have a taglib file that declares <composite-library-name>. Currently you
must not detlare any <tag> elements in such a taglib file. All the tags
in such a library must come from the same resource library.
* If the user is not employs a java component
but is not using @FacesComponent.
--
+
This patch introduces the following syntax.
+
[source,xml]
----
<?xml version="1.0" encoding="UTF-8"?>
<facelet-taglib xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-facelettaglibary_2_2.xsd"
version="2.2">
<namespace>test</namespace>
<tag>
<tag-name>layout</tag-name>
<resource-id>myCC/whatever.xhtml</resource-id>
</tag>
</facelet-taglib>
----
+
Where _<resource-id>_ is a valid resource
identifier as specified in section 2.6.1.3.
* Issue ID {issue_tracker_url}548[548] +
Require additional check to handle the case
where, in one resource library, there are both localized and
non-localized resources. See <<RequestProcessingLifecycle.adoc#a836,Libraries
of Localized and Versioned Resources>>.
.Smaller Changes
* Issue ID {issue_tracker_url}1038[1038] +
Declare an annotation corresponding to the
_javax.faces.FACELETS_RESOURCE_RESOLVER_ application configuration
parameter. See <<UsingFacesInWebApplications.adoc#a6598,Requirements for scanning
of classes for annotations>> and <<UsingFacesInWebApplications.adoc#a6088,
Application Configuration Parameters>>.
* Issue ID {issue_tracker_url}1082[1082] +
Account for DOCTYPE discrepancy between
server side representation of Facelet VDL files, which are proper XHTML,
and processed files which are sent to the client, which now, by default,
are HTML5 HTML syntax files. See <<FacesMetadata.adoc#a7061,The
facelets-processing element>>.
* Fix incorrect VDLDoc
Issue ID {issue_tracker_url}967[967]
f:selectItems itemValue description incorrect.
* Issue ID {issue_tracker_url}922[922] +
Remove maxlength from f:viewParam
* Issue ID {issue_tracker_url}998[998] +
Document that ui:fragment should not be bound to a bean with wider than
request scope, document that the type of the property must extend from
UIComponent.
* Issue ID {issue_tracker_url}999[999] +
Changes to "template" attribute requiredness for ui:decorate and
ui:composition
* Issue ID {issue_tracker_url}901[901] +
Deprecate “targets” concept.
* Issue ID {issue_tracker_url}1088[1088] +
add short-name to schema.
* Issue ID {issue_tracker_url}746[746] +
Missing _method-signature_ element in taglib xsd.
===== Spec Clarifications
* Issue ID {issue_tracker_url}1136[1136] +
In __ExternalContext.dispatch()__, clarify what is to be done if
_getRequestDispatcher()_ returns __null__.
* Issue ID {issue_tracker_url}1132[1132] +
Replace literal strings with symbolic constants where possible.
* Issue ID {issue_tracker_url}1127[1127] +
State Saving Serializability concerns.
* Issue ID {issue_tracker_url}1114[1114] +
_javax.faces.view.facelets.Facelet.apply()_ spec version reference
error.
* Issue ID {issue_tracker_url}1100[1100], {issue_tracker_url}1097[1097] +
HTML5 id attribute sensitivity
* Issue ID {issue_tracker_url}1064[1064] +
In <<JSFMetadata.adoc#a7061,The
facelets-processing element>>, clarify that in XML and JSPX modes, only
the CDATA section start and end tags, not the entire CDATA section and
contents, should be consumed.
* Issue ID {issue_tracker_url}1063[1063] +
_javax.faces.component.UIViewParameter.getSubmittedValue()_ return
value.
* Issue ID {issue_tracker_url}1058[1058] +
ui:repeat tag size attribute
* Issue ID {issue_tracker_url}1036[1036] +
In <<UserInterfaceComponentModel.adoc#a911,
ValueExpression properties>>, clarify which attributes are expression
enabled,
* Issue ID {issue_tracker_url}1035[1035] +
Change section
<<Per-RequestStateInformation.adoc#a3300,FacesMessage>> to clarify the meaning of
having _FacesMessage_ instances on the _FacesContext._
* Issue ID {issue_tracker_url}1026[1026] +
f:ajax event attribute is String (not VE)
* Issue ID {issue_tracker_url}1014[1014]
+
12.1.3
+
--
[none]
* The specification for the context-param that
declares the list of TagDecorator implementations to the runtime should
have always been javax.faces.FACELETS_DECORATORS. Prior to this
revision, the name of this context param was incorrectly specified as
javax.faces.DECORATORS. The reference implementation has always used the
correct name, however.
--
* Issue ID {issue_tracker_url}1010[1010] +
Check existing usages of the state saving method parameter to ensure
case insensitivity.
* Issue ID {issue_tracker_url}1004[1004]
+
M usingFacesInWebapps.fm
+
--
[none]
* 12.1.3 Set default for
javax.faces.FACELETS_BUFFER_SIZE to be 1024.
--
* Issue ID {issue_tracker_url}998[998] +
Additional clarification about binding attribute in VDLDocs
* Issue ID {issue_tracker_url}915[915], {issue_tracker_url}1015[1015] +
Non-normative text about http methods and prefix mapping
* Issue ID {issue_tracker_url}2740[2740] +
In <<UserInterfaceComponentModel.adoc#a923,Component Bindings>>, clarify a corner
case regarding bean scope and component binding.
===== Resources
.Larger Changes
* Issue ID {issue_tracker_url}809[809] +
This commit introduces a cleaner contract for allowing views to be
loaded from the Filesystem (including inside of JAR files). All VDL
resources must be loaded using ResourceHandler.createViewResource().
.Smaller Changes
* Issue ID {issue_tracker_url}996[996] +
Enable configuring the web app resources
directory. See <<UsingFacesInWebApplications.adoc#a6088,Application Configuration
Parameters>>.
* Issue ID {issue_tracker_url}719[719] +
Method to map a viewId to a resourcePath
* Issue ID {issue_tracker_url}1130[1130] +
Modify <<ApplicationIntegration.adoc#a4135,State Saving Alternatives and
Implications>> to clarify there is no requirement to serialize server
state by default when state saving method is server. Introduce a context
parameter to this effect in <<UsingFacesInWebApplications.adoc#a6088,Application
Configuration Parameters>>
===== Expression Language
* Issue ID {issue_tracker_url}1092[1092]
+
Remove text from
MethodExpressionValueChangeListener and MethodExpressionActionListener
regarding wrapping any exception thrown by the invoked method being
wrapped in an AbortProcessingException. Such a requirement is incorrect
and should not have been introduced.
+
In section <<Per-RequestStateInformation.adoc#a3253,
ExceptionHandler>>, add __AbortProcessingException__, to the list of
exceptions that do not get to the __ExceptionHandler__.
* Issue ID {issue_tracker_url}1043[1043] +
When publishing a ComponentSystemEvent, ensure the EL current component
is pushed correctly
* Issue ID {issue_tracker_url}1164[1164] +
If running in a container that supports EL 3.0, add the necessary
ELResolvers. See <<ExpressionLanguageFacility.adoc#a2966,Stream, StaticField,
Map, List, Array, and Bean ELResolvers>>.
===== Configuration and Bootstrapping
* Issue ID {issue_tracker_url}533[533] +
Modify <<UsingFacesInWebApplications.adoc#a6201,
Application Startup Behavior>> to account for requirement to call new API
when starting up.
===== Miscellaneous
* Issue ID {issue_tracker_url}1169[1169]
+
New XML Namespace for XSD files introduced in
JSF 2.2, and also for facelet tag libraries.
+
The following XSD files are new for JSF 2.2,
and each will be in the XML namespace
__http://xmlns.jcp.org/xml/ns/javaee__.
+
--
[none]
* _web-facelettaglibrary_2_2.xsd_
* _web-facesconfig_2_2.xsd_
* _web-partialresponse_2_2.xsd_
--
+
Facelet Tag Libraries will now respond to the
following URIs
+
--
[width="100%",cols="24%,38%,38%",options="header",]
|===