Details
-
Type: Improvement
-
Status: Closed
-
Priority: Minor
-
Resolution: Won't Fix
-
Affects Version/s: 3.0.1
-
Fix Version/s: 3.1.0.BETA2, 3.1
-
Component/s: None
-
Labels:None
-
Environment:IF 3.1
-
Affects:Documentation (User Guide, Ref. Guide, etc.)
Description
ace:list should be able to accept Facelet selectItem definitions in addition to programatic definitions from the bean.
Activity
Nils Lundquist
created issue -
Nils Lundquist
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Nils Lundquist [ nils.lundquist ] |
Nils Lundquist
made changes -
Salesforce Case | [] | |
Priority | Major [ 3 ] | Minor [ 4 ] |
Ken Fyten
made changes -
Salesforce Case | [] | |
Fix Version/s | 3.1.0.BETA2 [ 10336 ] | |
Fix Version/s | 3.1 [ 10312 ] | |
Affects | [Documentation (User Guide, Ref. Guide, etc.)] |
Nils Lundquist
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Won't Fix [ 2 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Though it seems if we accept List<javax.faces.model.SelectItem> as a model, we should accept child f:selectItems as a model, upon deeper inspection, the component tree is a very ill suited place to keep the model for the list.
f:selectItem isn't mutable, so these would only be worthwhile in lists where you never want to reorder or migrate your items. Not worth persuing.
f:selectItems may be mutable, despite not being indented for that use. But then f:selectItems is essentially acting as extra markup to define what you could've defined as part of the value property of the list itself. Redundant.