01: /*
02: * $Id: WicketTagComponentResolver.java,v 1.4 2005/01/18 08:04:29 jonathanlocke
03: * Exp $ $Revision: 458376 $ $Date: 2005-12-27 14:37:33 +0100 (Tue, 27 Dec 2005) $
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.html;
19:
20: import wicket.markup.IScopedComponent;
21: import wicket.markup.html.link.Link;
22: import wicket.model.IModel;
23:
24: /**
25: *
26: * @author Juergen Donnerstag
27: */
28: public abstract class ScopedLink extends Link implements
29: IScopedComponent {
30: private static final long serialVersionUID = 1L;
31:
32: /**
33: * @param id
34: * @param object
35: */
36: public ScopedLink(String id, IModel object) {
37: super (id, object);
38: }
39:
40: /**
41: * @param id
42: */
43: public ScopedLink(String id) {
44: super (id);
45: }
46:
47: /**
48: *
49: * @see IScopedComponent#isRenderableInSubContainers()
50: */
51: public boolean isRenderableInSubContainers() {
52: return true;
53: }
54: }
|