Skip to content

Commit

Permalink
Fix #301: give CombinedResourceHandler chance to mark rendered resources
Browse files Browse the repository at this point in the history
  • Loading branch information
Bauke Scholtz committed Aug 22, 2016
1 parent e33f8f0 commit fb66460
Showing 1 changed file with 1 addition and 6 deletions.
Expand Up @@ -314,11 +314,6 @@ public void processEvent(SystemEvent event) throws AbortProcessingException {
}

FacesContext context = FacesContext.getCurrentInstance();

if (isAjaxRequestWithPartialRendering(context)) {
return;
}

UIViewRoot view = context.getViewRoot();
CombinedResourceBuilder builder = new CombinedResourceBuilder();

Expand Down Expand Up @@ -584,7 +579,7 @@ private String getAttribute(UIComponent component, String name) {
}

private void create(FacesContext context, String rendererType) {
if (!infoBuilder.isEmpty()) {
if (!infoBuilder.isEmpty() && !isAjaxRequestWithPartialRendering(context)) { // #273, #301
if (componentResource == null) {
componentResource = new UIOutput();
context.getViewRoot().addComponentResource(context, componentResource, target);
Expand Down

0 comments on commit fb66460

Please sign in to comment.