D2WContext subContext = (D2WContext)valueForKey("subContext"); ERD2WUtilities.resetContextCache(subContext); subContext.setDynamicPage((String)valueForBinding("_dynamicPage"));
    public void resetCaches() {        //log.debug("Resetting caches");        //takeValueForKey(null,"_task"); // this will break in 5.0 :-)        //takeValueForKey(null,"_entityName");        // Finalizing a context is a protected method, hence the utiltiy.        //ERD2WUtilities.finalizeContext((D2WContext)valueForKey("subContext"));        //takeValueForKey(null,"_context");    }