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:37 UTC

svn commit: r1679054 - /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/editSchedule.jsp

Author: batkinson
Date: Tue May 12 20:36:37 2015
New Revision: 1679054

URL: http://svn.apache.org/r1679054
Log:
Migrated edit schedule page from jstl to struts tags.

Modified:
    continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/editSchedule.jsp

Modified: continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/editSchedule.jsp
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/editSchedule.jsp?rev=1679054&r1=1679053&r2=1679054&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/editSchedule.jsp (original)
+++ continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/editSchedule.jsp Tue May 12 20:36:37 2015
@@ -17,7 +17,6 @@
   ~ under the License.
   --%>
 
-<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c'%>
 <%@ taglib uri="/struts-tags" prefix="s" %>
 <%@ taglib uri="continuum" prefix="c1" %>
 
@@ -34,13 +33,17 @@
     <div class="axial">
       <s:form action="saveSchedule" method="post" validate="false" name="scheduleForm">
         <s:hidden name="id"/>
-        <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>
             <s:textfield label="%{getText('schedule.name.label')}" name="name" requiredLabel="true" size="100">