Author: michiel Date: 2010-03-12 12:38:21 +0100 (Fri, 12 Mar 2010) New Revision: 41357
Modified: mmbase/trunk/applications/vpro-wizards/src/main/webapp/WEB-INF/tags/vpro-wizards/related/createrelation.tag Log: indentation only Modified: mmbase/trunk/applications/vpro-wizards/src/main/webapp/WEB-INF/tags/vpro-wizards/related/createrelation.tag =================================================================== --- mmbase/trunk/applications/vpro-wizards/src/main/webapp/WEB-INF/tags/vpro-wizards/related/createrelation.tag 2010-03-12 11:35:47 UTC (rev 41356) +++ mmbase/trunk/applications/vpro-wizards/src/main/webapp/WEB-INF/tags/vpro-wizards/related/createrelation.tag 2010-03-12 11:38:21 UTC (rev 41357) @@ -2,36 +2,38 @@ creates a relation within an existing form. that can be a form:container or a related:add or a related:view tag body --%> -<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> -<%@ taglib prefix="util" tagdir="/WEB-INF/tags/vpro-wizards/util" %> +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" +%><%@ taglib prefix="util" tagdir="/WEB-INF/tags/vpro-wizards/util" +%> -<%@ attribute name="referSource" %> -<%@ attribute name="source" %> -<%@ attribute name="referDestination" %> -<%@ attribute name="destination" %> -<%@ attribute name="role" %> -<%@ attribute name="relationValues" %> -<%@ attribute name="sortfield" description="this is the field in the relation that a sorting value will be inserted in. (like posrel.pos, although for posrel this field is set by default)" %> -<%@ attribute name="sortposition" description="[begin|end] where to insert the new relation in the sorted list of existing relations (between given source and destination). defaults to 'end'" %> +<%@ attribute name="referSource" +%><%@ attribute name="source" +%><%@ attribute name="referDestination" +%><%@ attribute name="destination" +%><%@ attribute name="role" +%><%@ attribute name="relationValues" +%><%@ attribute name="sortfield" description="this is the field in the relation that a sorting value will be inserted in. (like posrel.pos, although for posrel this field is set by default)" +%><%@ attribute name="sortposition" description="[begin|end] where to insert the new relation in the sorted list of existing relations (between given source and destination). defaults to 'end'" +%> <c:if test="${empty relationid}"><c:set var="relationid" scope="request" value="200"/></c:if> <c:set var="relationid" scope="request" value="${relationid+1}"/> <c:if test="${not empty referSource}"> - <input type="hidden" name="actions[createRelation][${relationid}].sourceNodeRef" value="${referSource}" /> + <input type="hidden" name="actions[createRelation][${relationid}].sourceNodeRef" value="${referSource}" /> </c:if> <c:if test="${not empty source}"> - <input type="hidden" name="actions[createRelation][${relationid}].sourceNodeNumber" value="${source}" /> + <input type="hidden" name="actions[createRelation][${relationid}].sourceNodeNumber" value="${source}" /> </c:if> <c:if test="${not empty referDestination}"> - <input type="hidden" name="actions[createRelation][${relationid}].destinationNodeRef" value="${referDestination}" /> + <input type="hidden" name="actions[createRelation][${relationid}].destinationNodeRef" value="${referDestination}" /> </c:if> <c:if test="${not empty destination}"> - <input type="hidden" name="actions[createRelation][${relationid}].destinationNodeNr" value="${destination}" /> + <input type="hidden" name="actions[createRelation][${relationid}].destinationNodeNr" value="${destination}" /> </c:if> <c:if test="${not empty role}"> - <input type="hidden" name="actions[createRelation][${relationid}].role" value="${role}" /> + <input type="hidden" name="actions[createRelation][${relationid}].role" value="${role}" /> </c:if> <c:if test="${not empty constraints}"> - <input type="hidden" name="actions[createRelation][${relationid}].relationValues" value="${relationValues}" /> + <input type="hidden" name="actions[createRelation][${relationid}].relationValues" value="${relationValues}" /> </c:if> _______________________________________________ Cvs mailing list Cvs@lists.mmbase.org http://lists.mmbase.org/mailman/listinfo/cvs