/* Copyright (c) 2001 - 2007 TOPP - www.openplans.org. All rights reserved. * This code is licensed under the GPL 2.0 license, available at the root * application directory. */ package org.geoserver.web.demo; import org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow; import org.apache.wicket.markup.html.WebPage; import org.apache.wicket.markup.html.basic.Label; import org.apache.wicket.model.PropertyModel; /** * Shows the text in a <pre> section */ public class PlainCodePage extends WebPage { String code; public PlainCodePage(final ModalWindow container, final ModalWindow responseWindow, String initialXml) { this.code = initialXml; add(new Label("code", new PropertyModel(this, "code"))); } }