Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Code Block
java
java
titleDeactivation of the InvalidValueAwareMessageInterpolator
@ApplicationScoped
@Alternative
public class CustomJsfModuleConfig extends JsfModuleConfig
{
    @Override
    public boolean isInvalidValueAwareMessageInterpolatorEnabled()
    {
        return false;
    }
}

Due to https://issues.jboss.org/browse/WELD-802Image Removed it's required to use @Alternative (+ xml config) instead of @Specializes.

...

Use @Alternative + XML config instead of @Specializes. With some versions of Glassfish v3 @Alternative doesn't work any more, so you have to use @AlternativeImplementation provided by the alternative implementation module of CODI. Or use a version of Weld which contains the fix for WELD-912.