<%-- /******************************************************************************* * Copyright (c) 2012-2014 University of Stuttgart. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and the Apache License 2.0 which both accompany this distribution, * and are available at http://www.eclipse.org/legal/epl-v10.html * and http://www.apache.org/licenses/LICENSE-2.0 * * Contributors: * Oliver Kopp - initial API and implementation and/or initial documentation *******************************************************************************/ --%> <%@tag description="Models editing a single constraint" pageEncoding="UTF-8"%> <%@taglib prefix="o" tagdir="/WEB-INF/tags/common/orioneditor"%> <%@taglib prefix="t" tagdir="/WEB-INF/tags"%> <%-- Quick hack to get the representation of an empty constraint TODO: A resource should provide the empty representation (?!) The alternative is not to use the complete XML as the specification only allows the content of the XML wrapper to be modified. If we use that method, this textarea is not required, but the sending of an existing constraint has to be modified to send only lines 2 to n-1, i.e., send without the wrapping lines. This is not possible if the stored constraint is empty, then there are 2 lines only. --%>