Open source reader

Friday, June 23, 2006

An *alternative* to the displayTag

Here it is

The eXtremeTable takes a Collection of Beans or a Collection of Maps out of a given servlet scope and renders the content on the JSP. The order the servlet scopes will be searched is page, request, session, and application. The eXtremeTable knows what to pull out of the servlet scope because you specify the items attribute on the TableTag.

The Beans in the Collection are plain old java objects (POJO) where each attribute has a corresponding getter and setter method. If using maps the attributes would be name-value pairs. You can think of each bean as being one row in the table display. For the remainder of the documentation I may refer to the Collection of Beans and Collection of Maps as just a Collection of Beans to keep down on the amount of typing.

Happy coding !

0 Comments:

Post a Comment

<< Home