01: /*
02: * $Id: InlinePanelPage_2.java 460098 2006-04-01 21:57:15Z jdonnerstag $ $Revision:
03: * 4550 $ $Date: 2006-04-01 23:57:15 +0200 (Sat, 01 Apr 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.html.panel;
19:
20: import wicket.markup.html.WebPage;
21: import wicket.markup.html.basic.Label;
22:
23: /**
24: *
25: * @author Juergen Donnerstag
26: */
27: public class InlinePanelPage_2 extends WebPage {
28: private static final long serialVersionUID = 1L;
29:
30: /**
31: * Construct.
32: *
33: */
34: public InlinePanelPage_2() {
35: Fragment panel1 = new Fragment("myPanel1", "frag1");
36: add(panel1);
37:
38: panel1.add(new Label("label1", "my label text"));
39: }
40: }
|