%@ 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="net.sf.click.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.htmWhen pages are configured to use automapping the ClickServlet will automatically associated the file path customer-table.jsp with the page class CustomerTable.