- Revision
- 261
- Author
- fabio.kung
- Date
- 2007-07-13 13:19:44 -0500 (Fri, 13 Jul 2007)
Log Message
2 spaces identation and doctype added
Modified Paths
- trunk/examples/mydvds-example/resources/dvds.jspx
- trunk/examples/mydvds-example/resources/fielderrors.jspx
- trunk/examples/mydvds-example/resources/index.jspx
- trunk/examples/mydvds-example/resources/user-added.jspx
Diff
Modified: trunk/examples/mydvds-example/resources/dvds.jspx (260 => 261)
--- trunk/examples/mydvds-example/resources/dvds.jspx 2007-07-13 18:18:40 UTC (rev 260) +++ trunk/examples/mydvds-example/resources/dvds.jspx 2007-07-13 18:19:44 UTC (rev 261) @@ -1,75 +1,84 @@ -<html xmlns="http://www.w3.org/1999/xhtml" - xmlns:jsp="http://java.sun.com/JSP/Page" - xmlns:c="http://java.sun.com/jsp/jstl/core" - xmlns:fmt="http://java.sun.com/jsp/jstl/fmt" - xmlns:w="http://waffle.codehaus.org"> -<head> +<?xml version="1.0" encoding="UTF-8"?> +<jsp:root xmlns="http://www.w3.org/1999/xhtml" + xmlns:jsp="http://java.sun.com/JSP/Page" + xmlns:c="http://java.sun.com/jsp/jstl/core" + xmlns:fmt="http://java.sun.com/jsp/jstl/fmt" + xmlns:w="http://waffle.codehaus.org" + version="2.0"> + <jsp:directive.page contentType="text/html" pageEncoding="UTF-8"/> + <jsp:output doctype-public="-//W3C//DTD XHTML 1.1//EN" + doctype-root-element="html" + doctype-system="http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" + omit-xml-declaration="false"/> + <html> + <head> <link href="" type="text/css" rel="stylesheet"/> <script type="text/_javascript_" src="" <script type="text/_javascript_" src="" <script type="text/_javascript_" src="" <script type="text/_javascript_" src="" -</head> -<body> -<div id="site"> + </head> + <body> + <div id="site"> <h1 id="h1-marca"> - <a href="" src="" alt="waffle logo"/></a> + <a href="" src="" alt="waffle logo"/></a> </h1> <c:if test="${errors.errorMessageCount > 0}"> - <div class="errors"> - <c:forEach var="error" items="${errors.allErrorMessages}"> - <div class="error"> - ${error.message} - </div> - </c:forEach> - </div> + <div class="errors"> + <c:forEach var="error" items="${errors.allErrorMessages}"> + <div class="error"> + ${error.message} + </div> + </c:forEach> + </div> </c:if> <div class="box"> - <table> - <tr> - <td align="right"> - <a href="" key="logout"/></a> - </td> - </tr> - </table> + <table> + <tr> + <td align="right"> + <a href="" key="logout"/></a> + </td> + </tr> + </table> </div> <br/><br/> <div class="box"> - <h1>${passport.user.name}: <fmt:message key="your_dvds"/></h1> - <hr/> - <table> - <c:forEach var="dvd" items="${passport.user.dvds}"> - <tr> - <td>${dvd.title}</td> - <td>${dvd.description}</td> - <td><fmt:message key="${dvd.type}"/></td> - </tr> - </c:forEach> - </table> + <h1>${passport.user.name}: <fmt:message key="your_dvds"/></h1> + <hr/> + <table> + <c:forEach var="dvd" items="${passport.user.dvds}"> + <tr> + <td>${dvd.title}</td> + <td>${dvd.description}</td> + <td><fmt:message key="${dvd.type}"/></td> + </tr> + </c:forEach> + </table> </div> <br/><br/> <div class="box"> - <h1><fmt:message key="new_dvd"/></h1> - <hr/> - <w:form action="" method="post" border="0" type="table"> - <w:hidden name="method" value="save"/> - <w:text name="dvd.title"/> - <w:text name="dvd.description"/> - <!--<w:text name="file" type="file"/>--> - <w:selectTokens name="dvd.type" var="types" - tokens="MUSIC,MUSIC,VIDEO,VIDEO,GAME,GAME">${types}</w:selectTokens> - <w:submit value="add"/> - </w:form> + <h1><fmt:message key="new_dvd"/></h1> + <hr/> + <w:form action="" method="post" border="0" type="table"> + <w:hidden name="method" value="save"/> + <w:text name="dvd.title"/> + <w:text name="dvd.description"/> + <!--<w:text name="file" type="file"/>--> + <w:selectTokens name="dvd.type" var="types" + tokens="MUSIC,MUSIC,VIDEO,VIDEO,GAME,GAME">${types}</w:selectTokens> + <w:submit value="add"/> + </w:form> </div> <br/><br/> -</div> + </div> -</body> -</html> \ No newline at end of file + </body> + </html> +</jsp:root>
Modified: trunk/examples/mydvds-example/resources/fielderrors.jspx (260 => 261)
--- trunk/examples/mydvds-example/resources/fielderrors.jspx 2007-07-13 18:18:40 UTC (rev 260) +++ trunk/examples/mydvds-example/resources/fielderrors.jspx 2007-07-13 18:19:44 UTC (rev 261) @@ -1,7 +1,7 @@ <c:forEach items="${errors.allErrorMessages}" var="error" - xmlns:c="http://java.sun.com/jsp/jstl/core"> - <script type="text/_javascript_"> - $('${error.name}').value = '${error.value}'; - $('${error.name}').style.border = 'solid red 2px'; - </script> + xmlns:c="http://java.sun.com/jsp/jstl/core"> + <script type="text/_javascript_"> + $('${error.name}').value = '${error.value}'; + $('${error.name}').style.border = 'solid red 2px'; + </script> </c:forEach>
Modified: trunk/examples/mydvds-example/resources/index.jspx (260 => 261)
--- trunk/examples/mydvds-example/resources/index.jspx 2007-07-13 18:18:40 UTC (rev 260) +++ trunk/examples/mydvds-example/resources/index.jspx 2007-07-13 18:19:44 UTC (rev 261) @@ -1,58 +1,67 @@ -<html xmlns="http://www.w3.org/1999/xhtml" - xmlns:jsp="http://java.sun.com/JSP/Page" - xmlns:c="http://java.sun.com/jsp/jstl/core" - xmlns:fmt="http://java.sun.com/jsp/jstl/fmt" - xmlns:w="http://waffle.codehaus.org"> -<head> +<?xml version="1.0" encoding="UTF-8"?> +<jsp:root xmlns="http://www.w3.org/1999/xhtml" + xmlns:jsp="http://java.sun.com/JSP/Page" + xmlns:c="http://java.sun.com/jsp/jstl/core" + xmlns:fmt="http://java.sun.com/jsp/jstl/fmt" + xmlns:w="http://waffle.codehaus.org" + version="2.0"> + <jsp:directive.page contentType="text/html" pageEncoding="UTF-8"/> + <jsp:output doctype-public="-//W3C//DTD XHTML 1.1//EN" + doctype-root-element="html" + doctype-system="http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" + omit-xml-declaration="false"/> + <html> + <head> + <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/> <link href="" type="text/css" rel="stylesheet"/> <script type="text/_javascript_" src="" <script type="text/_javascript_" src="" <script type="text/_javascript_" src="" <script type="text/_javascript_" src="" -</head> -<body> -<div id="site"> + </head> + <body> + <div id="site"> <h1 id="h1-marca"> - <a href="" src="" alt="waffle logo"/></a> + <a href="" src="" alt="waffle logo"/></a> </h1> <c:if test="${not empty param.language}"> - <fmt:setLocale value="${param.language}" scope="session"/> + <fmt:setLocale value="${param.language}" scope="session"/> </c:if> <c:if test="${errors.errorMessageCount > 0}"> - <div id="error-box"> - <h1><fmt:message key="errors"/></h1> - <hr/> + <div id="error-box"> + <h1><fmt:message key="errors"/></h1> + <hr/> - <c:import url="" + <c:import url="" - </div> + </div> </c:if> <div class="box"> - <h1><fmt:message key="change_language"/></h1> - <hr/> - <a href="" src="" border="0" /></a> | - <a href="" src="" border="0"/></a> | - <a href="" src="" border="0"/></a> | - <a href="" src="" border="0"/></a> | - <a href="" src="" border="0"/></a> | - <a href="" src="" border="0"/></a> + <h1><fmt:message key="change_language"/></h1> + <hr/> + <a href="" src="" border="0" alt="DE"/></a> | + <a href="" src="" border="0" alt="GB"/></a> | + <a href="" src="" border="0" alt="US"/></a> | + <a href="" src="" border="0" alt="BR"/></a> | + <a href="" src="" border="0" alt="IT"/></a> | + <a href="" src="" border="0" alt="ES"/></a> </div> <br/><br/> <div class="box"> - <h1><fmt:message key="welcome"/></h1> - <hr/> + <h1><fmt:message key="welcome"/></h1> + <hr/> - <w:form action="" method="post" border="0" id="loginForm" type="table"> - <w:hidden name="method" value="login"/> - <w:text name="login" value="${login}"/> - <w:password name="password" value="${password}"/> - <w:submit/> - </w:form> + <w:form action="" method="post" border="0" id="loginForm" type="table"> + <w:hidden name="method" value="login"/> + <w:text name="login" value="${login}"/> + <w:password name="password" value="${password}"/> + <w:submit/> + </w:form> </div> @@ -60,18 +69,19 @@ <div class="box"> - <h1><fmt:message key="new_user"/></h1> - <hr/> + <h1><fmt:message key="new_user"/></h1> + <hr/> - <w:form action="" method="post" id="addUserForm" type="table"> - <w:hidden name="method" value="add"/> - <w:text name="name" value="${user.name}"/> - <w:text name="login" value="${user.login}"/> - <w:password name="password" value="${user.password}"/> - <w:submit/> - </w:form> + <w:form action="" method="post" id="addUserForm" type="table"> + <w:hidden name="method" value="add"/> + <w:text name="name" value="${user.name}"/> + <w:text name="login" value="${user.login}"/> + <w:password name="password" value="${user.password}"/> + <w:submit/> + </w:form> </div> -</div> -</body> -</html> + </div> + </body> + </html> +</jsp:root>
Modified: trunk/examples/mydvds-example/resources/user-added.jspx (260 => 261)
--- trunk/examples/mydvds-example/resources/user-added.jspx 2007-07-13 18:18:40 UTC (rev 260) +++ trunk/examples/mydvds-example/resources/user-added.jspx 2007-07-13 18:19:44 UTC (rev 261) @@ -1,26 +1,36 @@ -<html xmlns="http://www.w3.org/1999/xhtml" - xmlns:jsp="http://java.sun.com/JSP/Page" - xmlns:c="http://java.sun.com/jsp/jstl/core" - xmlns:fmt="http://java.sun.com/jsp/jstl/fmt" - xmlns:w="http://waffle.codehaus.org"> -<head> +<?xml version="1.0" encoding="UTF-8"?> +<jsp:root xmlns="http://www.w3.org/1999/xhtml" + xmlns:jsp="http://java.sun.com/JSP/Page" + xmlns:c="http://java.sun.com/jsp/jstl/core" + xmlns:fmt="http://java.sun.com/jsp/jstl/fmt" + xmlns:w="http://waffle.codehaus.org" + version="2.0"> + <jsp:directive.page contentType="text/html" pageEncoding="UTF-8"/> + <jsp:output doctype-public="-//W3C//DTD XHTML 1.1//EN" + doctype-root-element="html" + doctype-system="http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" + omit-xml-declaration="false"/> + <html> + <head> <link type="text/css" href="" rel="stylesheet"/> <script type="text/_javascript_" src="" <script type="text/_javascript_" src="" <script type="text/_javascript_" src="" <script type="text/_javascript_" src="" -</head> -<body> -<div id="site"> + </head> + <body> + <div id="site"> <h1 id="h1-marca"> - <a href="" src="" alt="waffle logo"/></a> + <a href="" src="" alt="waffle logo"/></a> </h1> <div class="box"> - <h2>User added successfully.</h2> - <c:url value="/index.jspx" var="loginPage"/> - <p><a href="" key="login_page"/></a></p> + <h2>User added successfully.</h2> + <c:url value="/index.jspx" var="loginPage"/> + + <p><a href="" key="login_page"/></a></p> </div> -</div> -</body> -</html> + </div> + </body> + </html> +</jsp:root>
To unsubscribe from this list please visit:
