From: <fg...@us...> - 2007-02-11 17:22:28
|
Revision: 240 http://svn.sourceforge.net/openutils/?rev=240&view=rev Author: fgiust Date: 2007-02-11 09:22:27 -0800 (Sun, 11 Feb 2007) Log Message: ----------- add specific class to formelement div 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-11 09:39:48 UTC (rev 239) +++ trunk/openutils-tags-spring/src/main/resources/META-INF/tags/ou/input.tag 2007-02-11 17:22:27 UTC (rev 240) @@ -50,7 +50,9 @@ <c:if test="${maxlength ge 256}"> <c:set var="type" value="textarea" /> </c:if> - <c:set var="divclass">formelement</c:set> + <c:set var="divclass"> + <jsp:text>formelement formelement${type}</jsp:text> + </c:set> <c:set var="cssclass"> <jsp:text>${type} ${cssclass}</jsp:text> <c:if test="${readonly}">${elx:space()}readonly</c:if> @@ -70,7 +72,7 @@ <c:when test="${!nobind}"> <spring:bind path="${path}"> <c:set var="divclass"> - <jsp:text>formelement</jsp:text> + <jsp:text>${divclass}</jsp:text> <c:if test="${!empty(status.errorMessage)}">${elx:space()}formelementerror</c:if> </c:set> <c:choose> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |