From: <fg...@us...> - 2007-02-13 21:39:25
|
Revision: 254 http://svn.sourceforge.net/openutils/?rev=254&view=rev Author: fgiust Date: 2007-02-13 13:39:25 -0800 (Tue, 13 Feb 2007) Log Message: ----------- cleanup of useless tags + new keytext input type Modified Paths: -------------- trunk/openutils-tags-spring/src/main/resources/META-INF/openutils-tags-spring.tld trunk/openutils-tags-spring/src/main/resources/META-INF/tags/ou/input.tag Removed Paths: ------------- trunk/openutils-tags-spring/src/main/resources/META-INF/tags/ou/docbutton.tag trunk/openutils-tags-spring/src/main/resources/META-INF/tags/ou/docframe.tag trunk/openutils-tags-spring/src/main/resources/META-INF/tags/ou/docprintbutton.tag trunk/openutils-tags-spring/src/main/resources/META-INF/tags/ou/docsvg.tag Modified: trunk/openutils-tags-spring/src/main/resources/META-INF/openutils-tags-spring.tld =================================================================== --- trunk/openutils-tags-spring/src/main/resources/META-INF/openutils-tags-spring.tld 2007-02-13 21:21:37 UTC (rev 253) +++ trunk/openutils-tags-spring/src/main/resources/META-INF/openutils-tags-spring.tld 2007-02-13 21:39:25 UTC (rev 254) @@ -27,30 +27,10 @@ <path>/META-INF/tags/ou/date.tag</path> </tag-file> <tag-file> - <name>daterange</name> - <path>/META-INF/tags/ou/daterange.tag</path> - </tag-file> - <tag-file> <name>debug</name> <path>/META-INF/tags/ou/debug.tag</path> </tag-file> <tag-file> - <name>docbutton</name> - <path>/META-INF/tags/ou/docbutton.tag</path> - </tag-file> - <tag-file> - <name>docframe</name> - <path>/META-INF/tags/ou/docframe.tag</path> - </tag-file> - <tag-file> - <name>docprintbutton</name> - <path>/META-INF/tags/ou/docprintbutton.tag</path> - </tag-file> - <tag-file> - <name>docsvg</name> - <path>/META-INF/tags/ou/docsvg.tag</path> - </tag-file> - <tag-file> <name>errorbox</name> <path>/META-INF/tags/ou/errorbox.tag</path> </tag-file> @@ -67,10 +47,6 @@ <path>/META-INF/tags/ou/messages.tag</path> </tag-file> <tag-file> - <name>na</name> - <path>/META-INF/tags/ou/na.tag</path> - </tag-file> - <tag-file> <name>select</name> <path>/META-INF/tags/ou/select.tag</path> </tag-file> Deleted: trunk/openutils-tags-spring/src/main/resources/META-INF/tags/ou/docbutton.tag =================================================================== --- trunk/openutils-tags-spring/src/main/resources/META-INF/tags/ou/docbutton.tag 2007-02-13 21:21:37 UTC (rev 253) +++ trunk/openutils-tags-spring/src/main/resources/META-INF/tags/ou/docbutton.tag 2007-02-13 21:39:25 UTC (rev 254) @@ -1,24 +0,0 @@ -<jsp:root version="2.0" xmlns:jsp="http://java.sun.com/JSP/Page" - xmlns:spring="http://www.springframework.org/tags" xmlns:c="http://java.sun.com/jsp/jstl/core" - xmlns:fmt="http://java.sun.com/jsp/jstl/fmt" xmlns:su="http://openutils.sourceforge.net/openutils-tags-commonslang" xmlns:elx="http://openutils.sourceforge.net/openutils-tags-elx"> - - - <jsp:directive.attribute name="type" required="true" /> - <jsp:directive.attribute name="href" required="true" /> - <jsp:directive.attribute name="disabled" required="false" type="java.lang.Boolean" /> - - - <c:set var="message"><fmt:message key="btn.${type}" /></c:set> - - <c:choose> - <c:when test="${disabled}"> - <img src="${pageContext.request.contextPath}/docroot/img/btn-${type}_false.gif" alt="${message}" title="${message}"/> - </c:when> - <c:otherwise> - <a href="${href}&amp;page=full" title="${message}" target="_blank"> - <img src="${pageContext.request.contextPath}/docroot/img/btn-${type}.gif" alt="${message}" /> - </a> - </c:otherwise> - </c:choose> - -</jsp:root> Deleted: trunk/openutils-tags-spring/src/main/resources/META-INF/tags/ou/docframe.tag =================================================================== --- trunk/openutils-tags-spring/src/main/resources/META-INF/tags/ou/docframe.tag 2007-02-13 21:21:37 UTC (rev 253) +++ trunk/openutils-tags-spring/src/main/resources/META-INF/tags/ou/docframe.tag 2007-02-13 21:39:25 UTC (rev 254) @@ -1,19 +0,0 @@ -<jsp:root version="2.0" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:spring="http://www.springframework.org/tags" - xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:fmt="http://java.sun.com/jsp/jstl/fmt" - xmlns:su="http://openutils.sourceforge.net/openutils-tags-commonslang" - xmlns:elx="http://openutils.sourceforge.net/openutils-tags-elx"> - <jsp:directive.attribute name="width" required="false" /> - <jsp:directive.attribute name="height" required="false" /> - <jsp:directive.attribute name="doc" required="true" /> - <jsp:directive.attribute name="id" required="false" /> - <c:choose> - <c:when test="${!empty(doc)}"> - <iframe src="${jspContext.request.contextPath}/docs/pdf/${doc}" width="${width}" height="${height}" id="${id}"> - <!-- a --> - </iframe> - </c:when> - <c:otherwise> - <![CDATA[ <!-- doc is empty --> ]]> - </c:otherwise> - </c:choose> -</jsp:root> Deleted: trunk/openutils-tags-spring/src/main/resources/META-INF/tags/ou/docprintbutton.tag =================================================================== --- trunk/openutils-tags-spring/src/main/resources/META-INF/tags/ou/docprintbutton.tag 2007-02-13 21:21:37 UTC (rev 253) +++ trunk/openutils-tags-spring/src/main/resources/META-INF/tags/ou/docprintbutton.tag 2007-02-13 21:39:25 UTC (rev 254) @@ -1,13 +0,0 @@ -<jsp:root version="2.0" xmlns:jsp="http://java.sun.com/JSP/Page" - xmlns:spring="http://www.springframework.org/tags" xmlns:c="http://java.sun.com/jsp/jstl/core" - xmlns:fmt="http://java.sun.com/jsp/jstl/fmt" xmlns:su="http://openutils.sourceforge.net/openutils-tags-commonslang" xmlns:elx="http://openutils.sourceforge.net/openutils-tags-elx"> - - - <jsp:directive.attribute name="href" required="true" /> - - <c:set var="message"><fmt:message key="btn.stampa" /></c:set> - - <a href="${href}&amp;page=full&amp;print=print" title="${message}" target="_blank"> - <img src="${pageContext.request.contextPath}/docroot/img/btn-stampa.gif" alt="${message}" /> - </a> -</jsp:root> Deleted: trunk/openutils-tags-spring/src/main/resources/META-INF/tags/ou/docsvg.tag =================================================================== --- trunk/openutils-tags-spring/src/main/resources/META-INF/tags/ou/docsvg.tag 2007-02-13 21:21:37 UTC (rev 253) +++ trunk/openutils-tags-spring/src/main/resources/META-INF/tags/ou/docsvg.tag 2007-02-13 21:39:25 UTC (rev 254) @@ -1,13 +0,0 @@ -<jsp:root version="2.0" xmlns:jsp="http://java.sun.com/JSP/Page" - xmlns:spring="http://www.springframework.org/tags" xmlns:c="http://java.sun.com/jsp/jstl/core" - xmlns:fmt="http://java.sun.com/jsp/jstl/fmt" xmlns:su="http://openutils.sourceforge.net/openutils-tags-commonslang" xmlns:elx="http://openutils.sourceforge.net/openutils-tags-elx"> - - <jsp:directive.attribute name="modello" required="true" /> - - <object class="svg" data="${jspContext.request.contextPath}/docs/svg/ES_${prodotto.seriemodello.id}.svg" type="image/svg+xml"> - <!-- <embed src="${jspContext.request.contextPath}/docs/svg/ES_${prodotto.seriemodello.id}.svg" type="image/svg+xml" pluginspage="http://www.adobe.com/svg/viewer/install/" /> --> - </object> - - - -</jsp:root> Modified: trunk/openutils-tags-spring/src/main/resources/META-INF/tags/ou/input.tag =================================================================== --- trunk/openutils-tags-spring/src/main/resources/META-INF/tags/ou/input.tag 2007-02-13 21:21:37 UTC (rev 253) +++ trunk/openutils-tags-spring/src/main/resources/META-INF/tags/ou/input.tag 2007-02-13 21:39:25 UTC (rev 254) @@ -29,10 +29,10 @@ <c:if test="${empty(maxlength)}"> <c:set var="maxlength">30</c:set> </c:if> - <c:if test="${type == 'key' || type == 'keyshow'}"> + <c:if test="${type == 'key' || type == 'keyshow' || type == 'keytext'}"> <c:choose> <c:when test="${type == 'keytext' and empty(status.value)}"> - <c:set var="type" value="hidden" /> + <c:set var="donothing" value="${true}" /> </c:when> <c:when test="${type == 'key' and !empty(status.value)}"> <c:set var="type" value="hidden" /> @@ -72,6 +72,7 @@ </c:choose> <!-- stampa campi --> <c:choose> + <c:when test="${donothing}"><!-- don't print anything --></c:when> <c:when test="${!nobind}"> <spring:bind path="${path}"> <c:set var="divclass"> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |