List of Listings
Chapter 1. An introduction to Play
Chapter 3. A basic CRUD application
Listing 3.1. Adding action methods
Listing 3.2. Adding routes for our product catalog
Listing 3.3. /app/models/Product.java
Listing 3.4. Adding some test data to /app/models/Product.java
Listing 3.5. Data access methods on the Products class
Listing 3.6. /app/views/products/list.scala.html
Listing 3.7. for loop generating the product descriptions
Listing 3.8. Rendering the list template
Listing 3.9. Product form /app/views/products/details.scala.html
Listing 3.10. Rendered input elements
Listing 3.12. Adding a pattern constraint
Get Play for Java now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.