01: /*
02: * $Id: HeaderSectionMyLabel2.java 458856 2006-01-27 13:26:30Z jdonnerstag $
03: * $Revision: 458856 $
04: * $Date: 2006-01-27 14:26:30 +0100 (Fri, 27 Jan 2006) $
05: *
06: * ====================================================================
07: * Licensed under the Apache License, Version 2.0 (the "License");
08: * you may not use this file except in compliance with the License.
09: * You may obtain a copy of the License at
10: *
11: * http://www.apache.org/licenses/LICENSE-2.0
12: *
13: * Unless required by applicable law or agreed to in writing, software
14: * distributed under the License is distributed on an "AS IS" BASIS,
15: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16: * See the License for the specific language governing permissions and
17: * limitations under the License.
18: */
19: package wicket.markup.parser.filter;
20:
21: import wicket.markup.html.basic.Label;
22: import wicket.markup.html.internal.HtmlHeaderContainer;
23: import wicket.model.Model;
24:
25: /**
26: * Mock page for testing.
27: *
28: * @author Chris Turner
29: */
30: public class HeaderSectionMyLabel2 extends Label {
31: private static final long serialVersionUID = 1L;
32:
33: /**
34: * Construct.
35: * @param id
36: * @param label
37: */
38: public HeaderSectionMyLabel2(final String id, final String label) {
39: super (id, new Model(label));
40: }
41:
42: /**
43: * @param container
44: */
45: public void renderHead(HtmlHeaderContainer container) {
46: this .getResponse().write("text added by contributor");
47: }
48: }
|