Author: mrdon Date: Wed Nov 7 16:26:05 2007 New Revision: 592972 URL: http://svn.apache.org/viewvc?rev=592972&view=rev Log: Switching to jsp el rather than the property tag
Modified: struts/sandbox/trunk/struts2-rest-plugin/showcase/src/main/webapp/orders-index.jsp struts/sandbox/trunk/struts2-rest-plugin/showcase/src/main/webapp/orders-show.jsp Modified: struts/sandbox/trunk/struts2-rest-plugin/showcase/src/main/webapp/orders-index.jsp URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/struts2-rest-plugin/showcase/src/main/webapp/orders-index.jsp?rev=592972&r1=592971&r2=592972&view=diff ============================================================================== --- struts/sandbox/trunk/struts2-rest-plugin/showcase/src/main/webapp/orders-index.jsp (original) +++ struts/sandbox/trunk/struts2-rest-plugin/showcase/src/main/webapp/orders-index.jsp Wed Nov 7 16:26:05 2007 @@ -1,7 +1,7 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - + <[EMAIL PROTECTED] prefix="s" uri="/struts-tags" %> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> @@ -19,12 +19,12 @@ </tr> <s:iterator value="model"> <tr> - <td><s:property value="id" /></td> - <td><s:property value="clientName" /></td> - <td><s:property value="amount" /></td> - <td><a href="orders/<s:property value="id" />">View</a> | - <a href="orders/<s:property value="id" />/edit">Edit</a> | - <a href="orders/<s:property value="id" />/deleteConfirm">Delete</a></td> + <td>${id}</td> + <td>${clientName}</td> + <td>${amount}</td> + <td><a href="orders/${id}">View</a> | + <a href="orders/${id}/edit">Edit</a> | + <a href="orders/${id}/deleteConfirm">Delete</a></td> </tr> </s:iterator> </table> Modified: struts/sandbox/trunk/struts2-rest-plugin/showcase/src/main/webapp/orders-show.jsp URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/struts2-rest-plugin/showcase/src/main/webapp/orders-show.jsp?rev=592972&r1=592971&r2=592972&view=diff ============================================================================== --- struts/sandbox/trunk/struts2-rest-plugin/showcase/src/main/webapp/orders-show.jsp (original) +++ struts/sandbox/trunk/struts2-rest-plugin/showcase/src/main/webapp/orders-show.jsp Wed Nov 7 16:26:05 2007 @@ -6,21 +6,21 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> - <title>Order <s:property value="id" /></title> + <title>Order ${id}</title> </head> <body> <table> <tr> <th>ID</th> - <td><s:property value="id" /></td> + <td>${id}</td> </tr> <tr> <th>Client</th> - <td><s:property value="clientName" /></td> + <td>${clientName}</td> </tr> <tr> <th>Amount</th> - <td><s:property value="amount" /></td> + <td>${amount}</td> </tr> </table> <a href="../orders">Back to Orders</a>