- Revision
- 462
- Author
- mward
- Date
- 2007-12-11 08:11:39 -0600 (Tue, 11 Dec 2007)
Log Message
moved resources directory content into src/main/webapp for migration-example module
Added Paths
- trunk/examples/migration-example/src/main/webapp/calendar.jspx
- trunk/examples/migration-example/src/main/webapp/index.jsp
- trunk/examples/migration-example/src/main/webapp/struts-calendar.jsp
Removed Paths
Diff
Deleted: trunk/examples/migration-example/resources/calendar.jspx (461 => 462)
--- trunk/examples/migration-example/resources/calendar.jspx 2007-12-11 14:08:42 UTC (rev 461) +++ trunk/examples/migration-example/resources/calendar.jspx 2007-12-11 14:11:39 UTC (rev 462) @@ -1,53 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<html xmlns="http://www.w3.org/1999/xhtml" - xmlns:jsp="http://java.sun.com/JSP/Page" - xmlns:waffle="http://thoughtworks.com/java/waffle" - xmlns:fn="http://java.sun.com/jsp/jstl/functions" - xmlns:c="http://java.sun.com/jsp/jstl/core"> - -<jsp:directive.page contentType="text/html;charset=UTF-8"/> - - -<head> - <script src="" type="text/_javascript_"> - // keep this space - </script> -</head> - -<form action="" method="post"> - <table id="tableRow" cellpadding="0" cellspacing="0" border="0"> - <tr> - <th><select name="language"> - <c:forEach var="language" items="${action.languages}" - varStatus="status"> - <c:choose> - <c:when test="${language == action.language}"> - <option value="${language.value}" selected="true">${language.label}</option> - </c:when> - <c:otherwise> - <option value="${language.value}">${language.label}</option> - </c:otherwise> - </c:choose> - </c:forEach> - </select></th> - </tr> - <tr> - <th><select name="year"> - <c:forEach var="year" items="${action.years}" varStatus="status"> - <option value="${year.value}">${year.label}</option> - </c:forEach> - </select></th> - </tr> - </table> - <a href="" - Months</a></form> - -<table> - <c:forEach var="month" items="${action.months}" varStatus="status"> - <tr> - <td>${month.displayName}</td> - <td>${month.year}</td> - </tr> - </c:forEach> -</table> -</html>
Deleted: trunk/examples/migration-example/resources/index.jsp (461 => 462)
--- trunk/examples/migration-example/resources/index.jsp 2007-12-11 14:08:42 UTC (rev 461) +++ trunk/examples/migration-example/resources/index.jsp 2007-12-11 14:11:39 UTC (rev 462) @@ -1 +0,0 @@ -<jsp:forward page="/calendar.action"/> \ No newline at end of file
Deleted: trunk/examples/migration-example/resources/struts-calendar.jsp (461 => 462)
--- trunk/examples/migration-example/resources/struts-calendar.jsp 2007-12-11 14:08:42 UTC (rev 461) +++ trunk/examples/migration-example/resources/struts-calendar.jsp 2007-12-11 14:11:39 UTC (rev 462) @@ -1,58 +0,0 @@ -<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %> -<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %> -<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %> - -<div> - <html:form action="" - <html:hidden property="action" value=""/> - <html:hidden property="actionTarget" value=""/> - <td colspan="2" style="width:50%"> - <table id="tableRow" cellpadding="0" cellspacing="0" border="0"> - <tr> - <th> - <html:select property="language"> - <html:optionsCollection property="languages" label="label" - value="value"/> - </html:select> - </th> - </tr> - <tr> - <th> - <html:select property="year"> - <html:optionsCollection property="years" label="label" value="value"/> - </html:select> - </th> - </tr> - </table> - </td> - <td> - <html:submit - - </td> - </html:form> - <logic:present name="calendarForm" property="months"> - <table id="tableContent" cellpadding="0" cellspacing="0" border="0"> - <thead> - <tr> - <td>Months</td> - </tr> - </thead> - <tbody> - <logic:iterate id="month" name="calendarForm" property="months"> - <tr> - <td align="center"> - <bean:write name="month" - property="displayName"/> - </td> - <td align="center"> - <bean:write name="month" - property="year"/> - </td> - </tr> - </logic:iterate> - </tbody> - </table> - - - </logic:present> -</div>
Copied: trunk/examples/migration-example/src/main/webapp/calendar.jspx (from rev 460, trunk/examples/migration-example/resources/calendar.jspx) (0 => 462)
--- trunk/examples/migration-example/src/main/webapp/calendar.jspx (rev 0) +++ trunk/examples/migration-example/src/main/webapp/calendar.jspx 2007-12-11 14:11:39 UTC (rev 462) @@ -0,0 +1,53 @@ +<?xml version="1.0" encoding="UTF-8"?> +<html xmlns="http://www.w3.org/1999/xhtml" + xmlns:jsp="http://java.sun.com/JSP/Page" + xmlns:waffle="http://thoughtworks.com/java/waffle" + xmlns:fn="http://java.sun.com/jsp/jstl/functions" + xmlns:c="http://java.sun.com/jsp/jstl/core"> + +<jsp:directive.page contentType="text/html;charset=UTF-8"/> + + +<head> + <script src="" type="text/_javascript_"> + // keep this space + </script> +</head> + +<form action="" method="post"> + <table id="tableRow" cellpadding="0" cellspacing="0" border="0"> + <tr> + <th><select name="language"> + <c:forEach var="language" items="${action.languages}" + varStatus="status"> + <c:choose> + <c:when test="${language == action.language}"> + <option value="${language.value}" selected="true">${language.label}</option> + </c:when> + <c:otherwise> + <option value="${language.value}">${language.label}</option> + </c:otherwise> + </c:choose> + </c:forEach> + </select></th> + </tr> + <tr> + <th><select name="year"> + <c:forEach var="year" items="${action.years}" varStatus="status"> + <option value="${year.value}">${year.label}</option> + </c:forEach> + </select></th> + </tr> + </table> + <a href="" + Months</a></form> + +<table> + <c:forEach var="month" items="${action.months}" varStatus="status"> + <tr> + <td>${month.displayName}</td> + <td>${month.year}</td> + </tr> + </c:forEach> +</table> +</html>
Copied: trunk/examples/migration-example/src/main/webapp/index.jsp (from rev 460, trunk/examples/migration-example/resources/index.jsp) (0 => 462)
--- trunk/examples/migration-example/src/main/webapp/index.jsp (rev 0) +++ trunk/examples/migration-example/src/main/webapp/index.jsp 2007-12-11 14:11:39 UTC (rev 462) @@ -0,0 +1 @@ +<jsp:forward page="/calendar.action"/> \ No newline at end of file
Copied: trunk/examples/migration-example/src/main/webapp/struts-calendar.jsp (from rev 460, trunk/examples/migration-example/resources/struts-calendar.jsp) (0 => 462)
--- trunk/examples/migration-example/src/main/webapp/struts-calendar.jsp (rev 0) +++ trunk/examples/migration-example/src/main/webapp/struts-calendar.jsp 2007-12-11 14:11:39 UTC (rev 462) @@ -0,0 +1,58 @@ +<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %> +<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %> +<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %> + +<div> + <html:form action="" + <html:hidden property="action" value=""/> + <html:hidden property="actionTarget" value=""/> + <td colspan="2" style="width:50%"> + <table id="tableRow" cellpadding="0" cellspacing="0" border="0"> + <tr> + <th> + <html:select property="language"> + <html:optionsCollection property="languages" label="label" + value="value"/> + </html:select> + </th> + </tr> + <tr> + <th> + <html:select property="year"> + <html:optionsCollection property="years" label="label" value="value"/> + </html:select> + </th> + </tr> + </table> + </td> + <td> + <html:submit + + </td> + </html:form> + <logic:present name="calendarForm" property="months"> + <table id="tableContent" cellpadding="0" cellspacing="0" border="0"> + <thead> + <tr> + <td>Months</td> + </tr> + </thead> + <tbody> + <logic:iterate id="month" name="calendarForm" property="months"> + <tr> + <td align="center"> + <bean:write name="month" + property="displayName"/> + </td> + <td align="center"> + <bean:write name="month" + property="year"/> + </td> + </tr> + </logic:iterate> + </tbody> + </table> + + + </logic:present> +</div>
To unsubscribe from this list please visit:
