Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

11. Clickable Data Tables

Besides the validated entity objects, another example of Seam behavioral data components is the clickable data table. A regular JSF data table displays a list of data objects, with each table row showing the contents of an object. A clickable data table has additional “action” columns in the table. Each action column contains buttons (or links) that enable you to operate on the entity data object corresponding to each row.

For instance, the fans.xhtml page in the integration example application shows an example of the clickable data table (see Figure 11.1., “Clickable data table in the fans.xhtml page”). The table displays all persons in the database, with each row representing a person. Each row also contains a clickable button that enables the user to delete the person represented by the row. In a general clickable data table, you can have multiple action buttons/links for each row.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint