/** Injects the implicit objects in the context of the given object. */ @SuppressWarnings("unchecked") public void wireImplicit(Object x) { //Feature #3315689 if (ignoreFromWire(_controller.getClass())) return; for (String fdname : Components.getImplicitNames()) { //we cannot inject event proxy because it is not an Interface if ("event".equals(fdname)) { continue; } Object arg = myGetImplicit(x, fdname); //bug #2945974 //dirty patch if ("param".equals(fdname) && arg != null) { arg = new HashMap((Map) arg); } injectByName(arg, fdname, x instanceof Component && "page".equals(fdname)); } }