sventon subversion web client - http://www.sventon.org
[show recent changes]
 
  Help
HEAD
Rev: 26014 - http://anonsvn.icesoft.org/repo / icefaces2 / tags / icefaces-core-2.1.0.BETA2 / icefaces / core / src / main / java / org / icefaces / impl / event / BridgeSetup.java
Unified Diff View - BridgeSetup.java
/icefaces2/tags/icefaces-core-2.1.0.BETA2/icefaces/core/src/main/java/org/icefaces/impl/event/BridgeSetup.java @ revision 26013
/icefaces2/tags/icefaces-core-2.1.0.BETA2/icefaces/core/src/main/java/org/icefaces/impl/event/BridgeSetup.java @ revision 26014
@@ -149,11 +149,13 @@             Set<ResourceDependency> addedResDeps =                     new HashSet<ResourceDependency>();             List<String> mandatoryResourceComponents = drk.getMandatoryResourceComponents(); -            String resourceOverride = EnvUtils -                    .getMandatoryResourceOverride(context); +            String resourceConfig = EnvUtils +                    .getMandatoryResourceConfig(context); +            //pad with spaces to allow contains checking +            String resourceConfigPad = " " + resourceConfig + " ";             for (String compClassName : mandatoryResourceComponents) { -                if (null != resourceOverride) { -                    if (!resourceOverride.contains( +                if (!"all".equalsIgnoreCase(resourceConfig)) { +                    if (!resourceConfigPad.contains(                             " " + compClassName + " ")) {                         continue;                     }


feed icon

sventon 2.5.1