Skip to content
This repository has been archived by the owner on Nov 10, 2022. It is now read-only.

Commit

Permalink
fixed #61
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanrauh committed Jul 27, 2015
1 parent 3460252 commit 85da065
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@

import de.beyondjava.angularFaces.components.puiModelSync.PuiModelSync;
import de.beyondjava.angularFaces.core.tagTransformer.AngularTagDecorator;
import de.beyondjava.angularFaces.core.tagTransformer.ConservativeAngularTagDecorator;

/**
* Converts EL expressions to Angular expressions
Expand All @@ -63,7 +64,7 @@ public void processEvent(SystemEvent event) throws AbortProcessingException {

final FacesContext context = FacesContext.getCurrentInstance();
boolean isProduction = context.isProjectStage(ProjectStage.Production);
if ((!isProduction) && (!AngularTagDecorator.isActive())) {
if ((!isProduction) && (!AngularTagDecorator.isActive()) && (!ConservativeAngularTagDecorator.isActive())) {
FacesContext.getCurrentInstance().addMessage(null, new FacesMessage(FacesMessage.SEVERITY_FATAL,
"Configuration error: ",
"Add javax.faces.FACELETS_DECORATORS=de.beyondjava.angularFaces.core.tagTransformer.AngularTagDecorator to the context init parameters in the web.xml"));
Expand Down

0 comments on commit 85da065

Please sign in to comment.