/* 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.wicket; import org.apache.wicket.Component; import org.apache.wicket.model.StringResourceModel; /** * A resource model that eases up the setup of a {@link StringResourceModel}. Mostly syntactic * sugar, remove once Wicket {@link StringResourceModel} learns the value of compact, usable API */ @SuppressWarnings("serial") public class ParamResourceModel extends org.apache.wicket.model.StringResourceModel { public ParamResourceModel(String resourceKey, Component component, Object... resources) { super(resourceKey, component, null, resources); } }