1 15 package org.apache.tapestry.pageload; 16 17 import org.apache.tapestry.IBinding; 18 import org.apache.tapestry.IComponent; 19 20 27 class QueuedInheritedBinding implements IQueuedInheritedBinding 28 { 29 private IComponent _component; 30 31 private String _containerParameterName; 32 33 private String _parameterName; 34 35 QueuedInheritedBinding(IComponent component, String containerParameterName, String parameterName) 36 { 37 _component = component; 38 _containerParameterName = containerParameterName; 39 _parameterName = parameterName; 40 } 41 42 public void connect() 43 { 44 IBinding binding = _component.getContainer().getBinding(_containerParameterName); 45 46 if (binding == null) 47 return; 48 49 55 _component.setBinding(_parameterName, binding); 56 } 57 } | Popular Tags |