01: /*
02: * $Id: WicketTagComponentResolver.java,v 1.4 2005/01/18 08:04:29 jonathanlocke
03: * Exp $ $Revision: 458916 $ $Date: 2006-02-01 13:32:17 +0100 (Wed, 01 Feb 2006) $
04: *
05: * ==============================================================================
06: * Licensed under the Apache License, Version 2.0 (the "License"); you may not
07: * use this file except in compliance with the License. You may obtain a copy of
08: * the License at
09: *
10: * http://www.apache.org/licenses/LICENSE-2.0
11: *
12: * Unless required by applicable law or agreed to in writing, software
13: * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14: * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15: * License for the specific language governing permissions and limitations under
16: * the License.
17: */
18: package wicket.markup;
19:
20: /**
21: * To be implemented by Components which walks up the component tree until a
22: * Page or Panel and tries to find a component with a matching wicket id if the
23: * component itself does not contain it.
24: * <p>
25: * Note: MarkupContainer.isTransparent() in combination with ParentResolver
26: * tries to resolve the wicket id with the parent only and shall be used to
27: * implement transparent containers.
28: *
29: * @see wicket.markup.resolver.ScopedComponentResolver
30: * @see wicket.MarkupContainer#isTransparentResolver()
31: * @see wicket.markup.resolver.ParentResolver
32: *
33: * @author Christian Essl
34: * @author Juergen Donnerstag
35: */
36: public interface IScopedComponent {
37: /**
38: * @return true, if component shall try its parents to resolve the component
39: * if the component itself does not contain it.
40: */
41: boolean isRenderableInSubContainers();
42: }
|