%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1" import="java.util.List" import="net.sf.click.util.Format" import="examples.domain.Customer"%>
ID | Name | Age | Category | Portfolio | Date Joined | Active | |
---|---|---|---|---|---|---|---|
<%=customer.getId()%> | <%=customer.getName()%> | <%=format.email(customer.getEmail())%> | <%=customer.getAge()%> | <%=customer.getInvestments()%> | <%=format.currency(customer.getHoldings())%> | <%=format.date(customer.getDateJoined())%> | <% if (customer.getActive().booleanValue()) { %> <% } else { %> <% } %> |
The CustomerTable page is automatically mapped to the request
GET customer-table.htmby using an empty customer-table.htm file. When pages are configured to use automapping the ClickServlet will automatically associated the file path customer-table.htm with the page class CustomerTable.