From: <fg...@us...> - 2007-03-05 11:27:48
|
Revision: 314 http://svn.sourceforge.net/openutils/?rev=314&view=rev Author: fgiust Date: 2007-03-05 02:59:55 -0800 (Mon, 05 Mar 2007) Log Message: ----------- don't print out value attribute for file fields Modified Paths: -------------- trunk/openutils-tags-spring/src/main/resources/META-INF/tags/ou/input.tag 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-03-03 11:18:23 UTC (rev 313) +++ trunk/openutils-tags-spring/src/main/resources/META-INF/tags/ou/input.tag 2007-03-05 10:59:55 UTC (rev 314) @@ -50,7 +50,8 @@ </c:choose> </c:if> <c:if test="${type == 'hidden'}"> - <c:set var="bare" value="${true}" /><!-- don't show labels for hidden fields --> + <c:set var="bare" value="${true}" /> + <!-- don't show labels for hidden fields --> </c:if> <c:if test="${type == 'date'}"> <c:set var="type" value="text" /> @@ -83,7 +84,9 @@ </c:choose> <!-- stampa campi --> <c:choose> - <c:when test="${donothing}"><!-- don't print anything --></c:when> + <c:when test="${donothing}"> + <!-- don't print anything --> + </c:when> <c:when test="${!nobind}"> <spring:bind path="${path}"> <c:if test="${type == 'checkbox'}"></c:if> @@ -94,6 +97,9 @@ </c:if> <c:set var="value" value="${true}" /> </c:when> + <c:when test="${type == 'file'}"> + <c:set var="value" value="" /> + </c:when> <c:otherwise> <c:set var="value" value="${status.value}" /> </c:otherwise> @@ -158,7 +164,8 @@ </c:choose> </spring:bind> </c:when> - <c:otherwise><!-- no spring binding --> + <c:otherwise> + <!-- no spring binding --> <c:choose> <c:when test="${bare}"> <ou:txtinput type="${type}" name="${name}" value="${status.value}" cssclass="${cssclass}" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |