From: <fg...@us...> - 2007-02-18 16:26:07
|
Revision: 272 http://svn.sourceforge.net/openutils/?rev=272&view=rev Author: fgiust Date: 2007-02-18 08:26:08 -0800 (Sun, 18 Feb 2007) Log Message: ----------- fix style when type is not defined 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-02-18 14:24:05 UTC (rev 271) +++ trunk/openutils-tags-spring/src/main/resources/META-INF/tags/ou/input.tag 2007-02-18 16:26:08 UTC (rev 272) @@ -21,8 +21,11 @@ <jsp:directive.attribute name="onblur" required="false" /> <jsp:directive.attribute name="label" required="false" type="java.lang.String" /> <c:if test="${empty(key)}"> - <c:set var="key">${path}</c:set> + <c:set var="key" value="${path}" /> </c:if> + <c:if test="${empty(type)}"> + <c:set var="type" value="text" /> + </c:if> <c:if test="${empty(name)}"> <c:set var="name">${su:substringAfter(path, ".")}</c:set> </c:if> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |