Skip to content

Commit

Permalink
TRUNK-3449 - settings page using textarea(cherry picked from commit e…
Browse files Browse the repository at this point in the history
  • Loading branch information
sunbiz authored and dkayiwa committed Feb 19, 2013
1 parent c81a72c commit 6974111
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions webapp/src/main/webapp/WEB-INF/view/admin/maintenance/settings.jsp
Expand Up @@ -41,9 +41,18 @@
value="${ item.globalProperty }" />
</c:when>
<c:otherwise>
<form:input
path="settings[${status.index}].globalProperty.propertyValue"
size="50" maxlength="4000" /></td>
<c:choose>
<c:when test="${fn:length(item.globalProperty.propertyValue) > 20}">
<form:textarea
path="settings[${status.index}].globalProperty.propertyValue"
cols="50"/></td>
</c:when>
<c:otherwise>
<form:input
path="settings[${status.index}].globalProperty.propertyValue"
size="50" maxlength="4000" /></td>
</c:otherwise>
</c:choose>
</c:otherwise>
</c:choose>
<form:errors path="settings[${status.index}].globalProperty.propertyValue" cssClass="error"/>
Expand Down

0 comments on commit 6974111

Please sign in to comment.