You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@continuum.apache.org by ba...@apache.org on 2015/05/12 22:36:42 UTC
svn commit: r1679055 -
/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/projectGroupAdd.jsp
Author: batkinson
Date: Tue May 12 20:36:42 2015
New Revision: 1679055
URL: http://svn.apache.org/r1679055
Log:
Migrated add project group page from jstl to struts tags.
Modified:
continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/projectGroupAdd.jsp
Modified: continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/projectGroupAdd.jsp
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/projectGroupAdd.jsp?rev=1679055&r1=1679054&r2=1679055&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/projectGroupAdd.jsp (original)
+++ continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/projectGroupAdd.jsp Tue May 12 20:36:42 2015
@@ -30,13 +30,18 @@
<div class="axial">
<s:form action="addProjectGroup" method="post" validate="true">
- <c:if test="${!empty actionErrors}">
+
+ <s:if test="hasActionErrors()">
<div class="errormessage">
- <s:iterator value="actionErrors">
- <p><s:property/></p>
- </s:iterator>
+ <s:actionerror/>
+ </div>
+ </s:if>
+ <s:if test="hasActionMessages()">
+ <div class="warningmessage">
+ <s:actionmessage/>
</div>
- </c:if>
+ </s:if>
+
<table>
<tbody>
<s:textfield label="%{getText('projectGroup.name.label')}" name="name" requiredLabel="true" size="100"/>