Details
Description
The following logging message appears even when the view is specifically configured not to be an ICEfaces view:
INFO: ICEfaces disabled for view /nonicefaces.xhtml (h:head and h:body tags must be used)
BridgeSetup should not log anything in this case (when the configuration is explicit.)
public void processEvent(SystemEvent event) throws AbortProcessingException {
final FacesContext context = FacesContext.getCurrentInstance();
if (!EnvUtils.isICEfacesView(context)) {
if (log.isLoggable(Level.INFO)) {
log.log(Level.INFO, "ICEfaces disabled for view " + context.getViewRoot().getViewId() +
" (h:head and h:body tags must be used)");
}
return;
}
Activity
Ted Goddard
created issue -
Ted Goddard
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Deryk Sinotte [ deryk.sinotte ] |
Deryk Sinotte
made changes -
Salesforce Case | [] | |
Fix Version/s | 2.0-Beta [ 10231 ] | |
Assignee Priority | P2 |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #21892 | Tue Jul 13 09:34:40 MDT 2010 | deryk.sinotte | |
Files Changed | ||||
MODIFY
/icefaces/scratchpads/glimmer/core/src/main/java/org/icefaces/util/EnvUtils.java
MODIFY /icefaces/scratchpads/glimmer/core/src/main/java/org/icefaces/event/BridgeSetup.java |
Deryk Sinotte
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Affects | [Documentation (User Guide, Ref. Guide, etc.), Compatibility/Configuration] | |
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 |
I've separated the logic that checks:
If ICEfaces is not configured for a view, either globally using the org.icefaces.render.auto (which defaults to true if it's not set explicitly) or using the <ice:config render="true" /> component, then no check is made for the h:head and h:body components and nothing is logged.
If ICEfaces is configured for a view, then a check for h:head and h:body components is done and, if not found, a WARNING level log statement is written.