Details
Description
ICEfaces is configured through web.xml and potentially other mechanisms. Configuration parameters should be obtained in a consistent manner and configuration problems should be easily diagnosed.
The current Configuration Class is effective, but should be improved:
- repackaged into org.icefaces.application.Configuration
- full attribute names appear in source code in one place:
private static String PUSH_ESTABLISH = "org.icefaces.push.establish";
- typesafe configuration getters
public String getPushEstablish()
- full configuration dump on startup
DEBUG: org.icefaces.push.establish = lazy
Activity
Ted Goddard
created issue -
Ted Goddard
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [] | |
Component/s | Framework [ 10013 ] | |
Fix Version/s | 2.0 [ 10032 ] | |
Assignee | Deryk Sinotte [ deryk.sinotte ] |
Ken Fyten
made changes -
Fix Version/s | 2.0-Alpha1 [ 10213 ] | |
Fix Version/s | 2.0-Beta [ 10032 ] | |
Affects Version/s | 2.0-Alpha1 [ 10213 ] | |
Affects Version/s | 2.0-Beta [ 10032 ] |
Ken Fyten
made changes -
Fix Version/s | 2.0-Alpha2 [ 10214 ] | |
Fix Version/s | 2.0-Alpha1 [ 10213 ] |
Ken Fyten
made changes -
Fix Version/s | 2.0-Beta [ 10032 ] | |
Fix Version/s | 2.0-Alpha2 [ 10214 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #20930 | Thu Mar 11 11:45:25 MST 2010 | ted.goddard | FacesContext based central configuration ( |
Files Changed | ||||
ADD
/icefaces/scratchpads/glimmer/core/src/main/java/org/icefaces/util/EnvConfig.java
|
Ken Fyten
made changes -
Fix Version/s | 2.0-Beta [ 10231 ] | |
Fix Version/s | 2.0-Alpha3 [ 10032 ] |
Ken Fyten
made changes -
Salesforce Case | [] | |
Affects | [Documentation (User Guide, Ref. Guide, etc.), Compatibility/Configuration] | |
Assignee | Deryk Sinotte [ deryk.sinotte ] | Ted Goddard [ ted.goddard ] |
Ken Fyten
made changes -
Salesforce Case | [] | |
Assignee Priority | P2 |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #21858 | Wed Jul 07 14:59:45 MDT 2010 | ted.goddard | single line configuration log on startup ( |
Files Changed | ||||
MODIFY
/icefaces/scratchpads/glimmer/core/src/main/java/org/icefaces/util/EnvConfig.java
|
Ken Fyten
made changes -
Fix Version/s | 2.0-Beta2 [ 10242 ] | |
Fix Version/s | 2.0-Beta1 [ 10231 ] |
Ken Fyten
made changes -
Salesforce Case | [] | |
Assignee | Ted Goddard [ ted.goddard ] | Deryk Sinotte [ deryk.sinotte ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #22381 | Mon Sep 20 15:12:13 MDT 2010 | deryk.sinotte | |
Files Changed | ||||
MODIFY
/icefaces2/trunk/icefaces/compat/core/src/main/java/com/icesoft/faces/application/ExtrasSetup.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #22390 | Tue Sep 21 15:12:33 MDT 2010 | deryk.sinotte | |
Files Changed | ||||
MODIFY
/icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/util/EnvUtils.java
|
Deryk Sinotte
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Fix Version/s | 2.0.0 [ 10230 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee Priority | P2 |
A fairly elegant form of the API could assume a FacesContext in scope:
public String getPushEstablish()
but it is likely that Configuration will need to be accessed during non-JSF contexts, so a reasonable API may be
public String getPushEstablish(Object context)
where acceptable context objects are FacesContext, ServletContext, or PortletContext.
Since new methods must be added for each configuration parameter, it should not be necessary to add both forms of the getter.